Re: Shared locking in slru.c

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Shared locking in slru.c
Дата
Msg-id 2247.1133533081@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Shared locking in slru.c  (Manfred Koizar <mkoi-pg@aon.at>)
Список pgsql-hackers
Manfred Koizar <mkoi-pg@aon.at> writes:
> On Wed, 30 Nov 2005 13:53:13 -0500, Tom Lane <tgl@sss.pgh.pa.us>
> wrote:
>> The way the attached patch attacks this is for the shared-lock access
>> case to simply set the page's LRU counter to zero, without bumping up
>> the LRU counters of the other pages as the normal adjustment would do.

> If you still plan to do this, you might also want to revert the
> micro-optimisation intruduced by the original SLRU patch:

Good point --- thanks for mentioning it.  I'm still fooling with the
modified code because it seems like it's not doing very well at managing
the SLRU pool, and perhaps that's got something to do with it ...
        regards, tom lane


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

Предыдущее
От: "Pollard, Mike"
Дата:
Сообщение: Re: generalizing the planner knobs
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Reducing relation locking overhead