From: | Andrew Sullivan <andrew(at)libertyrms(dot)info> |
---|---|
To: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: fsync or fdatasync |
Date: | 2002-09-09 16:30:25 |
Message-ID: | 20020909123025.I15959@mail.libertyrms.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)libertyrms(dot)info> M2P 2A8
+1 416 646 3304 x110
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2002-09-09 16:50:51 | Re: fsync or fdatasync |
Previous Message | Dmitry Morozovsky | 2002-09-09 16:07:01 | Re: fsync or fdatasync |