Re: [HACKERS] Protect syscache from bloating with negative cache entries

Поиск
Список
Период
Сортировка
Искать
От
Robert Haas
Тема
Re: [HACKERS] Protect syscache from bloating with negative cache entries
Дата
Msg-id
CA+TgmoaMPbN5vvH33zLK7MR+PiCYWPvTHmSSrDab4vurLOXS-Q@mail.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>
On Tue, Dec 20, 2016 at 10:09 AM, Tom Lane  wrote:
> Craig Ringer  writes:
>> On 20 December 2016 at 21:59, Robert Haas  wrote:
>>> We could implement this by having
>>> some process, like the background writer,
>>> SendProcSignal(PROCSIG_HOUSEKEEPING) to every process in the system
>>> every 10 minutes or so.
>
>> ... on a rolling basis.
>
> I don't understand why we'd make that a system-wide behavior at all,
> rather than expecting each process to manage its own cache.

Individual backends don't have a really great way to do time-based
stuff, do they?  I mean, yes, there is enable_timeout() and friends,
but I think that requires quite a bit of bookkeeping.

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


В списке pgsql-hackers по дате отправления
От: Robert Haas
Дата:
От: Andrew Dunstan
Дата:
FAQ