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: Sat, 19 Sep 2020 12:59:02 +0200
Message-ID: <5a8b1b58-30b6-cd9a-5a37-75f1da063429@2ndquadrant.com> (raw)
In-Reply-To: <CAA4eK1LQWXS_4RwLo+WT7jusGnBkUvXO73xQOCsydWLYBpLBEg@mail.gmail.com>
References: <36aa8aea-61b7-eb3c-263b-648e0cb117b7@2ndquadrant.com>
	<CAA4eK1LQWXS_4RwLo+WT7jusGnBkUvXO73xQOCsydWLYBpLBEg@mail.gmail.com>

On 2020-09-19 11:37, Amit Kapila wrote:
> I think we can change the documentation for parallel option to explain
> it better. How about: "Perform index vacuum and index cleanup phases
> of VACUUM in parallel using integer background workers (for the
> details of each vacuum phase, please refer to Table 27.37). The number
> of workers is determined based on the number of indexes on the
> relation that support parallel vacuum operation which is limited by
> number of workers specified with PARALLEL option if any which is
> further limited by max_parallel_maintenance_workers." instead of what
> is currently there?

I think the implemented behavior is wrong.  The VACUUM PARALLEL option 
should override the max_parallel_maintenance_worker setting.

Otherwise, what's the point of the command option?

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





view thread (22+ messages)  latest in thread

Message-ID: <5a8b1b58-30b6-cd9a-5a37-75f1da063429@2ndquadrant.com>
Permalink:  ../5a8b1b58-30b6-cd9a-5a37-75f1da063429@2ndquadrant.com/
Also on:    postgresql.org/message-id/5a8b1b58-30b6-cd9a-5a37-75f1da063429@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: <5a8b1b58-30b6-cd9a-5a37-75f1da063429@2ndquadrant.com>
  References: <36aa8aea-61b7-eb3c-263b-648e0cb117b7@2ndquadrant.com> <CAA4eK1LQWXS_4RwLo+WT7jusGnBkUvXO73xQOCsydWLYBpLBEg@mail.gmail.com> <5a8b1b58-30b6-cd9a-5a37-75f1da063429@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