Re: [HACKERS] Protect syscache from bloating with negative cacheentries - Mailing list pgsql-hackers

From Jim Nasby
Subject Re: [HACKERS] Protect syscache from bloating with negative cacheentries
Date
Msg-id 6519b7ad-0aa6-c9f4-8869-20691107fb69@BlueTreble.com
Whole thread Raw
In response to Re: [HACKERS] Protect syscache from bloating with negative cache entries  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [HACKERS] Protect syscache from bloating with negative cacheentries  (Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>)
List pgsql-hackers
On 1/22/17 5:03 PM, Tom Lane wrote:
>> Ok, after reading the code I see I only partly understood what you were
>> saying. In any case, it might still be useful to do some testing with
>> CATCACHE_STATS defined to see if there's caches that don't accumulate a
>> lot of negative entries.
> There definitely are, according to my testing, but by the same token
> it's not clear that a shutoff check would save anything.

Currently they wouldn't, but there's concerns about the performance of 
some of the other ideas in this thread. Getting rid of negative entries 
that don't really help could reduce some of those concerns. Or perhaps 
the original complaint about STATRELATTINH could be solved by just 
disabling negative entries on that cache.
-- 
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com
855-TREBLE2 (855-873-2532)



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] Failure in commit_ts tap tests
Next
From: Andrew Dunstan
Date:
Subject: Re: [HACKERS] Failure in commit_ts tap tests