rds__ListSlowLogs
Query Huawei Cloud RDS slow query logs for a specific instance and date range, with optional statement-type filtering and pagination to diagnose database performance issues.
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": {
"end_date": "<end_date>",
"instance_id": "<instance_id>",
"project_id": "<project_id>",
"start_date": "<start_date>"
},
"name": "rds__ListSlowLogs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | 语句类型,取空值,表示查询所有语句类型。 | |
| limit | No | 每页多少条记录,取值范围是1~100,不填时默认为10。 | |
| offset | No | 页数偏移量,如1、2、3、4等,不填时默认为1。 | |
| end_date | Yes | 结束时间,格式为“yyyy-mm-ddThh:mm:ssZ”。 | |
| project_id | Yes | 项目ID。 | |
| start_date | Yes | 开始日期,格式为“yyyy-mm-ddThh:mm:ssZ”。 | |
| instance_id | Yes | 实例ID。 |