das__ExportTopSqlTrendDetails
Exports TopSQL execution-duration interval details for a Huawei Cloud DAS instance when TopSQL is enabled, supporting paid instances and query ranges up to six hours.
Instructions
[DAS] TopSQL开关打开后,导出SQL执行耗时区间数据。该功能仅支持付费实例。查询时间间隔最长六小时。
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": {
"datastore_type": "<datastore_type>",
"end_at": "<end_at>",
"instance_id": "<instance_id>",
"project_id": "<project_id>",
"start_at": "<start_at>"
},
"name": "das__ExportTopSqlTrendDetails"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_at | Yes | 结束时间(Unix timestamp),单位:毫秒。 | |
| node_id | No | 节点ID。 | |
| start_at | Yes | 开始时间(Unix timestamp),单位:毫秒。 | |
| project_id | Yes | 项目ID。 | |
| instance_id | Yes | 实例ID。 | |
| datastore_type | Yes | 数据库类型。支持MySQL和GaussDB(for MySQL)。 |