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
Ответ на
Список
Дерево обсуждения
Disable page writes when fsync off, add GUC Bruce Momjian <pgman@candle.pha.pa.us>
Re: Disable page writes when fsync off, add GUC Stephen Frost <sfrost@snowman.net>
Re: Disable page writes when fsync off, add GUC Peter Eisentraut <peter_e@gmx.net>
Re: Disable page writes when fsync off, add GUC Bruce Momjian <pgman@candle.pha.pa.us>
Re: Disable page writes when fsync off, add GUC Bruce Momjian <pgman@candle.pha.pa.us>
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
Дата:
От: Robert Treat
Дата:
FAQ