1
1
<!--
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 $
3
3
-->
4
4
5
5
<Chapter Id="runtime">
@@ -1074,7 +1074,7 @@ SET ENABLE_SEQSCAN TO OFF;
1074
1074
cost reaches a limit (specified by
1075
1075
<varname>vacuum_cost_limit</varname>), the process performing
1076
1076
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
1078
1078
counter and continue execution.
1079
1079
</para>
1080
1080
@@ -1092,7 +1092,7 @@ SET ENABLE_SEQSCAN TO OFF;
1092
1092
1093
1093
<para>
1094
1094
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
1096
1096
value.
1097
1097
</para>
1098
1098
@@ -1143,8 +1143,8 @@ SET ENABLE_SEQSCAN TO OFF;
1143
1143
</listitem>
1144
1144
</varlistentry>
1145
1145
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>
1148
1148
<listitem>
1149
1149
<para>
1150
1150
The length of time, in milliseconds, that the process will nap
@@ -1153,7 +1153,7 @@ SET ENABLE_SEQSCAN TO OFF;
1153
1153
delay feature. Positive values enable cost-based vacuuming.
1154
1154
Note however that on many systems, the effective resolution
1155
1155
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
1157
1157
not a multiple of 10 may have the same results as setting it
1158
1158
to the next higher multiple of 10.
1159
1159
</para>
@@ -1168,10 +1168,10 @@ SET ENABLE_SEQSCAN TO OFF;
1168
1168
delays do not occur during such operations. Therefore it is
1169
1169
possible that the cost accumulates far higher than the specified
1170
1170
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> *
1172
1172
<varname>accumulated_balance</varname> /
1173
1173
<varname>vacuum_cost_limit</varname> with a maximum of
1174
- <varname>vacuum_cost_naptime </varname> * 4.
1174
+ <varname>vacuum_cost_delay </varname> * 4.
1175
1175
</para>
1176
1176
</note>
1177
1177
0 commit comments