Re: Data corruption after SAN snapshot - Mailing list pgsql-admin

From Stephen Frost
Subject Re: Data corruption after SAN snapshot
Date
Msg-id 20120808013931.GO1267@tamriel.snowman.net
Whole thread Raw
In response to Re: Data corruption after SAN snapshot  (Terry Schmitt <tschmitt@schmittworks.com>)
Responses Re: Data corruption after SAN snapshot  (Craig Ringer <ringerc@ringerc.id.au>)
List pgsql-admin
Terry,

* Terry Schmitt (tschmitt@schmittworks.com) wrote:
> So far, executing pg_dumpall
> seems to be fairly reliable for finding the corrupt objects after my
> initial data load, but unfortunately much of the corruption has been with
> indexes which pgdump will not expose.

Shouldn't be too hard to write a script that'll do a query against each
table using an ORDER BY that matches each index, at least for 'simple'
indexes, which'll typically cause an in-order index traversal.

Just a thought.

    Thanks,

        Stephen

Attachment

pgsql-admin by date:

Previous
From: Terry Schmitt
Date:
Subject: Re: Data corruption after SAN snapshot
Next
From: Michael O'Donnell
Date:
Subject: PostgreSQL 9.0 authentication against LDAP/AD