]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/postgresql/attributes/default.rb
Reduce squid memory usage on noomoahk
[chef.git] / cookbooks / postgresql / attributes / default.rb
index 5829b9fe31650c1b5de52389320cb77d1bf4e43d..dce61724fdf3ee97979813a2e3f26a9b1a8a44ed 100644 (file)
@@ -29,6 +29,8 @@ default[:postgresql][:settings][:defaults][:effective_cache_size] = "128MB"
 default[:postgresql][:settings][:defaults][:log_min_duration_statement] = "-1"
 default[:postgresql][:settings][:defaults][:track_activity_query_size] = "1024"
 default[:postgresql][:settings][:defaults][:autovacuum_max_workers] = "3"
+default[:postgresql][:settings][:defaults][:autovacuum_vacuum_scale_factor] = "0.2"
+default[:postgresql][:settings][:defaults][:autovacuum_analyze_scale_factor] = "0.1"
 default[:postgresql][:settings][:defaults][:user_name_maps] = {}
 default[:postgresql][:settings][:defaults][:early_authentication_rules] = []
 default[:postgresql][:settings][:defaults][:late_authentication_rules] = []