explain_query
Explain a SQL query's execution plan and optionally simulate hypothetical indexes to identify performance bottlenecks and optimize queries.
Instructions
Explain a SQL query and optionally simulate hypothetical indexes
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | SQL query to explain | |
| analyze | No | Execute the statement to collect actual statistics | |
| hypothetical_indexes | No | Hypothetical index definitions |