Re: Plug-pull testing worked, diskchecker.pl failed - Mailing list pgsql-general

From Jeff Janes
Subject Re: Plug-pull testing worked, diskchecker.pl failed
Date
Msg-id CAMkU=1wNX=64jTbvdkR23gUkE9hWTR4nF_-tiDSr70HXQ8zt4w@mail.gmail.com
Whole thread Raw
In response to Plug-pull testing worked, diskchecker.pl failed  (Chris Angelico <rosuav@gmail.com>)
Responses Re: Plug-pull testing worked, diskchecker.pl failed  (Chris Angelico <rosuav@gmail.com>)
List pgsql-general
On Mon, Oct 22, 2012 at 6:17 AM, Chris Angelico <rosuav@gmail.com> wrote:
> After reading the comments last week about SSDs, I did some testing of
> the ones we have at work - each of my test-boxes (three with SSDs, one
> with HDD) subjected to multiple stand-alone plug-pull tests, using
> pgbench to provide load. So far, there've been no instances of
> PostgreSQL data corruption, but diskchecker.pl reported huge numbers
> of errors.

What did you do to look for corruption?  That PosgreSQL succeeds at
going through crash-recovery and then starting up is not a good
indicator that there is no corruption.

Did you do something like compute the aggregates on pgbench_history
and compare those aggregates to the balances in the other 3 tables?

Cheers,

Jeff


pgsql-general by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: Revert TRUNCATE CASCADE?
Next
From: Chris Angelico
Date:
Subject: Re: Plug-pull testing worked, diskchecker.pl failed