PostgreSQL Partition Pruning: Fast Queries Only When the Planner Can Prove It
We partitioned a table by month and the dashboard was still slow. Partitioning only helps when the planner can prune — and ours couldn't, because the queries didn't filter on the partition key.