Re: Experimental patch for inter-page delay in VACUUM

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: Experimental patch for inter-page delay in VACUUM
Дата
Msg-id 87llqoyr8o.fsf@mailbox.samurai.com
обсуждение исходный текст
Ответ на Re: Experimental patch for inter-page delay in VACUUM  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Experimental patch for inter-page delay in VACUUM
Re: Experimental patch for inter-page delay in VACUUM
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Another idea --- if fsync() is slow because it can't find the dirty
> buffers, use write() to write the buffers, copy the buffer to local
> memory, mark it as clean, then open the file with O_SYNC and write
> it again.

Yuck.

Do we have any idea how many kernels are out there that implement
fsync() as poorly as HPUX apparently does? I'm just wondering if we're
contemplating spending a whole lot of effort to work around a bug that
is only present on an (old?) version of HPUX. Do typical BSD derived
kernels exhibit this behavior? What about Linux? Solaris?

-Neil



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

Предыдущее
От: Robert Treat
Дата:
Сообщение: Re: What do you want me to do?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Experimental patch for inter-page delay in VACUUM