Re: INSERT INTO SELECT, Why Parallelism is not selected?

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: INSERT INTO SELECT, Why Parallelism is not selected?
Дата
Msg-id CA+TgmoagAKn8dpjOa4VFk7hZ8H__UpX4uGGWe=umG8or2UgMTQ@mail.gmail.com
обсуждение исходный текст
Ответ на INSERT INTO SELECT, Why Parallelism is not selected?  (Dilip Kumar <dilipbalaut@gmail.com>)
Ответы Re: INSERT INTO SELECT, Why Parallelism is not selected?  (Amit Kapila <amit.kapila16@gmail.com>)
Список pgsql-hackers
On Sat, Jul 11, 2020 at 8:37 AM Dilip Kumar <dilipbalaut@gmail.com> wrote:
> I have just notice that the parallelism is off even for the select
> part of the query mentioned in the $subject.  I see the only reason it
> is not getting parallel because we block the parallelism if the query
> type is not SELECT.  I don't see any reason for not selecting the
> parallelism for this query.

There's a relevant comment near the top of heap_prepare_insert().

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



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Binary support for pgoutput plugin
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: warnings for invalid function casts