Re: [HACKERS] utility commands benefiting from parallel plan

Поиск
Список
Период
Сортировка
От Rafia Sabih
Тема Re: [HACKERS] utility commands benefiting from parallel plan
Дата
Msg-id CAOGQiiPApfyX_U6U9muctxGF9Br5rgMgvm4ESGa8+oRnpFT08g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] utility commands benefiting from parallel plan  (Haribabu Kommi <kommi.haribabu@gmail.com>)
Ответы Re: [HACKERS] utility commands benefiting from parallel plan  (Haribabu Kommi <kommi.haribabu@gmail.com>)
Список pgsql-hackers
On Fri, Sep 1, 2017 at 12:31 PM, Haribabu Kommi
<kommi.haribabu@gmail.com> wrote:
>
> Hi All,
>
> Attached a rebased patch that supports parallelism for the queries
> that are underneath of some utility commands such as CREATE TABLE AS
> and CREATE MATERIALIZED VIEW.
>
> Note: This patch doesn't make the utility statement (insert operation)
> to run in parallel. It only allows the select query to be parallel if the
> query
> is eligible for parallel.
>

Here is my feedback fro this patch,

- The patch is working as expected, all regression tests are passing
- I agree with Dilip that having similar mechanism for 'insert into
select...' statements would add more value to the patch, but even then
this looks like a good idea to extend parallelism for atleast a few of
the write operations

-- 
Regards,
Rafia Sabih
EnterpriseDB: http://www.enterprisedb.com/


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: [HACKERS] PATCH: Batch/pipelining support for libpq
Следующее
От: Jeevan Chalke
Дата:
Сообщение: Re: [HACKERS] Constraint exclusion for partitioned tables