describe_sql_insight_statistic
Analyze SQL log statistics by querying execution times, cost times, and associated accounts within a specified timeframe for Alibaba Cloud RDS instances.
Instructions
Query SQL Log statistics, including SQL cost time, execution times, and account.
Args:
dbinstance_id (str): The ID of the RDS instance.
start_time(str): the start time of sql insight statistic. e.g. 2025-06-06 20:00:00
end_time(str): the end time of sql insight statistic. e.g. 2025-06-06 20:10:00
Returns:
the sql insight statistic information in csv format.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
dbinstance_id | Yes | ||
end_time | Yes | ||
start_time | Yes |
Input Schema (JSON Schema)
{
"properties": {
"dbinstance_id": {
"title": "Dbinstance Id",
"type": "string"
},
"end_time": {
"title": "End Time",
"type": "string"
},
"start_time": {
"title": "Start Time",
"type": "string"
}
},
"required": [
"dbinstance_id",
"start_time",
"end_time"
],
"title": "describe_sql_insight_statisticArguments",
"type": "object"
}