Re: fsync or fdatasync

From: Sean Chittenden <sean(at)chittenden(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Gaetano Mendola <mendola(at)bigfoot(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: fsync or fdatasync
Date: 2002-09-09 23:43:04
Message-ID: 20020909234304.GK26147@ninja1.internal
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

> > 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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Ragnar Kjørstad 2002-09-09 23:52:08 Re: fsync or fdatasync
Previous Message Tom Lane 2002-09-09 20:42:52 Re: fsync or fdatasync