Re: Question Regarding Merge Append and Parallel Execution of Index Scans on Partitioned Table

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: Question Regarding Merge Append and Parallel Execution of Index Scans on Partitioned Table
Дата
Msg-id CAApHDvrsdGvPyhaq94--ar8HbVM6imu=0Hd3+FNVy6LENnL_FA@mail.gmail.com
обсуждение исходный текст
Ответ на Question Regarding Merge Append and Parallel Execution of Index Scans on Partitioned Table  (Ayush Vatsa <ayushvatsa1810@gmail.com>)
Ответы Re: Question Regarding Merge Append and Parallel Execution of Index Scans on Partitioned Table
Список pgsql-hackers
On Thu, 5 Jun 2025 at 07:31, Ayush Vatsa <ayushvatsa1810@gmail.com> wrote:
> Are these Index Scans executed sequentially (one after the other as the Merge Append requests tuples)?

It's a fairly simple answer: Merge Append does not support parallelism.

> Or are they possibly executed in parallel, in advance, or concurrently in some way?

It's probably not impossible to do something in a future version of
PostgreSQL. We have Gather Merge, which handles executing some
sub-nodes and making sure the results get output in the correct order,
so it doesn't seem impossible that something could be done for Merge
Append. It just does not exist yet.

David



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