Inspect actual execution behavior.
Section: Plan inspection
Explain with runtime stats
sql
sql
EXPLAIN (ANALYZE, BUFFERS)
SELECT *
FROM orders
WHERE shipped_at IS NULL
ORDER BY created_at DESC
LIMIT 100;Explanation
This is one of the most useful PostgreSQL performance tools for validating index choices.
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 Plan inspection