PostgreSQL: analyze after a bulk load

After import, the planner may make poor choices until statistics are refreshed.

psql -d appdb -c "vacuum (analyze, verbose);"
psql -d appdb -c "select relname, last_analyze from pg_stat_user_tables order by last_analyze desc limit 10;"

Verify the result

last_analyze should update for changed tables.