11<!--
2- $PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.272 2004/08/05 23:32:10 tgl Exp $
2+ $PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.273 2004/08/06 04:15:07 momjian Exp $
33-->
44
55<Chapter Id="runtime">
@@ -1074,7 +1074,7 @@ SET ENABLE_SEQSCAN TO OFF;
10741074 cost reaches a limit (specified by
10751075 <varname>vacuum_cost_limit</varname>), the process performing
10761076 the operation will sleep for a while (specified by
1077- <varname>vacuum_cost_naptime </varname>). Then it will reset the
1077+ <varname>vacuum_cost_delay </varname>). Then it will reset the
10781078 counter and continue execution.
10791079 </para>
10801080
@@ -1092,7 +1092,7 @@ SET ENABLE_SEQSCAN TO OFF;
10921092
10931093 <para>
10941094 This feature is disabled by default. To enable it, set the
1095- <varname>vacuum_cost_naptime </varname> variable to a nonzero
1095+ <varname>vacuum_cost_delay </varname> variable to a nonzero
10961096 value.
10971097 </para>
10981098
@@ -1143,8 +1143,8 @@ SET ENABLE_SEQSCAN TO OFF;
11431143 </listitem>
11441144 </varlistentry>
11451145
1146- <varlistentry id="guc-vacuum-cost-naptime " xreflabel="vacuum_cost_naptime ">
1147- <term><varname>vacuum_cost_naptime </varname> (<type>integer</type>)</term>
1146+ <varlistentry id="guc-vacuum-cost-delay " xreflabel="vacuum_cost_delay ">
1147+ <term><varname>vacuum_cost_delay </varname> (<type>integer</type>)</term>
11481148 <listitem>
11491149 <para>
11501150 The length of time, in milliseconds, that the process will nap
@@ -1153,7 +1153,7 @@ SET ENABLE_SEQSCAN TO OFF;
11531153 delay feature. Positive values enable cost-based vacuuming.
11541154 Note however that on many systems, the effective resolution
11551155 of sleep delays is 10 milliseconds; setting
1156- <varname>vacuum_cost_naptime </varname> to a value that is
1156+ <varname>vacuum_cost_delay </varname> to a value that is
11571157 not a multiple of 10 may have the same results as setting it
11581158 to the next higher multiple of 10.
11591159 </para>
@@ -1168,10 +1168,10 @@ SET ENABLE_SEQSCAN TO OFF;
11681168 delays do not occur during such operations. Therefore it is
11691169 possible that the cost accumulates far higher than the specified
11701170 limit. To avoid uselessly long delays in such cases, the actual
1171- naptime is calculated as <varname>vacuum_cost_naptime </varname> *
1171+ delay is calculated as <varname>vacuum_cost_delay </varname> *
11721172 <varname>accumulated_balance</varname> /
11731173 <varname>vacuum_cost_limit</varname> with a maximum of
1174- <varname>vacuum_cost_naptime </varname> * 4.
1174+ <varname>vacuum_cost_delay </varname> * 4.
11751175 </para>
11761176 </note>
11771177