Re: BUG #18343: Incorrect description in postgresql.conf for max_parallel_workers_per_gather

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: BUG #18343: Incorrect description in postgresql.conf for max_parallel_workers_per_gather
Дата
Msg-id
3258900.1708012510@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
BUG #18343: Incorrect description in postgresql.conf for max_parallel_workers_per_gather PG Bug reporting form <noreply@postgresql.org>
Re: BUG #18343: Incorrect description in postgresql.conf for max_parallel_workers_per_gather Tom Lane <tgl@sss.pgh.pa.us>
Re: BUG #18343: Incorrect description in postgresql.conf for max_parallel_workers_per_gather "David G. Johnston" <david.g.johnston@gmail.com>
Re: BUG #18343: Incorrect description in postgresql.conf for max_parallel_workers_per_gather Christopher Kline <kline.christopher@gmail.com>
Re: BUG #18343: Incorrect description in postgresql.conf for max_parallel_workers_per_gather Tom Lane <tgl@sss.pgh.pa.us>
Re: BUG #18343: Incorrect description in postgresql.conf for max_parallel_workers_per_gather "David G. Johnston" <david.g.johnston@gmail.com>
Re: BUG #18343: Incorrect description in postgresql.conf for max_parallel_workers_per_gather Christopher Kline <kline.christopher@gmail.com>
Re: BUG #18343: Incorrect description in postgresql.conf for max_parallel_workers_per_gather Tom Lane <tgl@sss.pgh.pa.us>
PG Bug reporting form  writes:
> In the default postgresql.conf that is generated, there are the following
> lines:

> #max_worker_processes = 8		# (change requires restart)
> #max_parallel_workers_per_gather = 2	# taken from max_parallel_workers 
> <<<<<<<<<<<<<<<<<<<<<<<< THIS
> #max_parallel_maintenance_workers = 2	# taken from max_parallel_workers
> max_parallel_workers = 8		# maximum number of max_worker_processes that
> 					# can be used in parallel operations

> it indicates that the default value is taken from whatever
> max_parallel_workers is.

No, you're misreading it.  There's no magic connection between these
two settings.  What the comment means to say is that the per-gather
worker processes come out of a pool of at most max_parallel_workers
processes.  Perhaps another wording would be better, but we don't have
a lot of space here --- any thoughts?

			regards, tom lane


В списке pgsql-bugs по дате отправления
От: David G. Johnston
Дата:
От: David G. Johnston
Дата:
FAQ