See actual runtime, loops, and buffer reads.
Section: Cross-database tools
PostgreSQL EXPLAIN ANALYZE
sql
sql
EXPLAIN (ANALYZE, BUFFERS) SELECT * FROM users WHERE email = 'a@example.com';Explanation
This is often the first stop for PostgreSQL tuning.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Cross-database tools