Re: WAL replay logic (was Re: [PERFORM] Mount options for

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Curt Sampson <cjs(at)cynic(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: WAL replay logic (was Re: [PERFORM] Mount options for
Date: 2003-02-18 19:08:16
Message-ID: 200302181908.h1IJ8Ge19074@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-performance


Uh, not sure. Does it guard against corrupt WAL records?

---------------------------------------------------------------------------

Curt Sampson wrote:
> On Tue, 18 Feb 2003, Bruce Momjian wrote:
>
> >
> > Added to TODO:
> >
> > * Allow WAL information to recover corrupted pg_controldata
> >...
> > > Using pg_control to get the checkpoint position speeds up the
> > > recovery process, but to handle possible corruption of pg_control,
> > > we should actually implement the reading of existing log segments
> > > in reverse order -- newest to oldest -- in order to find the last
> > > checkpoint. This has not been implemented, yet.
>
> So if you do this, do you still need to store that information in
> pg_control at all?
>
> cjs
> --
> Curt Sampson <cjs(at)cynic(dot)net> +81 90 7737 2974 http://www.netbsd.org
> Don't you know, in this new Dark Age, we're all light. --XTC
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Mikheev, Vadim 2003-02-18 19:15:25 Re: WAL replay logic (was Re: [PERFORM] Mount options f
Previous Message Peter Eisentraut 2003-02-18 19:02:56 Re: postgresql and oracle, compatibility assessment

Browse pgsql-performance by date

  From Date Subject
Next Message Keith Bottner 2003-02-18 19:48:19 Performance Baseline Script
Previous Message Josh Berkus 2003-02-18 17:37:20 Re: Questions about indexes?