RE: multiple sessions to create index in parallel support

Поиск
Список
Период
Сортировка
От James Pang (chaolpan)
Тема RE: multiple sessions to create index in parallel support
Дата
Msg-id PH0PR11MB5191C0CBC58B58B8F3D982E5D6B29@PH0PR11MB5191.namprd11.prod.outlook.com
обсуждение исходный текст
Ответ на Re: multiple sessions to create index in parallel support  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы RE: multiple sessions to create index in parallel support
Список pgsql-admin
All max_workers_process got increased to 32 before creating index.  The 2 session try to create index on totally
separatelarge tables(40gb) , either one in 8 parallel workers, but not both.   

James

-----Original Message-----
From: Tom Lane <tgl@sss.pgh.pa.us>
Sent: Tuesday, June 21, 2022 11:04 PM
To: James Pang (chaolpan) <chaolpan@cisco.com>
Cc: pgsql-admin@lists.postgresql.org
Subject: Re: multiple sessions to create index in parallel support

"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
largetable show parallel 8 workers,   the other session creating one index in another separate table always in serial.
Evenincrease max_parallel_worers and max_parallel_maintenance_workers to 64, still show one is parallel 8 workers, the
otheris done in serial. 

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

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: multiple sessions to create index in parallel support
Следующее
От: Fabio Pardi
Дата:
Сообщение: Re: parallel index creation: maintenance_work_mem not honored?