Re: Disable page writes when fsync off, add GUC - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: Disable page writes when fsync off, add GUC
Date
Msg-id 200507041604.j64G4tq13297@candle.pha.pa.us
Whole thread Raw
In response to Re: Disable page writes when fsync off, add GUC  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-patches
Peter Eisentraut wrote:
> 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?

Josh reported page writes to be a big hit (which we already knew), but I
don't have any with fsync off, though it seems like a no-brainer.
However, I am thinking decoupling them is best.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-patches by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Disable page writes when fsync off, add GUC
Next
From: Robert Treat
Date:
Subject: Re: [HACKERS] Dbsize backend integration