Re: PG 14 release notes, first draft

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: PG 14 release notes, first draft
Дата
Msg-id CAH2-Wz=aonqHWgEKf-c+2PDy71_quWhFKxQa5N+iBiTBqM2rCg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: PG 14 release notes, first draft  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
On Tue, May 11, 2021 at 1:41 PM Bruce Momjian <bruce@momjian.us> wrote:
> > "Allow VACUUM to eagerly place newly deleted B-Tree pages in the Free
> > Space Map. Previously VACUUM could only place preexisting deleted
> > pages in the Free Space Map for recycling."
>
> So, previously it could only place pages that were deleted from the
> previous vacuum on the free list?

Yes, exactly -- that's how it worked, even though in general there was
no way to predict when the next VACUUM would be. Now VACUUM will
usually manage to do everything in the same VACUUM operation, starting
from deleting the index tuples that make the page empty, then deleting
the page, and finally putting the page in the FSM. Makes a big
difference when the workload has lots of page deletions, say due to
range deletions.

-- 
Peter Geoghegan



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: PG 14 release notes, first draft
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Printing backtrace of postgres processes