pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Amit Kapila <amit.kapila16@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: VACUUM PARALLEL option vs. max_parallel_maintenance_workers
Date: Mon, 21 Sep 2020 09:16:47 +0200
Message-ID: <2d2db0c5-88b1-deab-087f-3ab25ccc09cc@2ndquadrant.com> (raw)
In-Reply-To: <CAA4eK1+gD7jAP4wqx8+wNhqpc8cM_7o2WvVBa0OVXLsgoDFHqA@mail.gmail.com>
References: <36aa8aea-61b7-eb3c-263b-648e0cb117b7@2ndquadrant.com>
	<CAA4eK1LQWXS_4RwLo+WT7jusGnBkUvXO73xQOCsydWLYBpLBEg@mail.gmail.com>
	<5a8b1b58-30b6-cd9a-5a37-75f1da063429@2ndquadrant.com>
	<CAA4eK1Ljgt1V89ua5b=Y02r2c0ch05VXm-F3ew6gyxbqLoVXxA@mail.gmail.com>
	<4de14d71-7fe9-fa12-121e-a41bd610998e@2ndquadrant.com>
	<CAA4eK1+gD7jAP4wqx8+wNhqpc8cM_7o2WvVBa0OVXLsgoDFHqA@mail.gmail.com>

On 2020-09-21 05:48, Amit Kapila wrote:
> What according to you should be the behavior here and how will it be
> better than current?

I think if I write VACUUM (PARALLEL 5), it should use up to 5 workers 
(up to the number of indexes), even if max_parallel_maintenance_workers 
is 2.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services





view thread (22+ messages)  latest in thread

Message-ID: <2d2db0c5-88b1-deab-087f-3ab25ccc09cc@2ndquadrant.com>
Permalink:  ../2d2db0c5-88b1-deab-087f-3ab25ccc09cc@2ndquadrant.com/
Also on:    postgresql.org/message-id/2d2db0c5-88b1-deab-087f-3ab25ccc09cc@2ndquadrant.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: peter.eisentraut@2ndquadrant.com, amit.kapila16@gmail.com
  Subject: Re: VACUUM PARALLEL option vs. max_parallel_maintenance_workers
  In-Reply-To: <2d2db0c5-88b1-deab-087f-3ab25ccc09cc@2ndquadrant.com>
  References: <36aa8aea-61b7-eb3c-263b-648e0cb117b7@2ndquadrant.com> <CAA4eK1LQWXS_4RwLo+WT7jusGnBkUvXO73xQOCsydWLYBpLBEg@mail.gmail.com> <5a8b1b58-30b6-cd9a-5a37-75f1da063429@2ndquadrant.com> <CAA4eK1Ljgt1V89ua5b=Y02r2c0ch05VXm-F3ew6gyxbqLoVXxA@mail.gmail.com> <4de14d71-7fe9-fa12-121e-a41bd610998e@2ndquadrant.com> <CAA4eK1+gD7jAP4wqx8+wNhqpc8cM_7o2WvVBa0OVXLsgoDFHqA@mail.gmail.com> <2d2db0c5-88b1-deab-087f-3ab25ccc09cc@2ndquadrant.com>

* 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