explain_sql
Retrieve the execution plan of a SQL query on an Alibaba Cloud RDS instance to identify performance issues and optimize queries.
Instructions
show sql execute plan
Args:
dbinstance_id (str): The ID of the RDS instance.
region_id(str): the region id of instance.
db_name(str): the db name for table.
sql(str): the target sql.
Returns:
the sql execute plan.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | ||
| db_name | Yes | ||
| region_id | Yes | ||
| dbinstance_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |