Re: Streaming replication on win32, still broken

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Streaming replication on win32, still broken
Дата
Msg-id 4B7D10C8.5000301@enterprisedb.com
обсуждение исходный текст
Ответ на Re: Streaming replication on win32, still broken  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: Streaming replication on win32, still broken  (Fujii Masao <masao.fujii@gmail.com>)
Список pgsql-hackers
Magnus Hagander wrote:
> O_DIRECT helps us when we're not going to read the file again, because
> we don't waste cache on it. If we are, which is the case here, it
> should be really bad for performance, since we actually have to do a
> physical read.
> 
> Incidentally, that should also apply to general WAL when archive_mdoe
> is on. Do we optimize for that?

Hmm, no we don't. We do take that into account so that we refrain from
issuing posix_fadvice(DONTNEED) if archive_mode is on, but we don't
disable O_DIRECT. Maybe we should..

--  Heikki Linnakangas EnterpriseDB   http://www.enterprisedb.com


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: A thought: should we run pgindent now?
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Streaming replication and unfit messages