Re: fsync or fdatasync

From: Ragnar Kjørstad <postgres(at)ragnark(dot)vestdata(dot)no>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Gaetano Mendola <mendola(at)bigfoot(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: fsync or fdatasync
Date: 2002-09-10 16:09:57
Message-ID: 20020910180957.Y24188@vestdata.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Gaetano Mendola 2002-09-10 16:24:56 Re: fsync or fdatasync
Previous Message Jean-Arthur Silve 2002-09-10 16:07:50 Vacuum analyze infos