diff --git a/doc/src/sgml/ref/create_table.sgml b/doc/src/sgml/ref/create_table.sgml index 166078410c..2ce7a0cdbc 100644 --- a/doc/src/sgml/ref/create_table.sgml +++ b/doc/src/sgml/ref/create_table.sgml @@ -1344,6 +1344,21 @@ WITH ( MODULUS numeric_literal, REM + + vacuum_index_cleanup (boolean) + + + Enables or disables index cleanup when VACUUM is + run on this table. The default value is true. + Disabling index cleanup can speed of VACUUM very + significantly, but may also lead to severely bloated indexes if table + modifications are frequent. The INDEX_CLEANUP + parameter to , if specified, overrides + the value of this option. + + + + autovacuum_vacuum_threshold, toast.autovacuum_vacuum_threshold (integer) diff --git a/doc/src/sgml/ref/vacuum.sgml b/doc/src/sgml/ref/vacuum.sgml index 906d0c2ad7..13b9735c22 100644 --- a/doc/src/sgml/ref/vacuum.sgml +++ b/doc/src/sgml/ref/vacuum.sgml @@ -32,6 +32,7 @@ VACUUM [ FULL ] [ FREEZE ] [ VERBOSE ] [ ANALYZE ] [ boolean ] DISABLE_PAGE_SKIPPING [ boolean ] SKIP_LOCKED [ boolean ] + INDEX_CLEANUP [ boolean ] and table_and_columns is: @@ -181,6 +182,28 @@ VACUUM [ FULL ] [ FREEZE ] [ VERBOSE ] [ ANALYZE ] [ ). However, if index + cleanup is not performed regularly, performance may suffer, because + as the table is modified, indexes will accumulate dead line pointers + and the table itself will accumulate dead line pointers that cannot be + removed until index cleanup is completed. This option has no effect + when FULL is used or for tables that do not have + an index. + + + + boolean