Re: Does fsync on/off for wal AND Checkpoint?

Поиск
Список
Период
Сортировка
От Andreas Karlsson
Тема Re: Does fsync on/off for wal AND Checkpoint?
Дата
Msg-id 52BDAA62.9000600@proxel.se
обсуждение исходный текст
Ответ на Does fsync on/off for wal AND Checkpoint?  (GR Vishwanath <grv144@gmail.com>)
Список pgsql-performance
On 12/27/2013 04:55 PM, GR Vishwanath wrote:
> Is fscnc off/on pertain only to writing WAL buffers to disk?
>
> Or is that also relevant to writing of dirty buffers to disk
> (checkpoint/bg)?
>
> Curious because in the docs fsync on/off is mentioned under WAL
> configuration.  Further there is a wal_sync_method but not a
> "checkpoint_sync_method".

The setting is for all uses of fsync within the PostgreSQL server, so if
you turn it off PostgreSQL should never issue fsync. The only exceptions
are some utility tools (eg. pg_basebackup) which do not read the
configuration file.

--
Andreas Karlsson


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

Предыдущее
От: GR Vishwanath
Дата:
Сообщение: Does fsync on/off for wal AND Checkpoint?
Следующее
От: Mark Kirkwood
Дата:
Сообщение: Re: query not using index