Re: SLRU statistics

Поиск
Список
Период
Сортировка
От Kuntal Ghosh
Тема Re: SLRU statistics
Дата
Msg-id CAGz5QCKMf7BgT-oR4yTFYuDBLu55rOG82-Mk=P1-4BaMpnLkZA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: SLRU statistics  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
Ответы Re: SLRU statistics
Список pgsql-hackers
Hello Tomas,

On Thu, Apr 2, 2020 at 5:59 PM Tomas Vondra
<tomas.vondra@2ndquadrant.com> wrote:
> Thank you for the patch, pushed.
>
In SimpleLruReadPage_ReadOnly, we first try to find the SLRU page in
shared buffer under shared lock, then conditionally visit
SimpleLruReadPage if reading is necessary. IMHO, we should update
hit_count if we can find the buffer in SimpleLruReadPage_ReadOnly
directly. Am I missing something?

Attached a patch for the same.

-- 
Thanks & Regards,
Kuntal Ghosh
EnterpriseDB: http://www.enterprisedb.com

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: tushar
Дата:
Сообщение: Re: [Proposal] Global temporary tables
Следующее
От: David Rowley
Дата:
Сообщение: Re: Use compiler intrinsics for bit ops in hash