Re: sync vs. fsync question

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: sync vs. fsync question
Дата
Msg-id 200406010148.i511mxJ17994@candle.pha.pa.us
обсуждение исходный текст
Ответ на sync vs. fsync question  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Список pgsql-hackers
Christopher Kings-Lynne wrote:
> Hi,
> 
> I had this question posed to me on IRC and I didn't know the answer.
> 
> If all that is needed to ensure integrity is that the WAL is fsynced, 
> what is wrong with just going:
> 
> wal_sync_method = fsync
> fsync = false

wal_sync_method is only used if fsync is true.

--  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,
Pennsylvania19073
 


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

Предыдущее
От: Christopher Kings-Lynne
Дата:
Сообщение: sync vs. fsync question
Следующее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: Fast index build vs. PITR