mirror of
https://github.com/postgres/postgres.git
synced 2025-06-11 20:28:21 +03:00
Improve docs and error messages for parallel vacuum.
The error messages, docs, and one of the options were using 'parallel degree' to indicate parallelism used by vacuum command. We normally use 'parallel workers' at other places so change it for parallel vacuum accordingly. Author: Bharath Rupireddy Reviewed-by: Dilip Kumar, Amit Kapila Backpatch-through: 13 Discussion: https://postgr.es/m/CALj2ACWz=PYrrFXVsEKb9J1aiX4raA+UBe02hdRp_zqDkrWUiw@mail.gmail.com
This commit is contained in:
@ -275,11 +275,11 @@ PostgreSQL documentation
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>-P <replaceable class="parameter">parallel_degree</replaceable></option></term>
|
||||
<term><option>--parallel=<replaceable class="parameter">parallel_degree</replaceable></option></term>
|
||||
<term><option>-P <replaceable class="parameter">parallel_workers</replaceable></option></term>
|
||||
<term><option>--parallel=<replaceable class="parameter">parallel_workers</replaceable></option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Specify the parallel degree of <firstterm>parallel vacuum</firstterm>.
|
||||
Specify the number of parallel workers for <firstterm>parallel vacuum</firstterm>.
|
||||
This allows the vacuum to leverage multiple CPUs to process indexes.
|
||||
See <xref linkend="sql-vacuum"/>.
|
||||
</para>
|
||||
|
Reference in New Issue
Block a user