Re: Disk corruption detection

From: "Qingqing Zhou" <zhouqq(at)cs(dot)toronto(dot)edu>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Disk corruption detection
Date: 2006-06-12 01:56:41
Message-ID: e6ihko$1eo3$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


"Florian Weimer" <fw(at)deneb(dot)enyo(dot)de> wrote
>
> Anyway, how would be the chances for PostgreSQL to detect such a
> corruption on a heap or index data file? It's typically hard to
> detect this at the application level, so I don't expect wonders. I'm
> just curious if using PostgreSQL would have helped to catch this
> sooner.
>

PostgreSQL will only detect these corruption when it uses that heap or index
page. So a safe way to is to dump/restore your database if you suspect there
is some inconsistency happened.

Regards,
Qingqing

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Qingqing Zhou 2006-06-12 02:01:43 Re: Ever increasing OIDs - gonna run out soon?
Previous Message Qingqing Zhou 2006-06-12 01:47:04 Re: Insert into partition table hangs