drs__CreateDataLevelTableCompareJob
Creates a data-level table comparison job to verify row-level consistency between source and target databases, with options for comparison scope, sampling, and scheduling.
Instructions
[DRS] 创建数据级表对比任务。
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": {
"job_id": "<job_id>",
"project_id": "<project_id>",
"type": "<type>"
},
"name": "drs__CreateDataLevelTableCompareJob"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | 对比类型。 | |
| job_id | Yes | 任务ID。 | |
| options | No | 对比配置项,key-value形式。 | |
| project_id | Yes | 租户在某一Region下的Project ID。 | |
| start_time | No | 对比任务启动时间,时间戳格式,取值为空代表立即启动。 | |
| compare_mode | No | 数据级对比模式,取值为空时需要在compare_object或者compare_object_with_token传对象信息,quick_comparison-快速对比。 | quick_comparison |
| compare_object | No | 数据级对比的对象。 | |
| compare_task_num | No | 对比任务线程数量,当前仅cloudDataGuard-cassandra和cloudDataGuard-gausscassandra-to-gausscassandra链路支持。 | |
| proportion_value | No | 抽样比例,对比类型为抽样对比时填写。 | |
| compare_object_with_token | No | 数据级对比的对象(Cassandra灾备专用,带token信息)。 | |
| compare_transformation_infos | No | 过滤数据信息。 |