Re: Parallel Index Scans

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Parallel Index Scans
Дата
Msg-id CA+TgmoZ+4APr++_TA=hk8UKNE_4A2g4Fds3aVbY=9eBsCLv5ZA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Parallel Index Scans  (Amit Kapila <amit.kapila16@gmail.com>)
Ответы Re: Parallel Index Scans  (Amit Kapila <amit.kapila16@gmail.com>)
Список pgsql-hackers
On Wed, Oct 19, 2016 at 11:07 PM, Amit Kapila <amit.kapila16@gmail.com> wrote:
>> Ideally, the parallel_workers storage parameter will rarely be
>> necessary because the optimizer will generally do the right thing in
>> all case.
>
> Yeah, we can choose not to provide any parameter for parallel index
> scans, but some users might want to have a parameter similar to
> parallel table scans, so it could be handy for them to use.

I think the parallel_workers reloption should override the degree of
parallelism for any sort of parallel scan on that table.  Had I
intended it to apply only to sequential scans, I would have named it
differently.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Remove autovacuum GUC?
Следующее
От: Greg Stark
Дата:
Сообщение: Re: LLVM Address Sanitizer (ASAN) and valgrind support