From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Gaetano Mendola <mendola@bigfoot.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: fsync or fdatasync
Date: Mon, 16 Sep 2002 12:46:22 -0400 (EDT)
Message-ID: <200209161646.g8GGkNd18398@candle.pha.pa.us> (raw)
In-Reply-To: <all6ci$2vq1$1@news.hub.org>
Gaetano Mendola wrote:
>
> "Bruce Momjian" <pgman@candle.pha.pa.us> wrote in message
> news:200209101540.g8AFeOo21086@candle.pha.pa.us...
> >
> > The original poster was wrong about the default.
> >
> > We use fdatasync where available, and fsync when it is not. We also use
> > O_SYNC on open if it is available.
>
>
> The original poster is me! :-)
>
> I was pointed to a document ( that I don't find anymore )
> where I understood that the default was fsync.
> I'm sorry for the little flame.... :-(
>
>
> PS. It is in the plans to use raw disks ?
No plans. Raw disk is only marginally faster and a lot more
complicated. See the TODO performance link for details.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: pgman@candle.pha.pa.us, mendola@bigfoot.com
Subject: Re: fsync or fdatasync
In-Reply-To: <200209161646.g8GGkNd18398@candle.pha.pa.us>
References: <all6ci$2vq1$1@news.hub.org> <200209161646.g8GGkNd18398@candle.pha.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox