X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/eaf53e497a3a6e85cb4fec4431a8f72ddcf7a2c3..a8e08a1c4cb78c7af95b8d498a4f120b7967388c:/cookbooks/nominatim/templates/default/vacuum-db-nominatim.erb diff --git a/cookbooks/nominatim/templates/default/vacuum-db-nominatim.erb b/cookbooks/nominatim/templates/default/vacuum-db-nominatim.erb index 112159717..ce027f606 100644 --- a/cookbooks/nominatim/templates/default/vacuum-db-nominatim.erb +++ b/cookbooks/nominatim/templates/default/vacuum-db-nominatim.erb @@ -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 -