> Have you run an analyze on all your tables after the upgrade to 10? The estimates are way off.
Thank you. I embarrassingly missed that step. That fixed the problem. In the future, if estimates are way off… I’ll run analyze.