Re: VACUUM and spoiling the buffer manager cache

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: VACUUM and spoiling the buffer manager cache
Дата
Msg-id 1172740142.3760.1087.camel@silverbirch.site
обсуждение исходный текст
Ответ на Re: VACUUM and spoiling the buffer manager cache  (ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Список pgsql-hackers
On Thu, 2007-03-01 at 11:00 +0900, ITAGAKI Takahiro wrote:
> "Simon Riggs" <simon@2ndquadrant.com> wrote:
> 
> > > > VACUUM's current behaviour is to take blocks it has touched and place
> > > > them on the head of the freelist, allowing them to be reused.
> > > 
> > > No, it puts them at the tail of the freelist.
> > 
> > That's a minor point because the freelist is mostly empty, so head ==
> > tail in 99.9% of cases.
> 
> That's correct. Also, even if a VACUUM process collects some unused buffers
> into the freelist, other backends comsume all of them in a moment.

AFAICS the patch is useful and valid. 

Please could we have some additional testers, so that we have a range of
opinion, rather than just my/EDB tests.

I'll submit further detailed tests after feature freeze, since right now
I have other things to do, but I'll return to this point again.

--  Simon Riggs              EnterpriseDB   http://www.enterprisedb.com




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

Предыдущее
От: "Zeugswetter Andreas ADI SD"
Дата:
Сообщение: Re: SOC & user quotas
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: Packed short varlenas, what next?