Re: Defaulting wal_sync_method to fdatasync on Linux for 9.1?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Defaulting wal_sync_method to fdatasync on Linux for 9.1?
Дата
Msg-id 11392.1289956663@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Defaulting wal_sync_method to fdatasync on Linux for 9.1?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
I wrote:
> The fsync is associated with the write, which is not done with insert
> lock held.  We're not quite that dumb.

But wait --- are you thinking of the call path where a write (and
possible fsync) is forced during AdvanceXLInsertBuffer because there's
no WAL buffer space left?  If so, that's *exactly* the scenario that
can be expected to be less common with more buffer space.

            regards, tom lane

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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Defaulting wal_sync_method to fdatasync on Linux for 9.1?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Defaulting wal_sync_method to fdatasync on Linux for 9.1?