rds__ListSlowlogStatistics
Retrieves slow query log statistics for a specified RDS instance and time range, letting you filter by statement type and sort by execution time or frequency to analyze database performance.
Instructions
[RDS] 获取慢日志统计信息
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": {
"cur_page": "<cur_page>",
"end_date": "<end_date>",
"instance_id": "<instance_id>",
"per_page": "<per_page>",
"project_id": "<project_id>",
"start_date": "<start_date>",
"type": "<type>"
},
"name": "rds__ListSlowlogStatistics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | 取值范围:"executeTime",表示按执行时间降序排序,不传或者传其他表示按执行次数降序排序 | |
| type | Yes | 语句类型,ALL表示查询所有语句类型,也可指定日志类型 | |
| cur_page | Yes | 当前页号 | |
| end_date | Yes | 结束时间,格式为“yyyy-mm-ddThh:mm:ssZ”。其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。 | |
| per_page | Yes | 每页多少条记录,取值范围0~100 | |
| project_id | Yes | 项目ID。 | |
| start_date | Yes | 开始时间,格式为“yyyy-mm-ddThh:mm:ssZ”。其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。 | |
| instance_id | Yes | 实例ID。 |