Re: Possible causes for database corruption and solutions - Mailing list pgsql-general

From Michael Clark
Subject Re: Possible causes for database corruption and solutions
Date
Msg-id bf5d83510912161006u393facd4wa773271b76cad80c@mail.gmail.com
Whole thread Raw
In response to Re: Possible causes for database corruption and solutions  (Greg Smith <greg@2ndquadrant.com>)
Responses Re: Possible causes for database corruption and solutions  (Greg Smith <greg@2ndquadrant.com>)
List pgsql-general
On Wed, Dec 16, 2009 at 11:25 AM, Greg Smith <greg@2ndquadrant.com> wrote:
Florian Weimer wrote:
I hope that Mac OS X turns off write caches on low battery.
 

I've never heard of such a thing.  The best you can do is try to push the system into hibernation instead of going down hard.  That *should* clear any disk caches as part of the graceful shutdown.  But you're relying on a relatively fragile system now, once the battery is quite low who knows if that will even execute in the window of time you have left.


And at this point it is not unreasonable to expect the user to perform some sort of action. Shutdown before the power completely dies, or plug in the power.


pgsql-general by date:

Previous
From: Sam Mason
Date:
Subject: Re: Slow select
Next
From: Mihamina Rakotomandimby
Date:
Subject: Re: Counts and percentages and such