Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 6458C4765F2 for ; Mon, 9 Sep 2002 12:10:50 -0400 (EDT) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by postgresql.org (Postfix) with ESMTP id 4AF7A476637 for ; Mon, 9 Sep 2002 12:09:08 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.12.5/8.12.5) with ESMTP id g89G71TJ078748; Mon, 9 Sep 2002 20:07:01 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Mon, 9 Sep 2002 20:07:01 +0400 (MSD) From: Dmitry Morozovsky To: Gaetano Mendola Cc: pgsql-admin@postgresql.org Subject: Re: fsync or fdatasync In-Reply-To: Message-ID: <20020909200556.R53739-100000@woozle.rinet.ru> X-NCC-RegID: ru.rinet MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200209/92 X-Sequence-Number: 5631 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@rinet.ru *** ------------------------------------------------------------------------