“It takes more time, and you don't have
any statistics on a given table until the ANALYZE on that table completes. How long did "vacuumdb --analyze-only --jobs=$mumble your_db" take?”
"vacuumdb --all --analyze-only --jobs=7" took about 75 minutes where the analyze-in-stages after upgrade took 115 minutes. Neither of these activities analyzed the
parent tables. Reading more and it seems vacuumdb doesn’t analyze parent tables and a manual analyze on those is needed if we want better planner statistics.
|