by timacles · 1y ago · 0 comments
The main challenge with that is running an ANALYZE on all the tables though, that took like 30 minutes during which time the DB was unusable
From personal experience, most of the queries become useable after the first stage has completed which on my 8TB database took less than 5 minutes
After pg_upgrade, no stats will be available for the optimizer which means that any query will more or less sequence-scan all affected tables.