Add --parallel option to vacuumdb command.
Amit Kapila <akapila@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/vacuumdb.sgml | modified | +18 −0 |
| src/bin/scripts/t/100_vacuumdb.pl | modified | +12 −1 |
| src/bin/scripts/vacuumdb.c | modified | +46 −1 |
Documentation touched
Discussion
- Re: [HACKERS] Block level parallel vacuum 408 messages · 2018-08-14 → 2020-01-30