how does PostgreSQL determine how many parallel processes to start

From: Luca Ferrari <fluca1978(at)gmail(dot)com>
To: pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: how does PostgreSQL determine how many parallel processes to start
Date: 2021-02-19 09:38:12
Message-ID: CAKoxK+61MVdABb2eQ_VLfvRT0hEX12dOkx6Bz9orS5VQ--UvVQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi all,
I know that parallel processes can be limited by
max_parallel_workers_per_gather and max_parallel_workers, as well as
the condition to consider a parallel plan is min_table_scan_size (and
index). But I would like to understand, once a table has been
considered for a parallel plan, and there is room for other workers,
how will PostgreSQL decide to start another process?

Thanks,
Luca

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Laurenz Albe 2021-02-19 09:43:17 Re: how does PostgreSQL determine how many parallel processes to start
Previous Message Pavel Stehule 2021-02-19 06:15:51 Re: Syntax checking DO blocks and ALTER TABLE statements?