Re: fsync or fdatasync

Поиск
Список
Период
Сортировка
От Andrew Sullivan
Тема Re: fsync or fdatasync
Дата
Msg-id 20020909123025.I15959@mail.libertyrms.com
обсуждение исходный текст
Ответ на fsync or fdatasync  ("Gaetano Mendola" <mendola@bigfoot.com>)
Список pgsql-admin
On Mon, Sep 09, 2002 at 11:19:50AM +0200, Gaetano Mendola wrote:
> Hi all,
> apparently the default value for wal_sync_method is fsync,
> and apparently the best method is fdatasync.
                     ^^^^^^^^^^
On which platform?  There are all sorts of variables to consider
here, most notably whether the given platform happens to support
fdatasync.

I have found that on some platforms, open_datasync is faster than
anything.

But you can certainly use fdatasync if your platform supports it.

A

--
----
Andrew Sullivan                         204-4141 Yonge Street
Liberty RMS                           Toronto, Ontario Canada
<andrew@libertyrms.info>                              M2P 2A8
                                         +1 416 646 3304 x110


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

Предыдущее
От: Dmitry Morozovsky
Дата:
Сообщение: Re: fsync or fdatasync
Следующее
От: Tom Lane
Дата:
Сообщение: Re: fsync or fdatasync