Re: Excessive (and slow) fsync() within single transaction

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Excessive (and slow) fsync() within single transaction
Дата
Msg-id 18153.1260320601@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Excessive (and slow) fsync() within single transaction  (Stephen Tyler <stephen@stephen-tyler.com>)
Список pgsql-general
Stephen Tyler <stephen@stephen-tyler.com> writes:
> My expectation would be that postgresql would issue an fsync() (or perhaps a
> few such calls) at the end of the transaction.  But this does not seem to be
> the case:

fsyncs mostly happen as a result of checkpoint activity.  I wonder
whether you have done any tuning of checkpoint intervals,
shared_buffers, etc.

The very long times to complete the fsyncs sound like a kernel or driver
issue; not much we can do to help you with that.

            regards, tom lane

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