summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2006-08-29 11:37:47 +0000
committerPeter Eisentraut <peter_e@gmx.net>2006-08-29 11:37:47 +0000
commitba9f9bf1b103d72196d76646c6fcc71abbdd51f5 (patch)
treed2da65bb873eb5a572bfe15b8f570cfe1bf3cf8f /doc/src
parentf443258d4fd19d62dbd5a3b9a5fe8c7f317e237d (diff)
Revert change to turn autovacuum on by default.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/config.sgml15
-rw-r--r--doc/src/sgml/maintenance.sgml10
2 files changed, 11 insertions, 14 deletions
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 22de6b746af..db78a51e6b0 100644
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.77 2006/08/29 02:11:29 momjian Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.78 2006/08/29 11:37:47 petere Exp $ -->
<chapter Id="runtime-config">
<title>Server Configuration</title>
@@ -383,7 +383,7 @@ SET ENABLE_SEQSCAN TO OFF;
</para>
<para>
- The default value is 3. The value must be less than the value of
+ The default value is 2. The value must be less than the value of
<varname>max_connections</varname>. This parameter can only be
set at server start.
</para>
@@ -2990,8 +2990,7 @@ SELECT * FROM parent WHERE key = 2400;
<listitem>
<para>
Enables the collection of row-level statistics on database
- activity. This parameter is on by default, because the autovacuum
- daemon needs the collected information.
+ activity. This parameter is off by default.
Only superusers can change this setting.
</para>
</listitem>
@@ -3114,7 +3113,7 @@ SELECT * FROM parent WHERE key = 2400;
<para>
Specifies the minimum number of updated or deleted tuples needed
to trigger a <command>VACUUM</> in any one table.
- The default is 500.
+ The default is 1000.
This parameter can only be set in the <filename>postgresql.conf</>
file or on the server command line.
This setting can be overridden for individual tables by entries in
@@ -3132,7 +3131,7 @@ SELECT * FROM parent WHERE key = 2400;
<para>
Specifies the minimum number of inserted, updated or deleted tuples
needed to trigger an <command>ANALYZE</> in any one table.
- The default is 250.
+ The default is 500.
This parameter can only be set in the <filename>postgresql.conf</>
file or on the server command line.
This setting can be overridden for individual tables by entries in
@@ -3151,7 +3150,7 @@ SELECT * FROM parent WHERE key = 2400;
Specifies a fraction of the table size to add to
<varname>autovacuum_vacuum_threshold</varname>
when deciding whether to trigger a <command>VACUUM</>.
- The default is 0.2.
+ The default is 0.4.
This parameter can only be set in the <filename>postgresql.conf</>
file or on the server command line.
This setting can be overridden for individual tables by entries in
@@ -3170,7 +3169,7 @@ SELECT * FROM parent WHERE key = 2400;
Specifies a fraction of the table size to add to
<varname>autovacuum_analyze_threshold</varname>
when deciding whether to trigger an <command>ANALYZE</>.
- The default is 0.1.
+ The default is 0.2.
This parameter can only be set in the <filename>postgresql.conf</>
file or on the server command line.
This setting can be overridden for individual tables by entries in
diff --git a/doc/src/sgml/maintenance.sgml b/doc/src/sgml/maintenance.sgml
index 9eaa4ad6da0..3a33286d3d7 100644
--- a/doc/src/sgml/maintenance.sgml
+++ b/doc/src/sgml/maintenance.sgml
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/maintenance.sgml,v 1.60 2006/08/28 13:37:18 petere Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/maintenance.sgml,v 1.61 2006/08/29 11:37:47 petere Exp $ -->
<chapter id="maintenance">
<title>Routine Database Maintenance Tasks</title>
@@ -447,14 +447,14 @@ HINT: Stop the postmaster and use a standalone backend to VACUUM in "mydb".
</sect2>
<sect2 id="autovacuum">
- <title id="autovacuum-title">The autovacuum daemon</title>
+ <title id="autovacuum-title">The auto-vacuum daemon</title>
<indexterm>
<primary>autovacuum</primary>
<secondary>general information</secondary>
</indexterm>
<para>
- There is a
+ Beginning in <productname>PostgreSQL </productname> 8.1, there is a
separate optional server process called the <firstterm>autovacuum
daemon</firstterm>, whose purpose is to automate the execution of
<command>VACUUM</command> and <command>ANALYZE </command> commands.
@@ -465,9 +465,7 @@ HINT: Stop the postmaster and use a standalone backend to VACUUM in "mydb".
linkend="guc-stats-start-collector"> and <xref
linkend="guc-stats-row-level"> are set to <literal>true</literal>. Also,
it's important to allow a slot for the autovacuum process when choosing
- the value of <xref linkend="guc-superuser-reserved-connections">. In
- the default configuration, autovacuuming is enabled and the related
- configuration parameters are appropriately set.
+ the value of <xref linkend="guc-superuser-reserved-connections">.
</para>
<para>