das__ExportSqlStatements
Exports full SQL data for a chosen time range using paginated retrieval; supports MySQL and GaussDB(for MySQL) on paid instances after full SQL collection is enabled.
Instructions
[DAS] 全量SQL开关打开后,一次性导出指定时间范围内的全量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>",
"limit": "<limit>",
"project_id": "<project_id>",
"start_at": "<start_at>"
},
"name": "das__ExportSqlStatements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | Yes | 每页记录数。最大为2000。 | |
| end_at | Yes | 结束时间(Unix timestamp),单位:毫秒。 | |
| marker | No | 指定一个标识符。获取第一页时不用赋值,获取下一页时取上页查询结果的返回值。 | |
| start_at | Yes | 开始时间(Unix timestamp),单位:毫秒。 | |
| project_id | Yes | 项目ID。 | |
| instance_id | Yes | 实例ID。 | |
| datastore_type | Yes | 数据库类型。支持MySQL和GaussDB(for MySQL)。 |