RE: Recovery of PGSQL after system crash failing!!!

From: Ryan Kirkpatrick <pgsql(at)rkirkpat(dot)net>
To: "Mikheev, Vadim" <vmikheev(at)SECTORBASE(dot)COM>
Cc: "'Zeugswetter Andreas SB'" <ZeugswetterA(at)wien(dot)spardat(dot)at>, Ryan Kirkpatrick <pgsql(at)rkirkpat(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: RE: Recovery of PGSQL after system crash failing!!!
Date: 2001-02-14 01:31:04
Message-ID: Pine.LNX.4.21.0102131828270.8073-100000@excelsior.rkirkpat.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, 13 Feb 2001, Mikheev, Vadim wrote:

> > Might it be, that pg_control is older than it should be ?
> > I mean, that the write to pg_control did not make it to disk,
> > but the checkpoint already completed (removed the logs) ?
>
> Well, WAL does *pg_fsync()* of pg_control before removing old
> logs, so it's only possible if Ryan run PG with -F (fsync = off).
> Ryan?

Guilty as charged I am afraind... :( Here, I though with WAL and
all (bad pun :), I would not need fsync anymore and decided to be
reckless. Guess I ought to reconsider that decision.... Though wasn't WAL
supposed to remove the need for fsync, or was it just to improve recovery
ablity?
Anyway, if that is root of the problem, very bad timing on a
system crash, then I will consider this problem solved. Thanks for
everyone's help.

---------------------------------------------------------------------------
| "For to me to live is Christ, and to die is gain." |
| --- Philippians 1:21 (KJV) |
---------------------------------------------------------------------------
| Ryan Kirkpatrick | Boulder, Colorado | http://www.rkirkpat.net/ |
---------------------------------------------------------------------------

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-02-14 02:40:07 Re: Re: Recovery of PGSQL after system crash failing!!!
Previous Message Thomas Lockhart 2001-02-14 01:09:15 Re: Recovery of PGSQL after system crash failing!!!