> 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
  [EMAIL PROTECTED]               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Reply via email to