3 # DO NOT EDIT - This file is being maintained by Chef
6 # Vaccum all tables with indices on integer arrays.
7 # Agressive vacuuming seems to help against index bloat.
8 psql -q -d nominatim -c 'VACUUM ANALYSE search_name'
9 psql -q -d nominatim -c 'VACUUM ANALYSE search_name_country'
11 for i in `seq 0 246`; do
12 psql -q -d nominatim -c "VACUUM ANALYSE search_name_${i}"
15 <% if node[:postgresql][:settings][:defaults][:archive_mode] == "on" -%>
17 # Cleanup archive directory
18 #find -L /data/postgresql-archive -mmin +1440 -print0 | xargs -0r rm