Re: Protect syscache from bloating with negative cache entries - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Protect syscache from bloating with negative cache entries
Date
Msg-id CA+TgmoZE7jq2BMOmOqiwGYaDb1ZEvXyFpbKP3rJwzax6VQbk7g@mail.gmail.com
Whole thread Raw
In response to Re: Protect syscache from bloating with negative cache entries  (Andres Freund <andres@anarazel.de>)
Responses Re: Protect syscache from bloating with negative cache entries  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On Sat, Dec 16, 2017 at 11:42 PM, Andres Freund <andres@anarazel.de> wrote:
>> I'm not sure we should regard very quick bloating as a problem in need
>> of solving.  Doesn't that just mean we need the cache to be bigger, at
>> least temporarily?
>
> Leaving that aside, is that actually not at least to a good degree,
> solved by that problem? By bumping the generation on hash resize, we
> have recency information we can take into account.

I agree that we can do it.  I'm just not totally sure it's a good
idea.  I'm also not totally sure it's a bad idea, either.  That's why
I asked the question.

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


pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: [sqlsmith] Parallel worker executor crash on master
Next
From: Robert Haas
Date:
Subject: Re: pg_(total_)relation_size and partitioned tables