vacuumdb: enable parallel mode

Enterprise / PostgreSQL - Alvaro Herrera [alvh.no-ip.org] - 23 January 2015 12:02 UTC

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

a179232 vacuumdb: enable parallel mode
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(-)

Upstream: git.postgresql.org


  • Share