Re: Detecting DB corruption - Mailing list pgsql-admin

From Scott Ribe
Subject Re: Detecting DB corruption
Date
Msg-id F4929CDE-D583-4075-8061-4285E3D813C8@elevated-dev.com
Whole thread Raw
In response to Re: Detecting DB corruption  (Craig Ringer <ringerc@ringerc.id.au>)
Responses Re: Detecting DB corruption
List pgsql-admin
On Oct 31, 2012, at 8:50 PM, Craig Ringer wrote:

> Seriously, if you're facing DB corruption then something is already
> horribly wrong with your setup.

True, but. In a past life, complaints from the db (it was a db that stored a checksum with every block) were the very
firstsymptom when something went horribly wrong with the hardware. (Partial short between wires of an internal SCSI
cable;eventually we determined that about every 1MB, 1 bit would get flipped between the controller & disk.) 

So, if there were an official db verifier tool for PG, I for one would have it run periodically.

--
Scott Ribe
scott_ribe@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice






pgsql-admin by date:

Previous
From: Craig Ringer
Date:
Subject: Re: Detecting DB corruption
Next
From: Craig Ringer
Date:
Subject: Re: Detecting DB corruption