Update guidance for running vacuumdb after pg_upgrade.
authorNathan Bossart
Tue, 18 Mar 2025 21:32:56 +0000 (16:32 -0500)
committerNathan Bossart
Tue, 18 Mar 2025 21:32:56 +0000 (16:32 -0500)
commitc9d502eb68094d817fe94c2e954f6fdbb62f4d48
tree8677ddfbef8a90a709c1d7a0140800b21cca6db8
parentedba754f052ea0c02287080004aa6051eaa4f597
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
Discussion: https://postgr.es/m/Z5O1bpcwDrMgyrYy%40nathan
doc/src/sgml/ref/pgupgrade.sgml
src/bin/pg_upgrade/check.c