Re: fsync or fdatasync - Mailing list pgsql-admin

From Sean Chittenden
Subject Re: fsync or fdatasync
Date
Msg-id 20020909234304.GK26147@ninja1.internal
Whole thread Raw
In response to Re: fsync or fdatasync  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: fsync or fdatasync  (Ragnar Kjørstad <postgres@ragnark.vestdata.no>)
List 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

Attachment

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: fsync or fdatasync
Next
From: Ragnar Kjørstad
Date:
Subject: Re: fsync or fdatasync