Re: Parallel heap vacuum

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Parallel heap vacuum
Дата
Msg-id CA+Tgmoaxu8w0ieP7ofKvbY5T5qnvOG=AhVka19QMhG-nuXuVzQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Parallel heap vacuum  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On Mon, Jul 21, 2025 at 7:49 PM Andres Freund <andres@anarazel.de> wrote:
> That is not to say you can't have callbacks or such, it just doesn't make
> sense for those callbacks to be at the level of tableam. If you want to make
> vacuumparallel support parallel table vacuuming for multiple table AMs (I'm
> somewhat doubtful that's a good idea), you could do that by having a
> vacuumparallel.c specific callback struct.

I'm not doubtful that this is a good idea. There are a number of
tableams around these days that are "heap except whatever", where (I
suspect) the size of "whatever" ranges from quite small to moderately
large. I imagine that such efforts end up duplicating a lot of heapam
code and probably always will; but if we can avoid increasing that
amount, I think it's a good idea.

--
Robert Haas
EDB: http://www.enterprisedb.com



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