Re: fsync or fdatasync

From: Dmitry Morozovsky <marck(at)rinet(dot)ru>
To: Gaetano Mendola <mendola(at)bigfoot(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: fsync or fdatasync
Date: 2002-09-09 16:07:01
Message-ID: 20020909200556.R53739-100000@woozle.rinet.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Mon, 9 Sep 2002, Gaetano Mendola wrote:

GM> apparently the default value for wal_sync_method is fsync,
GM> and apparently the best method is fdatasync.
GM> There is any special consideration for not use the fdatasync
GM> as default ?

#wal_sync_method = fsync # the default varies across platforms:
# # fsync, fdatasync, open_sync, or open_datasync

I suppose fdatasync *is* the default on platforms where it exists. On
*BSD it does not.

Sincerely,
D.Marck [DM5020, DM268-RIPE, DM3-RIPN]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck(at)rinet(dot)ru ***
------------------------------------------------------------------------

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Andrew Sullivan 2002-09-09 16:30:25 Re: fsync or fdatasync
Previous Message Stephan Szabo 2002-09-09 15:35:12 Re: fsync or fdatasync