Update guidance for running vacuumdb after pg_upgrade.
Nathan Bossart <nathan@postgresql.org>
Update guidance for running vacuumdb after pg_upgrade. Now that pg_upgrade can carry over most optimizer statistics, we should recommend using vacuumdb's new --missing-stats-only option to only analyze relations that are missing statistics. Reviewed-by: John Naylor <johncnaylorls@gmail.com> Discussion: https://postgr.es/m/Z5O1bpcwDrMgyrYy%40nathan
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/pgupgrade.sgml | modified | +5 −4 |
| src/bin/pg_upgrade/check.c | modified | +1 −1 |
Documentation touched
Discussion
- vacuumdb changes for stats import/export 36 messages · 2025-01-24 → 2025-07-30