Re: Free WAL caches on switching segments - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: Free WAL caches on switching segments
Date
Msg-id 200602130249.k1D2nUe07718@candle.pha.pa.us
Whole thread Raw
In response to Re: Free WAL caches on switching segments  (ITAGAKI Takahiro <itagaki.takahiro@lab.ntt.co.jp>)
Responses Re: Free WAL caches on switching segments  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
ITAGAKI Takahiro wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> wrote:
>
> > I looked this over and I am unsure what this does for us that isn't
> > already accomplished using the wal_sync_method settings.  See xlog.c for
> > a description of O_DIRECT and when it is used.
>
> I proposed it to supplement the cache control. There are some OSes that
> supports posix_fadvise but not O_DIRECT, for example, NetBSD 4.0
> (http://www.netbsd.org/Changes/changes-4.0.html).

Oh, that makes sense then.   Let me re-add it to the queue.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-patches by date:

Previous
From: ITAGAKI Takahiro
Date:
Subject: Re: Free WAL caches on switching segments
Next
From: Bruce Momjian
Date:
Subject: Re: [GENERAL] Number format problem