Re: AW: AW: AW: WAL does not recover gracefully from ou t-of -dis k-sp ace

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Denis Perchine <dyp(at)perchine(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: AW: AW: AW: WAL does not recover gracefully from ou t-of -dis k-sp ace
Date: 2001-03-10 16:12:08
Message-ID: 16551.984240728@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Denis Perchine <dyp(at)perchine(dot)com> writes:
> On Saturday 10 March 2001 08:41, Tom Lane wrote:
>> More numbers, these from a Powerbook G3 laptop running Linux 2.2:

> Eeegghhh. Sorry... But where did you get O_DSYNC on Linux?????

> bits/fcntl.h: # define O_DSYNC O_SYNC

Hm, must be. Okay, so those two sets of numbers should be taken as
fsync() and O_SYNC respectively. Still the conclusion seems pretty
clear: the open() options are way more efficient than calling fsync()
separately.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Giles Lean 2001-03-10 22:00:53 Re: WAL & SHM principles
Previous Message Tom Lane 2001-03-10 16:03:55 Re: Interesting failure mode for initdb