Re: Visibility map, partial vacuums

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Visibility map, partial vacuums
Дата
Msg-id 9966.1225216692@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Visibility map, partial vacuums  (Simon Riggs <simon@2ndQuadrant.com>)
Ответы Re: Visibility map, partial vacuums  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-hackers
Simon Riggs <simon@2ndQuadrant.com> writes:
> On Mon, 2008-10-27 at 14:03 +0200, Heikki Linnakangas wrote:
>> Lazy VACUUM only needs to visit pages that are '0' in the visibility 
>> map. This allows partial vacuums, where we only need to scan those parts 
>> of the table that need vacuuming, plus all indexes.

> Just realised that this means we still have to visit each block of a
> btree index with a cleanup lock.

Yes, and your proposal cannot fix that.  Read "The Deletion Algorithm"
in nbtree/README, particularly the second paragraph.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Window Functions: v07 APIs and buffering strateties
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Visibility map, partial vacuums