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

Mikheev, Vadim <vmikheev@sectordata.com>

From: "Mikheev, Vadim" <VMIKHEEV@sectordata.com>
To: "'Bruce Momjian'" <pgman@candle.pha.pa.us>, Curt Sampson <cjs@cynic.net>
Cc: pgsql-hackers@postgresql.org
Date: 2003-02-18T19:15:25Z
Lists: pgsql-hackers
> > > 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?

Yes: to "speeds up the recovery process".

Vadim


_____________________________________________________
Sector Data, LLC, is not affiliated with Sector, Inc., or SIAC