From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Scott Marlowe <smarlowe(at)g2switchworks(dot)com> |
Cc: | codeWarrior <gpatnude(at)hotmail(dot)com>, pgsql-admin(at)postgresql(dot)org |
Subject: | Re: Urgent! |
Date: | 2005-10-13 16:23:44 |
Message-ID: | 200510131623.j9DGNiw07035@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Scott Marlowe wrote:
> On Thu, 2005-10-13 at 10:56, Bruce Momjian wrote:
> > codeWarrior wrote:
> > > Lookas as if you've managed to turn off your computer mid-transaction
> > > thereby corrupting the postgreSQL commit logs (pg_clog)...
> > >
> > > You should never just turn off a database server... always shut it down
> > > normally... Turning it off was a major mistake. I dont know if you can
> > > recover or not as the system (postgreSQL) now thinks it is in the middle of
> > > a transaction...
> >
> > PostgreSQL should never get corrupted by turning off the server. It
> > isn't ideal to do that, but it should not get corrupted.
>
> Unless it is installed on hardware that lies about fsync.
>
> Which almost all ATA drives, parallel and serial, do, sadly.
Ah, yes, that one. We do have a section in the 8.1 beta docs about that
which will help in the future:
http://candle.pha.pa.us/main/writings/pgsql/sgml/reliability.html
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Scott Marlowe | 2005-10-13 16:29:58 | Re: Urgent! |
Previous Message | Scott Marlowe | 2005-10-13 16:21:24 | Re: Urgent! |