From: Amit Kapila <akapila@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add --parallel option to vacuumdb command.
Date: Wed, 29 Jan 2020 05:48:55 +0000
Message-ID: <E1iwgDf-000247-Dj@gemulon.postgresql.org> (raw)
Add --parallel option to vacuumdb command.
Commit 40d964ec99 allowed vacuum command to leverage multiple CPUs by
invoking parallel workers to process indexes. This commit provides a
'--parallel' option to specify the parallel degree used by vacuum command.
Author: Masahiko Sawada, with few modifications by me
Reviewed-by: Mahendra Singh and Amit Kapila
Discussion: https://postgr.es/m/CAD21AoDTPMgzSkV4E3SFo1CH_x50bf5PqZFQf4jmqjk-C03BWg@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/47bc9ced0d0e96523e2c639c7066c9aede189ed7
Modified Files
--------------
doc/src/sgml/ref/vacuumdb.sgml | 18 +++++++++++++++
src/bin/scripts/t/100_vacuumdb.pl | 13 ++++++++++-
src/bin/scripts/vacuumdb.c | 47 ++++++++++++++++++++++++++++++++++++++-
3 files changed, 76 insertions(+), 2 deletions(-)
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-committers@postgresql.org
Cc: akapila@postgresql.org
Subject: Re: pgsql: Add --parallel option to vacuumdb command.
In-Reply-To: <E1iwgDf-000247-Dj@gemulon.postgresql.org>
References: <E1iwgDf-000247-Dj@gemulon.postgresql.org>
* 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