-
+
Server Configuration
Specifies the minimum number of updated or deleted tuples needed
to trigger a VACUUM> in any one table.
- The default is 1000.
+ The default is 500.
This parameter can only be set in the postgresql.conf>
file or on the server command line.
This setting can be overridden for individual tables by entries in
Specifies the minimum number of inserted, updated or deleted tuples
needed to trigger an ANALYZE> in any one table.
- The default is 500.
+ The default is 250.
This parameter can only be set in the postgresql.conf>
file or on the server command line.
This setting can be overridden for individual tables by entries in
Specifies a fraction of the table size to add to
autovacuum_vacuum_threshold
when deciding whether to trigger a VACUUM>.
- The default is 0.4.
+ The default is 0.2.
This parameter can only be set in the postgresql.conf>
file or on the server command line.
This setting can be overridden for individual tables by entries in
Specifies a fraction of the table size to add to
autovacuum_analyze_threshold
when deciding whether to trigger an ANALYZE>.
- The default is 0.2.
+ The default is 0.1.
This parameter can only be set in the postgresql.conf>
file or on the server command line.
This setting can be overridden for individual tables by entries in
* Written by Peter Eisentraut
.
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.349 2006/09/02 23:04:20 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.350 2006/09/02 23:12:16 momjian Exp $
*
*--------------------------------------------------------------------
*/
NULL
},
&autovacuum_vac_thresh,
- 1000, 0, INT_MAX, NULL, NULL
+ 500, 0, INT_MAX, NULL, NULL
},
{
{"autovacuum_analyze_threshold", PGC_SIGHUP, AUTOVACUUM,
NULL
},
&autovacuum_anl_thresh,
- 500, 0, INT_MAX, NULL, NULL
+ 250, 0, INT_MAX, NULL, NULL
},
{
NULL
},
&autovacuum_vac_scale,
- 0.4, 0.0, 100.0, NULL, NULL
+ 0.2, 0.0, 100.0, NULL, NULL
},
{
{"autovacuum_analyze_scale_factor", PGC_SIGHUP, AUTOVACUUM,
NULL
},
&autovacuum_anl_scale,
- 0.2, 0.0, 100.0, NULL, NULL
+ 0.1, 0.0, 100.0, NULL, NULL
},
/* End-of-list marker */
#autovacuum = off # enable autovacuum subprocess?
#autovacuum_naptime = 60 # time between autovacuum runs, in secs
-#autovacuum_vacuum_threshold = 1000 # min # of tuple updates before
+#autovacuum_vacuum_threshold = 500 # min # of tuple updates before
# vacuum
-#autovacuum_analyze_threshold = 500 # min # of tuple updates before
+#autovacuum_analyze_threshold = 250 # min # of tuple updates before
# analyze
-#autovacuum_vacuum_scale_factor = 0.4 # fraction of rel size before
+#autovacuum_vacuum_scale_factor = 0.2 # fraction of rel size before
# vacuum
-#autovacuum_analyze_scale_factor = 0.2 # fraction of rel size before
+#autovacuum_analyze_scale_factor = 0.1 # fraction of rel size before
# analyze
#autovacuum_vacuum_cost_delay = -1 # default vacuum cost delay for
# autovac, -1 means use