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


From: "Zeugswetter Andreas SB SD" <ZeugswetterA(at)spardat(dot)at>
To: "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: "Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: O_DIRECT
Date: 2001-10-01 12:15:16
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
> > The O_DIRECT flag has been added to open(2) and fcntl(2). Specifying
> > flag for open files will attempt to minimize the cache effects of
> > and writing.
> I wonder if using this for WAL would be good.

Not before the code is not optimized to write more than the current 8k
the WAL at a time.
(The killer currently are larger transactions that produce approx more 
than 64k WAL, (try the open_datasync setting with "copy from"))


pgsql-hackers by date

Next:From: Zeugswetter Andreas SB SDDate: 2001-10-01 12:33:43
Subject: Re: Problem on AIX with current
Previous:From: Stefan RindeskarDate: 2001-10-01 12:12:29
Subject: Re: Moving CVS files around?

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