Re: O_DIRECT - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: O_DIRECT
Date
Msg-id 200109280113.f8S1D2v27236@candle.pha.pa.us
Whole thread Raw
In response to O_DIRECT  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
List 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@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: multibyte performance
Next
From: Thomas Lockhart
Date:
Subject: Big update for timestamp etc.