das__ShowSqlExecutionPlan
Retrieves the execution plan for a specified SQL statement on a Huawei Cloud database instance, helping you inspect query behavior and diagnose performance issues before optimization.
Instructions
[DAS] 查询SQL执行计划。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"database": "<database>",
"db_user_id": "<db_user_id>",
"instance_id": "<instance_id>",
"project_id": "<project_id>",
"sql": "<sql>"
},
"name": "das__ShowSqlExecutionPlan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | SQL语句 | |
| database | Yes | 数据库名称 | |
| db_user_id | Yes | 数据库用户ID。用户使用数据库账号与数据库建立的连接ID(数据库用户ID由注册数据库用户接口创建)。 | |
| project_id | Yes | 项目ID | |
| instance_id | Yes | 实例ID |