pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Sullivan <andrew@libertyrms.info>
To: pgsql-admin@postgresql.org
Subject: Re: fsync or fdatasync
Date: Mon, 9 Sep 2002 12:30:25 -0400
Message-ID: <20020909123025.I15959@mail.libertyrms.com> (raw)
In-Reply-To: <alhp3l$11j9$1@news.hub.org>
References: <alhp3l$11j9$1@news.hub.org>

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




view thread (26+ messages)  latest in thread

Message-ID: <20020909123025.I15959@mail.libertyrms.com>
Permalink:  ../20020909123025.I15959@mail.libertyrms.com/
Also on:    postgresql.org/message-id/20020909123025.I15959@mail.libertyrms.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: andrew@libertyrms.info
  Subject: Re: fsync or fdatasync
  In-Reply-To: <20020909123025.I15959@mail.libertyrms.com>
  References: <alhp3l$11j9$1@news.hub.org> <20020909123025.I15959@mail.libertyrms.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox