pgsql: vacuumdb: enable parallel mode

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: vacuumdb: enable parallel mode
Date: 2015-01-23 18:06:29
Message-ID: E1YEicn-00062k-0F@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

vacuumdb: enable parallel mode

This mode allows vacuumdb to open several server connections to vacuum
or analyze several tables simultaneously.

Author: Dilip Kumar. Some reworking by Álvaro Herrera
Reviewed by: Jeff Janes, Amit Kapila, Magnus Hagander, Andres Freund

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/a17923204736d8842eade3517d6a8ee81290fca4

Modified Files
--------------
doc/src/sgml/ref/vacuumdb.sgml | 24 ++
src/bin/pg_dump/parallel.c | 2 +-
src/bin/scripts/common.c | 23 +-
src/bin/scripts/common.h | 6 +
src/bin/scripts/vacuumdb.c | 797 ++++++++++++++++++++++++++++++++--------
5 files changed, 691 insertions(+), 161 deletions(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2015-01-23 20:09:28 pgsql: Fix typos, update README.
Previous Message Robert Haas 2015-01-23 17:05:20 pgsql: Don't use abbreviated keys for the final merge pass.