Commit 41badeab authored by Alvaro Herrera's avatar Alvaro Herrera

Document ANALYZE storage parameters for partitioned tables

Commit 0827e8af added parameters for autovacuum to support
partitioned tables, but didn't add any docs.  Add them.

Discussion: https://postgr.es/m/20210408213051.GL6592@telsasoft.com
parent 0e69f705
...@@ -1369,8 +1369,8 @@ WITH ( MODULUS <replaceable class="parameter">numeric_literal</replaceable>, REM ...@@ -1369,8 +1369,8 @@ WITH ( MODULUS <replaceable class="parameter">numeric_literal</replaceable>, REM
If a table parameter value is set and the If a table parameter value is set and the
equivalent <literal>toast.</literal> parameter is not, the TOAST table equivalent <literal>toast.</literal> parameter is not, the TOAST table
will use the table's parameter value. will use the table's parameter value.
Specifying these parameters for partitioned tables is not supported, Except where noted, these parameters are not supported on partitioned
but you may specify them for individual leaf partitions. tables; however, you can specify them on individual leaf partitions.
</para> </para>
<variablelist> <variablelist>
...@@ -1452,6 +1452,8 @@ WITH ( MODULUS <replaceable class="parameter">numeric_literal</replaceable>, REM ...@@ -1452,6 +1452,8 @@ WITH ( MODULUS <replaceable class="parameter">numeric_literal</replaceable>, REM
If true, the autovacuum daemon will perform automatic <command>VACUUM</command> If true, the autovacuum daemon will perform automatic <command>VACUUM</command>
and/or <command>ANALYZE</command> operations on this table following the rules and/or <command>ANALYZE</command> operations on this table following the rules
discussed in <xref linkend="autovacuum"/>. discussed in <xref linkend="autovacuum"/>.
This parameter can be set for partitioned tables to prevent autovacuum
from running <command>ANALYZE</command> on them.
If false, this table will not be autovacuumed, except to prevent If false, this table will not be autovacuumed, except to prevent
transaction ID wraparound. See <xref linkend="vacuum-for-wraparound"/> for transaction ID wraparound. See <xref linkend="vacuum-for-wraparound"/> for
more about wraparound prevention. more about wraparound prevention.
...@@ -1576,6 +1578,7 @@ WITH ( MODULUS <replaceable class="parameter">numeric_literal</replaceable>, REM ...@@ -1576,6 +1578,7 @@ WITH ( MODULUS <replaceable class="parameter">numeric_literal</replaceable>, REM
<para> <para>
Per-table value for <xref linkend="guc-autovacuum-analyze-threshold"/> Per-table value for <xref linkend="guc-autovacuum-analyze-threshold"/>
parameter. parameter.
This parameter can be set for partitioned tables.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
...@@ -1591,6 +1594,7 @@ WITH ( MODULUS <replaceable class="parameter">numeric_literal</replaceable>, REM ...@@ -1591,6 +1594,7 @@ WITH ( MODULUS <replaceable class="parameter">numeric_literal</replaceable>, REM
<para> <para>
Per-table value for <xref linkend="guc-autovacuum-analyze-scale-factor"/> Per-table value for <xref linkend="guc-autovacuum-analyze-scale-factor"/>
parameter. parameter.
This parameter can be set for partitioned tables.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment