Re: Proposed LogWriter Scheme, WAS: Potential Large Performance Gain in WAL synching

Поиск
Список
Период
Сортировка
От Doug McNaught
Тема Re: Proposed LogWriter Scheme, WAS: Potential Large Performance Gain in WAL synching
Дата
Msg-id m38z1coqgo.fsf@varsoon.wireboard.com
обсуждение исходный текст
Ответ на Proposed LogWriter Scheme, WAS: Potential Large Performance Gain in WAL synching  ("Curtis Faith" <curtis@galtair.com>)
Список pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> writes:

> "Curtis Faith" <curtis@galtair.com> writes:

> > The log file would be opened O_DSYNC, O_APPEND every time.
> 
> Keep in mind that we support platforms without O_DSYNC.  I am not
> sure whether there are any that don't have O_SYNC either, but I am
> fairly sure that we measured O_SYNC to be slower than fsync()s on
> some platforms.

And don't we preallocate WAL files anyway?  So O_APPEND would be
irrelevant?

-Doug


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Proposed LogWriter Scheme, WAS: Potential Large Performance Gain in WAL synching
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Proposed LogWriter Scheme, WAS: Potential Large Performance