Re: O_DIRECT

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: O_DIRECT
Date: 2001-09-28 01:13:02
Message-ID: 200109280113.f8S1D2v27236@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> The O_DIRECT flag has been added in FreeBSD 4.4 (386 & Alpha) also. From
> the release notes:
>
> Kernel Changes
>
> The O_DIRECT flag has been added to open(2) and fcntl(2). Specifying this
> flag for open files will attempt to minimize the cache effects of reading
> and writing.

I wonder if using this for WAL would be good.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

  • O_DIRECT at 2001-09-26 02:30:17 from Christopher Kings-Lynne

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2001-09-28 02:34:36 Re: Can't subscribe or get CVS
Previous Message Tatsuo Ishii 2001-09-28 01:05:24 Re: multibyte performance