Re: Disable page writes when fsync off, add GUC

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Disable page writes when fsync off, add GUC
Date: 2005-07-04 16:04:55
Message-ID: 200507041604.j64G4tq13297@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers 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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2005-07-04 16:31:30 New warnings in plgsql/src/scan.l
Previous Message Peter Eisentraut 2005-07-04 16:00:49 Re: Disable page writes when fsync off, add GUC

Browse pgsql-patches by date

  From Date Subject
Next Message Robert Treat 2005-07-04 17:21:17 Re: [HACKERS] Dbsize backend integration
Previous Message Peter Eisentraut 2005-07-04 16:00:49 Re: Disable page writes when fsync off, add GUC