Re: fsync or fdatasync - Mailing list pgsql-admin

From Andrew Sullivan
Subject Re: fsync or fdatasync
Date
Msg-id 20020909123025.I15959@mail.libertyrms.com
Whole thread Raw
In response to fsync or fdatasync  ("Gaetano Mendola" <mendola@bigfoot.com>)
List 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 by date:

Previous
From: Dmitry Morozovsky
Date:
Subject: Re: fsync or fdatasync
Next
From: Tom Lane
Date:
Subject: Re: fsync or fdatasync