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

From Vadim Mikheev
Subject Re: WAL replay logic (was Re: [PERFORM] Mount options f
Date
Msg-id 002b01c2d7d8$18f655e0$15f5fea9@home
Whole thread Raw
In response to Re: WAL replay logic (was Re: [PERFORM] Mount options f  ("Mikheev, Vadim" <VMIKHEEV@sectordata.com>)
List pgsql-hackers
> > > > 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".
>
> If it's going to slow down the performance of my database when not doing
> recovery (because I have to write two files for every transaction,
> rather than one)

Control file is not updated "for every transaction", only on a few special
events
like checkpoint.

Vadim




pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Another trip
Next
From: Hiroshi Inoue
Date:
Subject: Re: Detecting corrupted pages earlier