EXPLAIN Visualization
Click Explain in the query editor toolbar to get the execution plan. PostgreSQL shows a dropdown with EXPLAIN (estimated plan) and EXPLAIN ANALYZE (runs the query and shows actual timing). MySQL, MariaDB, SQLite, and other databases show a single Explain button.
View Modes
Toggle between three views using the segmented control above the results: Diagram shows the plan as boxes connected by arrows, top to bottom. Nodes are color-coded by cost: green (cheap) to red (expensive). Click a node to see full details in a popover. Zoom controls are in the bottom-right corner.
Database Support
| Database | Format | Variants |
|---|---|---|
| PostgreSQL | JSON (parsed into diagram/tree) | EXPLAIN, EXPLAIN ANALYZE |
| MySQL/MariaDB | JSON (parsed into diagram/tree) | EXPLAIN |
| SQLite | EXPLAIN QUERY PLAN (parsed into tree) | Explain |
| ClickHouse | Indented text | Plan, Pipeline, AST, Syntax, Estimate |
| DuckDB | Indented text | Explain |
| Cloudflare D1 | EXPLAIN QUERY PLAN | Query Plan |
| BigQuery | Dry run cost estimate | Dry Run |
Plan Details
Each node in the plan shows:- Operation: Seq Scan, Index Scan, Hash Join, Nested Loop, Sort, etc.
- Table: which table the operation accesses
- Cost: startup and total cost estimates (PostgreSQL format: 0.00..45.18)
- Rows: estimated number of rows
- Actual time: real execution time per node (EXPLAIN ANALYZE only)
EXPLAIN does not execute the query. EXPLAIN ANALYZE executes it and shows actual timing; use it cautiously on production systems.


