Re: Page replacement algorithm in buffer cache

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Page replacement algorithm in buffer cache
Дата
Msg-id 3236.1364919723@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Page replacement algorithm in buffer cache  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: Page replacement algorithm in buffer cache  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> But, having said that, I still think the best idea is what Andres
> proposed, which pretty much matches my own thoughts: the bgwriter
> needs to populate the free list, so that buffer allocations don't have
> to wait for linear scans of the buffer array.  That's just plain too
> slow.

I agree in general, though I'm not sure the bgwriter process can
reasonably handle this need along with what it's already supposed to be
doing.  We may need another background process that is just responsible
for keeping the freelist populated.
        regards, tom lane



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Proposal for Allow postgresql.conf values to be changed via SQL [review]
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Page replacement algorithm in buffer cache