From 47bc9ced0d0e96523e2c639c7066c9aede189ed7 Mon Sep 17 00:00:00 2001 From: Amit Kapila Date: Wed, 29 Jan 2020 11:08:50 +0530 Subject: 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 --- doc/src/sgml/ref/vacuumdb.sgml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/vacuumdb.sgml b/doc/src/sgml/ref/vacuumdb.sgml index 47d93456f86..775c9ec651b 100644 --- a/doc/src/sgml/ref/vacuumdb.sgml +++ b/doc/src/sgml/ref/vacuumdb.sgml @@ -226,6 +226,24 @@ PostgreSQL documentation + + + + + + Specify the parallel degree of parallel vacuum. + This allows the vacuum to leverage multiple CPUs to process indexes. + See . + + + + This option is only available for servers running + PostgreSQL 13 and later. + + + + + -- cgit v1.2.3