pgsql: Add --parallel option to vacuumdb command.

From: Amit Kapila <akapila(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add --parallel option to vacuumdb command.
Date: 2020-01-29 05:48:55
Message-ID: E1iwgDf-000247-Dj@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2020-01-29 06:09:49 pgsql: Fix dispsize for libpq connection parameters channel_binding and
Previous Message Michael Paquier 2020-01-29 01:27:14 Re: pgsql: Add a non-strict version of jsonb_set