Re: win32 performance - fsync question

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas DAZ SD
Тема Re: win32 performance - fsync question
Дата
Msg-id 46C15C39FEB2C44BA555E356FBCD6FA40184D2FF@m0114.s-mxs.net
обсуждение исходный текст
Ответ на win32 performance - fsync question  ("E.Rodichev" <er@sai.msu.su>)
Список pgsql-hackers
> One point that I no longer recall the reasoning behind is that xlog.c
> doesn't think O_SYNC is a preferable default over fsync.

For larger (>8k) transactions O_SYNC|O_DIRECT is only good with the recent
pending patch to group WAL writes together. The fsync method gives the OS a
chance to do the grouping. (Of course it does not matter if you have small
tx < 8k WAL)

Andreas


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: UTF8 or Unicode
Следующее
От: Oliver Jowett
Дата:
Сообщение: Re: UTF8 or Unicode