]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/templates/default/vacuum-db-nominatim.erb
Fix log rotation on web servers
[chef.git] / cookbooks / nominatim / templates / default / vacuum-db-nominatim.erb
index 112159717372f6f4566e8d5319a0443f7e846fdb..ce027f6063833d855cb0a43f7d55a2c53b5e81a3 100644 (file)
@@ -6,9 +6,3 @@
 # Vaccum all tables with indices on integer arrays.
 # Agressive vacuuming seems to help against index bloat.
 psql -q -d <%= @db %> -c 'VACUUM ANALYSE search_name'
-psql -q -d <%= @db %> -c 'VACUUM ANALYSE search_name_country'
-
-for i in `seq 0 250`; do
-  psql -q -d <%= @db %> -c "VACUUM ANALYSE search_name_${i}"
-done
-