Re: Logical to physical page mapping - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: Logical to physical page mapping
Date
Msg-id CAEYLb_Wpvsb3+MQP7WR3fGPrFDWjkrewQb69mbtG+k4fTAejig@mail.gmail.com
Whole thread Raw
In response to Re: Logical to physical page mapping  (Jan Wieck <JanWieck@Yahoo.com>)
Responses Re: Logical to physical page mapping  (Jan Wieck <JanWieck@Yahoo.com>)
List pgsql-hackers
On 28 October 2012 22:35, Jan Wieck <JanWieck@yahoo.com> wrote:
> The amount of WAL generated with full_page_writes=on is quite substantial.
> For pgbench for example the ratio 20:1. Meaning with full_page_writes you
> write 20x the amount you do without.

Sure, but as always, pgbench pessimises everything by having writes
follow a uniform distribution, which is completely unrepresentative of
the natural world. This will literally maximise the number of pristine
full page images that need to be included. The actual frequency of
checkpoints is a crucial factor here too, and you didn't mention
anything about that.


-- 
Peter Geoghegan       http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training and Services



pgsql-hackers by date:

Previous
From: Josh Kupershmidt
Date:
Subject: Multiple --table options for other commands
Next
From: Jan Wieck
Date:
Subject: Re: Logical to physical page mapping