From: Sean Chittenden <sean@chittenden.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Gaetano Mendola <mendola@bigfoot.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: fsync or fdatasync
Date: Mon, 9 Sep 2002 16:43:04 -0700
Message-ID: <20020909234304.GK26147@ninja1.internal> (raw)
In-Reply-To: <11753.1031590251@sss.pgh.pa.us>
References: <alhp3l$11j9$1@news.hub.org>
<11753.1031590251@sss.pgh.pa.us>
> > apparently the default value for wal_sync_method is fsync,
> > and apparently the best method is fdatasync.
>
> Best on what platform, and according to what evidence?
>
> We'll be glad to consider changing the default for a specific platform
> if we have a reasonably convincing argument that the other value is
> better. So far, not much study has been done of which method is best
> on which platforms (and under what load conditions).
heh, just a quick note: I had one of FreeBSD's kernel guru's point out
that fsync() on linux is a no-op. I haven't had that src tree in
years so I can't confirm, but I'm inclined to believe him. Just an
FYI. -sc
--
Sean Chittenden
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: sean@chittenden.org, tgl@sss.pgh.pa.us, mendola@bigfoot.com
Subject: Re: fsync or fdatasync
In-Reply-To: <20020909234304.GK26147@ninja1.internal>
References: <alhp3l$11j9$1@news.hub.org> <11753.1031590251@sss.pgh.pa.us> <20020909234304.GK26147@ninja1.internal>
* 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