Re: pgsql-server/src backend/storage/buffer/bufmgr ...

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: pgsql-server/src backend/storage/buffer/bufmgr ...
Дата
Msg-id 200401301041.i0UAfPk01658@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: pgsql-server/src backend/storage/buffer/bufmgr ...  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-committers
Tom Lane wrote:
> Jan Wieck <JanWieck@Yahoo.com> writes:
> > Now doing fsync() or fdatasync() of possibly dozens of files in a row,
> > forcing the kernel to do one scattered file after another, letting the
> > disk heads dance like step-chicken on a hot tin ... that will be an
> > improvement, oh boy.
>
> I'm not convinced it would be so bad.  Normally you'd only be issuing
> those operations at checkpoint time, and if the bgwriter has been doing

Agreed, I don't have a problem with fsync() during checkpoint instead of
sync.  I had problems with fsync from the background writer and
performance.  Let me post ideas to hackers & win32 list.

--
  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-committers по дате отправления:

Предыдущее
От: neilc@svr1.postgresql.org (Neil Conway)
Дата:
Сообщение: pgsql-server/src/bin/psql copy.c
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: pgsql-server/src backend/storage/buffer/bufmgr ...