]> git.openstreetmap.org Git - nominatim.git/blobdiff - utils/cron_vacuum.sh
Merge remote-tracking branch 'upstream/master'
[nominatim.git] / utils / cron_vacuum.sh
index f33e8bb09eec6a0a6764cf179121c11724cddc01..4c16fc65079277afcb106468d4533416e3a784d3 100755 (executable)
@@ -4,11 +4,11 @@
 # Agressive vacuuming seems to help against index bloat.
 #
 
 # Agressive vacuuming seems to help against index bloat.
 #
 
-psql -d nominatim -c 'VACUUM ANALYSE search_name' >/dev/null
-psql -d nominatim -c 'VACUUM ANALYSE search_name_country' >/dev/null
-psql -d nominatim -c 'VACUUM ANALYSE planet_osm_ways' >/dev/null
+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'
 
 for i in `seq 0 246`; do
 
 for i in `seq 0 246`; do
-  psql -d nominatim -c "VACUUM ANALYSE search_name_${i}" >/dev/null
+  psql -q -d nominatim -c "VACUUM ANALYSE search_name_${i}"
 done
 
 done