X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/af1a59fc67295417b458e3ae1a594c0c0374db87..e70f2280a019f3147d2a53ba614e5604d8487b57:/cookbooks/nominatim/templates/default/vacuum-db-nominatim.erb?ds=sidebyside diff --git a/cookbooks/nominatim/templates/default/vacuum-db-nominatim.erb b/cookbooks/nominatim/templates/default/vacuum-db-nominatim.erb index e1be595e9..ce027f606 100644 --- a/cookbooks/nominatim/templates/default/vacuum-db-nominatim.erb +++ b/cookbooks/nominatim/templates/default/vacuum-db-nominatim.erb @@ -6,8 +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' - -for i in `seq 0 250`; do - psql -q -d <%= @db %> -c "VACUUM ANALYSE search_name_${i}" -done -