Production query plans without production data

46 points by sjamaan


simonw

This article is great.

I didn't know that PostgreSQL 18 added these features - the ability to export the query planner affecting statistics and load them into a smaller test database such that the query planner makes the same decisions as production - and they're clearly explained here.

This feels like a very PostgreSQL feature to me - powerful, cleanly designed and pragmatically addressing an issue that affects large scale production workloads.