pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: James Pang (chaolpan) <chaolpan@cisco.com>
Cc: pgsql-admin@lists.postgresql.org <pgsql-admin@lists.postgresql.org>
Subject: Re: multiple sessions to create index in parallel support
Date: Tue, 21 Jun 2022 11:03:48 -0400
Message-ID: <2971652.1655823828@sss.pgh.pa.us> (raw)
In-Reply-To: <PH0PR11MB5191BB64F516447A79FD4AA6D6B39@PH0PR11MB5191.namprd11.prod.outlook.com>
References: <PH0PR11MB5191540CA8085CAA8944A114D6B39@PH0PR11MB5191.namprd11.prod.outlook.com>
	<2944693.1655821801@sss.pgh.pa.us>
	<PH0PR11MB5191BB64F516447A79FD4AA6D6B39@PH0PR11MB5191.namprd11.prod.outlook.com>

"James Pang (chaolpan)" <chaolpan@cisco.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





view thread (6+ messages)  latest in thread

Message-ID: <2971652.1655823828@sss.pgh.pa.us>
Permalink:  ../2971652.1655823828@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2971652.1655823828@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, chaolpan@cisco.com, pgsql-admin@lists.postgresql.org
  Subject: Re: multiple sessions to create index in parallel support
  In-Reply-To: <2971652.1655823828@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox