explain_query
Retrieve the execution plan for a SQL query to analyze and improve database performance.
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) |