Performs a pre-check and feasibility assessment on a recovery task before executing SQL flashback recovery.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardbx:PreCheckSqlFlashbackTask |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| PolardbxInstanceId |
string |
Yes |
The cluster ID. |
pxc-********* |
| DbName |
string |
Yes |
The database name. |
test |
| StartTime |
string |
Yes |
The start time of the flashback SQL execution. |
2025-09-21 14:35:00 |
| EndTime |
string |
Yes |
The end time of the flashback SQL execution. |
2025-09-21 14:41:00 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
14036EBE-***-44DB-ACE9-AC6157D3A6FC |
| Message |
string |
The response message. This parameter is empty when the request succeeds. When the request fails, an exception message is returned, such as an error code. |
successs |
| Success |
boolean |
The request result. |
true |
| Data |
object |
The returned result set. |
|
| CheckResult |
object |
The check result. |
|
| CanUpgradeSupportBinlogRowQueryEvents |
boolean |
Indicates whether the upgrade can succeed. |
|
| BinlogRowQueryEventEnabled |
boolean |
Indicates whether the recording of original SQL query events is enabled. Valid values:
|
|
| SupportBinlogRowQueryEvents |
boolean |
Indicates whether log recording is supported. Valid values:
|
|
| BinlogExists |
boolean |
Indicates whether valid binary log files exist. This value is used to determine whether operations such as flashback and synchronization can be performed. |
|
| HasTable |
boolean |
Indicates whether the table exists. Valid values: true and false. |
Examples
Success response
JSON format
{
"RequestId": "14036EBE-***-44DB-ACE9-AC6157D3A6FC",
"Message": "successs",
"Success": true,
"Data": {
"CheckResult": {
"CanUpgradeSupportBinlogRowQueryEvents": false,
"BinlogRowQueryEventEnabled": false,
"SupportBinlogRowQueryEvents": false,
"BinlogExists": false,
"HasTable": false
}
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.