What EXPLAIN is silent about, and how to get it talking?
A classic question that a developer brings to their DBA or a business owner to a PostgreSQL consultant almost always sounds the same: 'Why do queries take so long on the database?' The traditional set of reasons: inefficient algorithm when you decided to JOIN several CTEs with a couple of tens of thousands of records; outdated statistics if the actual data distribution in the table is already significantly […]
