]> git.openstreetmap.org Git - nominatim.git/commitdiff
fix number of vacuumed tables
authorSarah Hoffmann <lonvia@denofr.de>
Fri, 4 May 2018 20:03:46 +0000 (22:03 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Fri, 4 May 2018 20:03:46 +0000 (22:03 +0200)
thanks @mtmail

utils/cron_vacuum.sh

index 4c16fc65079277afcb106468d4533416e3a784d3..3ea43dee31020c73b81f84593d4446a07c0a57ae 100755 (executable)
@@ -8,7 +8,7 @@ psql -q -d nominatim -c 'VACUUM ANALYSE search_name'
 psql -q -d nominatim -c 'VACUUM ANALYSE search_name_country'
 #psql -q -d nominatim -c 'VACUUM ANALYSE planet_osm_ways'
 
 psql -q -d nominatim -c 'VACUUM ANALYSE search_name_country'
 #psql -q -d nominatim -c 'VACUUM ANALYSE planet_osm_ways'
 
-for i in `seq 0 246`; do
+for i in `seq 0 250`; do
   psql -q -d nominatim -c "VACUUM ANALYSE search_name_${i}"
 done
 
   psql -q -d nominatim -c "VACUUM ANALYSE search_name_${i}"
 done