Re: Disable page writes when fsync off, add GUC

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Disable page writes when fsync off, add GUC
Дата
Msg-id 200507041604.j64G4tq13297@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Disable page writes when fsync off, add GUC  (Peter Eisentraut <peter_e@gmx.net>)
Список 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Disable page writes when fsync off, add GUC
Следующее
От: Robert Treat
Дата:
Сообщение: Re: [HACKERS] Dbsize backend integration