explain_query
Analyze SQL query performance by generating execution plans to identify optimization opportunities and understand query behavior.
Instructions
Get the execution plan for a SQL query to analyze performance
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The SQL query to analyze | |
| database | No | Optional: Database name to use for this query | |
| include_actual_plan | No | Include actual execution statistics (optional, defaults to false) |