Skip to content
Pivot is in early development and is not production ready. See Project status.

EXPLAIN

EXPLAIN shows the physical plan for a query without running the query.

EXPLAIN
SELECT name, total_rows
FROM system.tables
WHERE total_rows > 1000
ORDER BY total_rows DESC
LIMIT 10;
EXPLAIN query;

Pass a query after EXPLAIN to inspect how Pivot plans to scan, filter, join, or aggregate its inputs. The referenced tables must be available to the planner.

EXPLAIN ANALYZE is not supported. EXPLAIN describes a plan; it does not measure that plan’s runtime.