Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id DBB6F475CB6 for ; Mon, 9 Sep 2002 12:50:47 -0400 (EDT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 25707475AE5 for ; Mon, 9 Sep 2002 12:50:47 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.5/8.12.5) with ESMTP id g89GopKo011754; Mon, 9 Sep 2002 12:50:51 -0400 (EDT) To: "Gaetano Mendola" Cc: pgsql-admin@postgresql.org Subject: Re: fsync or fdatasync In-reply-to: References: Comments: In-reply-to "Gaetano Mendola" message dated "Mon, 09 Sep 2002 11:19:50 +0200" Date: Mon, 09 Sep 2002 12:50:51 -0400 Message-ID: <11753.1031590251@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200209/94 X-Sequence-Number: 5633 "Gaetano Mendola" writes: > 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). regards, tom lane