Re: Protect syscache from bloating with negative cache entries

Поиск
Список
Период
Сортировка
Искать
От
Kyotaro Horiguchi
Тема
Re: Protect syscache from bloating with negative cache entries
Дата
Msg-id
20201120.160840.339412173339307577.horikyota.ntt@gmail.com
Ответ на
Список
Дерево обсуждения
[HACKERS] Protect syscache from bloating with negative cache entries Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: [HACKERS] Protect syscache from bloating with negative cache entries Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Protect syscache from bloating with negative cache entries Craig Ringer <craig@2ndquadrant.com>
Re: [HACKERS] Protect syscache from bloating with negative cache entries Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Protect syscache from bloating with negative cache entries Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Protect syscache from bloating with negative cache entries Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Protect syscache from bloating with negative cacheentries Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: [HACKERS] Protect syscache from bloating with negative cacheentries Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: [HACKERS] Protect syscache from bloating with negative cacheentries Jim Nasby <Jim.Nasby@BlueTreble.com>
Re: [HACKERS] Protect syscache from bloating with negative cache entries Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Protect syscache from bloating with negative cacheentries Jim Nasby <Jim.Nasby@BlueTreble.com>
Re: [HACKERS] Protect syscache from bloating with negative cacheentries Jim Nasby <Jim.Nasby@BlueTreble.com>
Re: [HACKERS] Protect syscache from bloating with negative cache entries Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Protect syscache from bloating with negative cacheentries Jim Nasby <Jim.Nasby@BlueTreble.com>
Re: [HACKERS] Protect syscache from bloating with negative cacheentries Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: [HACKERS] Protect syscache from bloating with negative cacheentries Jim Nasby <Jim.Nasby@BlueTreble.com>
Re: [HACKERS] Protect syscache from bloating with negative cacheentries Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: [HACKERS] Protect syscache from bloating with negative cacheentries Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] Protect syscache from bloating with negative cacheentries Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: [HACKERS] Protect syscache from bloating with negative cache entries Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Protect syscache from bloating with negative cacheentries Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: [HACKERS] Protect syscache from bloating with negative cache entries Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] Protect syscache from bloating with negative cacheentries Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: [HACKERS] Protect syscache from bloating with negative cache entries Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Protect syscache from bloating with negative cacheentries Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: [HACKERS] Protect syscache from bloating with negative cache entries David Steele <david@pgmasters.net>
Re: [HACKERS] Protect syscache from bloating with negative cache entries David Steele <david@pgmasters.net>
Re: [HACKERS] Protect syscache from bloating with negative cache entries Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: [HACKERS] Protect syscache from bloating with negative cache entries Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: Protect syscache from bloating with negative cache entries Michael Paquier <michael.paquier@gmail.com>
Re: Protect syscache from bloating with negative cache entries Robert Haas <robertmhaas@gmail.com>
Re: Protect syscache from bloating with negative cache entries Michael Paquier <michael.paquier@gmail.com>
Re: Protect syscache from bloating with negative cache entries Tom Lane <tgl@sss.pgh.pa.us>
Re: Protect syscache from bloating with negative cache entries Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Protect syscache from bloating with negative cache entries Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Protect syscache from bloating with negative cache entries Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Protect syscache from bloating with negative cache entries Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Protect syscache from bloating with negative cache entries Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Protect syscache from bloating with negative cache entries Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Protect syscache from bloating with negative cache entries Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Protect syscache from bloating with negative cacheentries Andres Freund <andres@anarazel.de>
Re: [HACKERS] Protect syscache from bloating with negative cacheentries Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: [HACKERS] Protect syscache from bloating with negative cache entries Michael Paquier <michael.paquier@gmail.com>
At Thu, 19 Nov 2020 15:23:05 +0900 (JST), Kyotaro Horiguchi  wrote in 
> At Wed, 18 Nov 2020 21:42:02 -0800, Andres Freund  wrote in 
> > Hi,
> > 
> > On 2020-11-19 14:25:36 +0900, Kyotaro Horiguchi wrote:
> > > # Creation, searching and expiration
> > > master     :  6393.23    (100.0)
> > > patched-off:  6527.94    (102.1)
> > > patched-on : 15880.01    (248.4)
> > 
> > What's the deal with this massive increase here?
> 
> CatCacheRemovedCTup(). If I replaced a call to the function in the
> cleanup functoin with dlist_delete(), the result changes as:
> 
> master      :  6372.04   (100.0) (2)
> patched-off :  6464.97   (101.5) (2)
> patched-on  :  5354.42   ( 84.0) (2)
> 
> We could boost the expiration if we reuse the "deleted" entry at the
> next entry creation.

That result should be bogus. It forgot to update cc_ntup..

regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center


В списке pgsql-hackers по дате отправления
От: Kyotaro Horiguchi
Дата:
От: Fabien COELHO
Дата:
Сообщение: Re: parsing pg_ident.conf
FAQ