Re: posix_fadvise() and pg_receivexlog - Mailing list pgsql-hackers

From Robert Haas
Subject Re: posix_fadvise() and pg_receivexlog
Date
Msg-id CA+TgmoaMamBokCkCLZgsM+3b6eH-9suAGWdHTBM-pwfhdETpzw@mail.gmail.com
Whole thread Raw
In response to posix_fadvise() and pg_receivexlog  (Fujii Masao <masao.fujii@gmail.com>)
List pgsql-hackers
On Wed, Aug 6, 2014 at 1:39 PM, Fujii Masao <masao.fujii@gmail.com> wrote:
> The WAL files that pg_receivexlog writes will not be re-read soon basically,
> so we can advise the OS to release any cached pages when WAL file is
> closed. I feel inclined to change pg_receivexlog that way. Thought?

How do we know that the user doesn't plan to read them soon?

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: 9.5: Better memory accounting, towards memory-bounded HashAgg
Next
From: Heikki Linnakangas
Date:
Subject: Re: posix_fadvise() and pg_receivexlog