1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-07 00:36:50 +03:00

Reduce the default value of autovacuum_vacuum_cost_delay to 2ms.

This is a better way to implement the desired change of increasing
autovacuum's default resource consumption.

Discussion: https://postgr.es/m/28720.1552101086@sss.pgh.pa.us
This commit is contained in:
Tom Lane
2019-03-10 15:16:21 -04:00
parent 52985e4fea
commit cbccac371c
3 changed files with 3 additions and 3 deletions

View File

@ -3312,7 +3312,7 @@ static struct config_real ConfigureNamesReal[] =
GUC_UNIT_MS
},
&autovacuum_vac_cost_delay,
20, -1, 100,
2, -1, 100,
NULL, NULL, NULL
},

View File

@ -589,7 +589,7 @@
#autovacuum_multixact_freeze_max_age = 400000000 # maximum multixact age
# before forced vacuum
# (change requires restart)
#autovacuum_vacuum_cost_delay = 20ms # default vacuum cost delay for
#autovacuum_vacuum_cost_delay = 2ms # default vacuum cost delay for
# autovacuum, in milliseconds;
# -1 means use vacuum_cost_delay
#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for