mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Reduce the maximum value of vacuum_cost_delay and autovacuum_vacuum_cost_delay
to 100ms (from 1000). This still seems to be comfortably larger than the useful range of the parameter, and it should help discourage people from picking uselessly large values. Tweak the documentation to recommend small values, too. Per discussion of a couple weeks ago.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.210 2009/02/24 12:09:08 petere Exp $ -->
|
||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.211 2009/02/28 00:10:50 tgl Exp $ -->
|
||||
|
||||
<chapter Id="runtime-config">
|
||||
<title>Server Configuration</title>
|
||||
@@ -1010,7 +1010,8 @@ SET ENABLE_SEQSCAN TO OFF;
|
||||
</para>
|
||||
|
||||
<para>
|
||||
This feature is disabled by default. To enable it, set the
|
||||
This feature is disabled by default for manually issued
|
||||
<command>VACUUM</command> commands. To enable it, set the
|
||||
<varname>vacuum_cost_delay</varname> variable to a nonzero
|
||||
value.
|
||||
</para>
|
||||
@@ -1033,6 +1034,13 @@ SET ENABLE_SEQSCAN TO OFF;
|
||||
not a multiple of 10 might have the same results as setting it
|
||||
to the next higher multiple of 10.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
When using cost-based vacuuming, appropriate values for
|
||||
<varname>vacuum_cost_delay</> are usually quite small, perhaps
|
||||
10 or 20 milliseconds. Adjusting vacuum's resource consumption
|
||||
is best done by changing the other vacuum cost parameters.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
|
Reference in New Issue
Block a user