Re: Spreading full-page writes - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Spreading full-page writes
Date
Msg-id 81D16E69-BA9C-45FF-97B7-DFF756C489B8@gmail.com
Whole thread Raw
In response to Spreading full-page writes  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Responses Re: Spreading full-page writes
List pgsql-hackers
On May 25, 2014, at 5:52 PM, Heikki Linnakangas <hlinnakangas@vmware.com> wrote:
> Here's how this works out during replay:
>
> a) You start WAL replay from the latest checkpoint's Redo-pointer.
>
> When you see a WAL record that's been marked with XLR_FPW_SKIPPED, don't replay that record at all. It's OK because
weknow that there will be a separate record containing the full-page image of the page later in the stream. 

I don't think we know that. The server might have crashed before that second record got generated.  (This appears to be
anunfixable flaw in this proposal.) 

...Robert


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Re: popen and pclose redefinitions causing many warning in Windows build
Next
From: Heikki Linnakangas
Date:
Subject: Re: Spreading full-page writes