Re: Remove the limit on the number of entries allowed in catcaches, - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Remove the limit on the number of entries allowed in catcaches,
Date
Msg-id 156.1150399085@sss.pgh.pa.us
Whole thread Raw
In response to Re: Remove the limit on the number of entries allowed in  (Simon Riggs <simon@2ndquadrant.com>)
List pgsql-hackers
Simon Riggs <simon@2ndquadrant.com> writes:
> The LRU moves each time we do FileRead or FileWrite, not just on
> open/close operations.

Sure, but those still require kernel calls, so the cost of a couple of
pointer swings is negligible.  There's no way that the logical
complexity of sometimes maintaining LRU and sometimes not is going
to be repaid with a useful (or even measurable) speedup.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [PATCHES] PL/pgSQL: SELECT INTO EXACT
Next
From: Stefan Kaltenbrunner
Date:
Subject: Re: Test request for Stats collector performance improvement