Update autovacuum_freeze_max_age documentation to mention that the

default is low because of pg_clog file removal.

Backpatch to 9.0.X.
This commit is contained in:
Bruce Momjian 2010-08-24 13:32:25 +00:00
parent 49b27ab551
commit c107c35df3
1 changed files with 11 additions and 7 deletions

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.307 2010/08/23 02:43:25 tgl Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.308 2010/08/24 13:32:25 momjian Exp $ -->
<chapter Id="runtime-config"> <chapter Id="runtime-config">
<title>Server Configuration</title> <title>Server Configuration</title>
@ -4150,12 +4150,16 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
<para> <para>
Specifies the maximum age (in transactions) that a table's Specifies the maximum age (in transactions) that a table's
<structname>pg_class</>.<structfield>relfrozenxid</> field can <structname>pg_class</>.<structfield>relfrozenxid</> field can
attain before a <command>VACUUM</> operation is forced to allow removal attain before a <command>VACUUM</> operation is forced
of old files from the <filename>pg_clog</> subdirectory and prevent to prevent transaction ID wraparound within the table.
transaction ID wraparound within the table. Note that the system Note that the system will launch autovacuum processes to
will launch autovacuum processes to prevent wraparound even when prevent wraparound even when autovacuum is otherwise disabled.
autovacuum is otherwise disabled. </para>
The default is 200 million transactions.
<para>
Vacuum also allows removal of old files from the
<filename>pg_clog</> subdirectory, which is why the default
is a relatively low 200 million transactions.
This parameter can only be set at server start, but the setting This parameter can only be set at server start, but the setting
can be reduced for individual tables by can be reduced for individual tables by
changing storage parameters. changing storage parameters.