pg.ddx.io pgsql-hackers@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Jim Nasby <Jim.Nasby@BlueTreble.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Cc: robertmhaas@gmail.com
Cc: craig@2ndquadrant.com
Cc: pgsql-hackers@postgresql.org
Subject: Re: Protect syscache from bloating with negative cache entries
Date: Mon, 23 Jan 2017 08:16:49 -0600
Message-ID: <6519b7ad-0aa6-c9f4-8869-20691107fb69@BlueTreble.com> (raw )
In-Reply-To: <26168.1485126221@sss.pgh.pa.us >
References: <CA+TgmoaMPbN5vvH33zLK7MR+PiCYWPvTHmSSrDab4vurLOXS-Q@mail.gmail.com >
<23492.1482264621@sss.pgh.pa.us >
<20161221.102109.51106943.horiguchi.kyotaro@lab.ntt.co.jp >
<20161226.173147.73783918.horiguchi.kyotaro@lab.ntt.co.jp >
<ecd7ba88-0484-54be-5b8a-c48848438aea@BlueTreble.com >
<19334.1485053684@sss.pgh.pa.us >
<276bcca0-9bfd-e60f-243d-baf081b41946@BlueTreble.com >
<683113d7-c7a7-1a0f-da7c-b197b08a6440@BlueTreble.com >
<26168.1485126221@sss.pgh.pa.us >
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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)
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
view thread (272+ messages) latest in thread
Message-ID: <6519b7ad-0aa6-c9f4-8869-20691107fb69@BlueTreble.com>
Permalink: ../6519b7ad-0aa6-c9f4-8869-20691107fb69@BlueTreble.com/
Also on: postgresql.org/message-id/6519b7ad-0aa6-c9f4-8869-20691107fb69@BlueTreble.com
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: Jim.Nasby@BlueTreble.com, tgl@sss.pgh.pa.us, horiguchi.kyotaro@lab.ntt.co.jp, robertmhaas@gmail.com, craig@2ndquadrant.com
Subject: Re: Protect syscache from bloating with negative cache entries
In-Reply-To: <6519b7ad-0aa6-c9f4-8869-20691107fb69@BlueTreble.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox