EXPLAIN command
Limited availability
InfluxDB Clustered is currently only available to a limited group of InfluxData customers. If interested in being part of the limited access group, please contact the InfluxData Sales team.
The EXPLAIN
command returns the logical and physical execution plan for the
specified SQL statement.
EXPLAIN [ANALYZE] [VERBOSE] statement
EXPLAIN
Returns the execution plan of a statement.
To output more details, use EXPLAIN VERBOSE
.
Example EXPLAIN ANALYZE
EXPLAIN
SELECT
room,
avg(temp) AS temp
FROM home
GROUP BY room
EXPLAIN ANALYZE
Returns the execution plan and metrics of a statement.
To output more information, use EXPLAIN ANALYZE VERBOSE
.
Example EXPLAIN ANALYZE
EXPLAIN ANALYZE
SELECT
room,
avg(temp) AS temp
FROM home
GROUP BY room
Was this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for InfluxDB and this documentation. To find support, use the following resources:
Customers with an annual or support contract can contact InfluxData Support.