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

From: "Vadim Mikheev" <vmikheev(at)sectordata(dot)com>
To: "Curt Sampson" <cjs(at)cynic(dot)net>
Cc: "'Bruce Momjian'" <pgman(at)candle(dot)pha(dot)pa(dot)us>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: WAL replay logic (was Re: [PERFORM] Mount options f
Date: 2003-02-19 05:31:03
Message-ID: 002b01c2d7d8$18f655e0$15f5fea9@home
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Hiroshi Inoue 2003-02-19 06:06:53 Re: Detecting corrupted pages earlier
Previous Message Bruce Momjian 2003-02-19 05:27:38 Another trip