How to check if Postgresql files are OK

From: Nikhil G Daddikar <ngd(at)celoxis(dot)com>
To: Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: How to check if Postgresql files are OK
Date: 2013-05-28 04:47:50
Message-ID: 51A436F6.2060803@celoxis.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Folks,

I was using PostgreSQL 8.x in development environment when one day I
started getting all kinds of low-level errors while running queries and
eventually had to reinstall. Maybe it was salvageable but since it was a
test database anyway it didn't matter.

We use PostgreSQL 9 on our production server and I was wondering if
there there is a way to know when pages get corrupted. I see that there
is some kind of checksum maintained from 9.3 but till then is there a
way to be notified quickly when such a thing happens? I use a
basebackup+rsync of WAL files as a disaster recovery solution. Will this
be useful when such a scenario occurs?

Thanks.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Raghavendra 2013-05-28 04:51:20 Re: How to evaluate disk space needed by a table
Previous Message Stephen Frost 2013-05-28 04:42:04 Re: How to evaluate disk space needed by a table