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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Curt Sampson <cjs(at)cynic(dot)net>
Cc: Kevin Brown <kevin(at)sysexperts(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: WAL replay logic (was Re: [PERFORM] Mount options for Ext3?)
Date: 2003-01-25 16:16:12
Message-ID: 10916.1043511372@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-performance

Curt Sampson <cjs(at)cynic(dot)net> writes:
> On Sat, 25 Jan 2003, Tom Lane wrote:
>> We'd have to take it on faith that we should replay the visible files
>> in their name order.

> Couldn't you could just put timestamp information at the beginning if
> each file,

Good thought --- there's already an xlp_pageaddr field on every page
of WAL, and you could examine that to be sure it matches the file name.
If not, the file csn be ignored.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-01-25 21:03:28 Re: [HACKERS] I am back
Previous Message Rod Taylor 2003-01-25 14:23:15 Re: [HACKERS] I am back

Browse pgsql-performance by date

  From Date Subject
Next Message Andrew Sullivan 2003-01-25 17:17:10 Re: Having trouble with backups (was: Re: Crash Recovery)
Previous Message Carlos Moreno 2003-01-25 15:22:51 Re: Having trouble with backups (was: Re: Crash Recovery)