Explain Query
explain_queryAnalyze SQL query performance by retrieving the execution plan. Identify bottlenecks and optimize queries.
Instructions
获取SQL查询的执行计划,用于分析查询性能
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | 需要分析的SQL查询语句 | |
| database | No | 可选,指定数据库 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |