EXPLAIN ANALYZE or EXPLAIN (ANALYZE, BUFFERS)?
UPDATE 2025: Starting with Postgres 18, the `BUFFERS` option becomes default in `EXPLAIN ANALYZE`, which is great news.
UPDATE 2025: Starting with Postgres 18, the `BUFFERS` option becomes default in `EXPLAIN ANALYZE`, which is great news.
"Slow" is a relative concept. In some cases, we might be happy with query latency 1 minute (or no?), while in other
// I post a new PostgreSQL "howto" article every day. Join me in this journey – subscribe, provide feedback, share!
Two branches of query optimization