From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Doug McNaught <doug(at)wireboard(dot)com> |
Cc: | Jeff Davis <list-pgsql-general(at)dynworks(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: TIP 4: Don't 'kill -9' the postmaster |
Date: | 2002-02-08 16:27:21 |
Message-ID: | 200202081627.g18GRLE00432@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Doug McNaught wrote:
> Jeff Davis <list-pgsql-general(at)dynworks(dot)com> writes:
>
> > TIP 4: Don't 'kill -9' the postmaster
> >
> > My impression of 7.2 (and probably earlier releases as well) is that you're
> > data is secure as long as your disks can read/write properly, because of all
> > the WAL work. I would like to think that my databases would be in good shape
> > even in the event of a power failure or a 'kill -9'. Is this the case? Under
> > what known circumstances might data be corrupted? I am mostly concerned with
> > 7.2, since I plan to upgrade all of my servers anyway, but info about 7.1.x
> > would be helpful.
>
> WAL does seem to have made things pretty robust.
>
> The tip is directed at those people for whom 'kill -9' is the first
> resort, not the last. ;) Clean shutdown is *always* better than
> unclean if you can manage it.
Yes, I believe that is the point. No reason to yank things out from
under the system. Also, I believe a clean shutdown may cause you to lose
fewer transactions because it gives things a little time to settle down
before stopping.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Meskes | 2002-02-08 16:31:06 | Re: Debian package for pgsql-7.1.3 |
Previous Message | Jason Earl | 2002-02-08 16:24:44 | Re: Debian package for pgsql-7.1.3 |