Re: multiple sessions to create index in parallel support

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "James Pang (chaolpan)" <chaolpan(at)cisco(dot)com>
Cc: "pgsql-admin(at)lists(dot)postgresql(dot)org" <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: multiple sessions to create index in parallel support
Date: 2022-06-21 15:03:48
Message-ID: 2971652.1655823828@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"James Pang (chaolpan)" <chaolpan(at)cisco(dot)com> writes:
> Max_parallel_workers and max_parallel_maintenance_workers both equal to 32, one session create one index in a large table show parallel 8 workers, the other session creating one index in another separate table always in serial. Even increase max_parallel_worers and max_parallel_maintenance_workers to 64, still show one is parallel 8 workers, the other is done in serial.

Hmm, what about max_worker_processes ? That's an independent limit.

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message James Pang (chaolpan) 2022-06-22 01:33:40 RE: multiple sessions to create index in parallel support
Previous Message James Pang (chaolpan) 2022-06-21 14:44:23 RE: multiple sessions to create index in parallel support