Re: Clock sweep not caching enough B-Tree leaf pages? - Mailing list pgsql-hackers

From Merlin Moncure
Subject Re: Clock sweep not caching enough B-Tree leaf pages?
Date
Msg-id CAHyXU0xv-vzKt8A2zvtHQe_a88qZ+ccFUVHsV7+NcbXrKccRAQ@mail.gmail.com
Whole thread Raw
In response to Re: Clock sweep not caching enough B-Tree leaf pages?  (Stephen Frost <sfrost@snowman.net>)
Responses Re: Clock sweep not caching enough B-Tree leaf pages?  (Stephen Frost <sfrost@snowman.net>)
List pgsql-hackers
On Thu, Apr 17, 2014 at 2:28 PM, Stephen Frost <sfrost@snowman.net> wrote:
>
>
> On Thursday, April 17, 2014, Merlin Moncure <mmoncure@gmail.com> wrote:
>>
>> yeah -- the thing is, we are already too spendy already on
>> supplemental write i/o (hint bits, visible bits, freezing, etc) and
>> likely not worth it to throw something else on the pile unless the
>> page is already dirty; the medium term trend in storage is that read
>> vs write performance is becoming increasingly asymmetric, particularly
>> on the random side so it's very unlikely to balance out.
>
> Guess I wasn't clear but I was thinking to read the page in, not do any
> writing, and do it in a asynchronous way to the process doing the evicting.

no -- I got you. My point was, that's a pure guess unless you base it
on evidence recorded on the page itself.  Without that evidence,
(which requires writing) the operating is in a a better place to make
that guess so it's probably better to defer that decision.

merlin



pgsql-hackers by date:

Previous
From: Fabrízio de Royes Mello
Date:
Subject: Re: Verbose output of pg_dump not show schema name
Next
From: Stephen Frost
Date:
Subject: Re: Clock sweep not caching enough B-Tree leaf pages?