explain_query
Analyze SQL query performance by retrieving its execution plan. Optionally execute the query for deeper analysis.
Instructions
Get query execution plan to analyze performance
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | SQL query to explain | |
| analyze | No | Whether to execute the query (EXPLAIN ANALYZE) |