InletDownload

EXPLAIN, explained

What each step of a query plan does, when the planner picks it, and what to change when it’s the slow part. Every example is a real plan from a real server.

Paste a plan, see where the time goesThe free plan visualizer draws EXPLAIN output as a tree and marks the slowest step. Nothing leaves your browser.Open the visualizer →

Reading the numbers

PostgreSQL plan nodes

MySQL EXPLAIN