pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Curt Sampson <cjs@cynic.net>
Cc: Kevin Brown <kevin@sysexperts.com>
Cc: pgsql-hackers@postgresql.org
Subject: Re: WAL replay logic (was Re: [PERFORM] Mount options for Ext3?)
Date: Sat, 25 Jan 2003 11:16:12 -0500
Message-ID: <10916.1043511372@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.NEB.4.51.0301251655010.596@angelic.cynic.net>
References: <200301241120.14404.josh@agliodbs.com>
	<20030125003011.GA28252@filer>
	<28176.1043457408@sss.pgh.pa.us>
	<20030125021159.GC28252@filer>
	<1260.1043463535@sss.pgh.pa.us>
	<20030125041319.GE28252@filer>
	<6917.1043473233@sss.pgh.pa.us>
	<Pine.NEB.4.51.0301251655010.596@angelic.cynic.net>

Curt Sampson <cjs@cynic.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



view thread (7+ messages)  latest in thread

Message-ID: <10916.1043511372@sss.pgh.pa.us>
Permalink:  ../10916.1043511372@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/10916.1043511372@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, cjs@cynic.net, kevin@sysexperts.com, pgsql-hackers@postgresql.org
  Subject: Re: WAL replay logic (was Re: [PERFORM] Mount options for Ext3?)
  In-Reply-To: <10916.1043511372@sss.pgh.pa.us>
  References: <200301241120.14404.josh@agliodbs.com> <20030125003011.GA28252@filer> <28176.1043457408@sss.pgh.pa.us> <20030125021159.GC28252@filer> <1260.1043463535@sss.pgh.pa.us> <20030125041319.GE28252@filer> <6917.1043473233@sss.pgh.pa.us> <Pine.NEB.4.51.0301251655010.596@angelic.cynic.net> <10916.1043511372@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox