Re: Changing the default wal_sync_method to open_sync for Win32?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Changing the default wal_sync_method to open_sync for Win32?
Дата
Msg-id 20025.1111033569@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Changing the default wal_sync_method to open_sync for Win32?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Changing the default wal_sync_method to open_sync for  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Notice we never default to open_sync.  However, on Win32, Magnus got a
> 60% speedup by using open_sync, implemented using
> FILE_FLAG_WRITE_THROUGH.  Now, because this the fastest on Win32, I
> think we should default to open_sync on Win32.  The attached patch
> implements this.

... and breaks open_datasync for all other platforms ...

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Changing the default wal_sync_method to open_sync for Win32?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [pgsql-hackers-win32] win32 performance - fsync question