explain_sql
Analyze and display the execution plan for SQL queries on Alibaba Cloud RDS, helping optimize database performance by identifying query inefficiencies.
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
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db_name | Yes | ||
| dbinstance_id | Yes | ||
| region_id | Yes | ||
| sql | Yes |