Queries the latency of data replication between a primary instance and its read-only instance.
Operation description
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | No | The region ID. You can call the DescribeRegions operation to query the most recent region list. | cn-hangzhou |
DBInstanceId | string | Yes | The primary instance ID. You can call the DescribeDBInstances operation to query the primary instance ID. | rm-bp***** |
ReadInstanceId | string | Yes | The read-only instance ID. You can call the DescribeDBInstances operation to query the read-only instance ID. | rr-bp***** |
Response parameters
Examples
Sample success responses
JSON
format
{
"DBInstanceId": "rm-bp*****",
"RequestId": "F1BDDEA8-452D-450B-AB10-CD5C5BAFC5DF",
"DelayTime": 0,
"ReadDBInstanceId": "rr-bp*****",
"Items": {
"Items": [
{
"DBInstanceId": "rm-bp*****",
"ReadonlyInstanceDelay": {
"ReadonlyInstanceDelay": [
{
"WriteLatency": "0",
"FlushLatency": "0",
"ReadDBInstanceName": "rr-bp*****",
"WriteLag": "0",
"FlushLag": "0",
"SendLatency": "0",
"ReplayLag": "0",
"ReplayLatency": "0"
}
]
},
"ReadDelayTimes": {
"ReadDelayTime": [
"0"
]
},
"ReadDBInstanceNames": {
"ReadDBInstanceName": [
"rr-bp*****"
]
}
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2022-06-17 | The internal configuration of the API is changed, but the call is not affected | View Change Details |