aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/misc/postgresql.conf.sample
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2019-03-10 15:05:25 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2019-03-10 15:05:25 -0400
commit52985e4fea75f1ec742742f27e246a8775c99e08 (patch)
tree62fa920f72ec9b5b92e0562c46a1a1619b2ec478 /src/backend/utils/misc/postgresql.conf.sample
parentcaf626b2cd471615914986f18282c03c8282a1f4 (diff)
downloadpostgresql-52985e4fea75f1ec742742f27e246a8775c99e08.tar.gz
postgresql-52985e4fea75f1ec742742f27e246a8775c99e08.zip
Revert "Increase the default vacuum_cost_limit from 200 to 2000"
This reverts commit bd09503e633b8077822bb4daf91625b71ac16253. Per discussion, it seems like what we should do instead is to reduce the default value of autovacuum_vacuum_cost_delay by the same factor. That's functionally equivalent as long as the platform can accurately service the smaller delay request, which should be true on anything released in the last 10 years or more. And smaller, more-closely-spaced delays are better in terms of providing a steady I/O load. Discussion: https://postgr.es/m/28720.1552101086@sss.pgh.pa.us
Diffstat (limited to 'src/backend/utils/misc/postgresql.conf.sample')
-rw-r--r--src/backend/utils/misc/postgresql.conf.sample2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index 417f00a8419..6f97a9ae281 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -159,7 +159,7 @@
#vacuum_cost_page_hit = 1 # 0-10000 credits
#vacuum_cost_page_miss = 10 # 0-10000 credits
#vacuum_cost_page_dirty = 20 # 0-10000 credits
-#vacuum_cost_limit = 2000 # 1-10000 credits
+#vacuum_cost_limit = 200 # 1-10000 credits
# - Background Writer -