Re: WAL replay logic (was Re: [PERFORM] Mount options f - Mailing list pgsql-hackers

From Mikheev, Vadim
Subject Re: WAL replay logic (was Re: [PERFORM] Mount options f
Date
Msg-id 3705826352029646A3E91C53F7189E32518782@sectorbase2.sectorbase.com
Whole thread Raw
Responses Re: WAL replay logic (was Re: [PERFORM] Mount options f  (Curt Sampson <cjs@cynic.net>)
List 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


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: WAL replay logic (was Re: [PERFORM] Mount options for
Next
From: Greg Copeland
Date:
Subject: Re: Detecting corrupted pages earlier