X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/82b3ad7a5242b09f6ad221e2d027ca1c060ff36e..c603ccce31f031253351353f4056197684d9ff81:/utils/cron_vacuum.sh diff --git a/utils/cron_vacuum.sh b/utils/cron_vacuum.sh index f33e8bb0..4c16fc65 100755 --- a/utils/cron_vacuum.sh +++ b/utils/cron_vacuum.sh @@ -4,11 +4,11 @@ # 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 - psql -d nominatim -c "VACUUM ANALYSE search_name_${i}" >/dev/null + psql -q -d nominatim -c "VACUUM ANALYSE search_name_${i}" done