Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 76D074766A3 for ; Tue, 10 Sep 2002 12:10:25 -0400 (EDT) Received: from stine.vestdata.no (stine.vestdata.no [195.204.68.10]) by postgresql.org (Postfix) with ESMTP id D3DAC4765BE for ; Tue, 10 Sep 2002 12:10:23 -0400 (EDT) Received: (from ragnark@localhost) by stine.vestdata.no (8.11.6/8.11.2) id g8AG9vQ20325; Tue, 10 Sep 2002 18:09:57 +0200 Date: Tue, 10 Sep 2002 18:09:57 +0200 From: =?iso-8859-1?Q?Ragnar_Kj=F8rstad?= To: Bruce Momjian Cc: Gaetano Mendola , pgsql-admin@postgresql.org Subject: Re: fsync or fdatasync Message-ID: <20020910180957.Y24188@vestdata.no> References: <200209101540.g8AFeOo21086@candle.pha.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5.1i In-Reply-To: <200209101540.g8AFeOo21086@candle.pha.pa.us>; from pgman@candle.pha.pa.us on Tue, Sep 10, 2002 at 11:40:24AM -0400 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200209/109 X-Sequence-Number: 5648 On Tue, Sep 10, 2002 at 11:40:24AM -0400, Bruce Momjian wrote: > > The original poster was wrong about the default. > > We use fdatasync where available, and fsync when it is not. Makes sense. > We also use > O_SYNC on open if it is available. Why? That will slow tings down... -- Ragnar Kjørstad