Re: Block level parallel vacuum WIP

Поиск
Список
Период
Сортировка
От Alexander Korotkov
Тема Re: Block level parallel vacuum WIP
Дата
Msg-id CAPpHfdtwNwbRccuP_hzeKrcHBg_sKkRPCzkq0pgFBi_WyBJ3WA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Block level parallel vacuum WIP  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Block level parallel vacuum WIP  (Masahiko Sawada <sawada.mshk@gmail.com>)
Список pgsql-hackers
On Tue, Aug 23, 2016 at 3:32 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
Claudio Freire <klaussfreire@gmail.com> writes:
> Not only that, but from your description (I haven't read the patch,
> sorry), you'd be scanning the whole index multiple times (one per
> worker).

What about pointing each worker at a separate index?  Obviously the
degree of concurrency during index cleanup is then limited by the
number of indexes, but that doesn't seem like a fatal problem.

+1
We could eventually need some effective way of parallelizing vacuum of single index.
But pointing each worker at separate index seems to be fair enough for majority of cases.

------
Alexander Korotkov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company 

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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: Logical decoding of sequence advances, part II
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Block level parallel vacuum WIP