Write a SELECT and click Explain (Ctrl+Shift+E) to see how the database plans to run it, as a graph instead of a wall of text.
Explain never runs your query and never adds timing to it, so it is safe on production. The plan comes back styled for the engine: a query-plan tree on SQLite, JSON plans on PostgreSQL and MySQL, and the estimated plan on SQL Server.
Read the plan
Results switch between Plan, Raw plan and Columns. Click a node — or move with the arrow keys — to read its details: how many rows each step expects, its cost, the index it uses, and where it sits in the tree. The links follow the database's own parent structure; nothing is invented.
If a plan cannot be drawn well — SQLite bytecode, an unusual format, or more than 128 nodes — the raw plan is shown in the ordinary grid instead.
Measure it for real
Analyze (Ctrl+Shift+A) runs the statement once to measure it. It asks first, showing the exact statement, because a query that takes a long time will take that long here too. It accepts a single plain SELECT, uses your placeholders and timeouts, and can be cancelled like any query.
Afterwards each step shows measured rows, time and loops beside the estimate, so it is easy to spot where the estimate went wrong. On SQLite and MariaDB the query is simply timed once and the estimate is shown with that time.
Ask about a plan
Ask agent opens the review panel with the plan and the SQL, and sends nothing until you click Send to agent. The answer fills in a summary and an explanation for each selected step, and may suggest an index — nothing is ever applied for you.
Viewing a plan works in every edition. Asking the agent about it comes with Personal and Team.
