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

From Tom Lane
Subject Re: Free WAL caches on switching segments
Date
Msg-id 18680.1125386727@sss.pgh.pa.us
Whole thread Raw
In response to Free WAL caches on switching segments  (ITAGAKI Takahiro <itagaki.takahiro@lab.ntt.co.jp>)
Responses Re: Free WAL caches on switching segments  (ITAGAKI Takahiro <itagaki.takahiro@lab.ntt.co.jp>)
List pgsql-patches
ITAGAKI Takahiro <itagaki.takahiro@lab.ntt.co.jp> writes:
> Here is a small patch to prevent undesired WAL file caching by kernel.
> posix_fadvise(POSIX_FADV_DONTNEED) attempts to free cached pages and
> the kernel will discard them in preference to other data caches.

On plenty of platforms, this won't even compile ...

            regards, tom lane

pgsql-patches by date:

Previous
From: ITAGAKI Takahiro
Date:
Subject: Free WAL caches on switching segments
Next
From: ITAGAKI Takahiro
Date:
Subject: Re: Free WAL caches on switching segments