Re: Disable page writes when fsync off, add GUC

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Disable page writes when fsync off, add GUC
Date: 2005-07-04 16:00:49
Message-ID: 200507041800.49660.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Bruce Momjian wrote:
> This patch disables page writes to WAL when fsync is off, because
> with no fsync guarantee, the page write recovery isn't useful.
>
> This also adds a full_page_writes GUC to turn off page writes to WAL.
> Some people might not want full_page_writes, but still might want
> fsync.

Do you have some numbers to suggest that there is a performance benefit
to be had?

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2005-07-04 16:04:55 Re: Disable page writes when fsync off, add GUC
Previous Message Peter Eisentraut 2005-07-04 15:58:27 Re: [PATCHES] HEAD doesn't cope with libraries in non-default

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2005-07-04 16:04:55 Re: Disable page writes when fsync off, add GUC
Previous Message Peter Eisentraut 2005-07-04 15:58:27 Re: [PATCHES] HEAD doesn't cope with libraries in non-default