Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group