Modifies the sync task of a community-compatible ApsaraDB for ClickHouse cluster.
Operation description
This operation applies only to community-compatible ApsaraDB for ClickHouse clusters.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
clickhouse:ModifyRDSToClickhouseDb |
update |
*DBCluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DbClusterId |
string |
Yes |
The ID of the ApsaraDB for ClickHouse cluster. |
cc-bp158i5wvj436**** |
| ClickhousePort |
integer |
No |
The port number of the ApsaraDB for ClickHouse cluster. |
8123 |
| CkUserName |
string |
Yes |
The database account of the ApsaraDB for ClickHouse cluster. |
user1 |
| CkPassword |
string |
Yes |
The password of the ApsaraDB for ClickHouse database account. |
123456Aa |
| RdsId |
string |
Yes |
The instance ID of the ApsaraDB RDS for MySQL instance. |
rm-uf6x3qq4t90ok**** |
| RdsPort |
integer |
No |
The port number of the ApsaraDB RDS for MySQL instance. |
3306 |
| RdsVpcId |
string |
No |
The VPC ID of the ApsaraDB RDS for MySQL instance. |
vpc-bp1v9dtwmqqjhwwg**** |
| RdsUserName |
string |
Yes |
The database account of the ApsaraDB RDS for MySQL instance. |
user2 |
| RdsPassword |
string |
Yes |
The password of the ApsaraDB RDS for MySQL database account. |
123456Rr |
| SkipUnsupported |
boolean |
Yes |
Specifies whether to ignore databases that do not support synchronization. Valid values:
|
true |
| LimitUpper |
integer |
No |
The maximum number of rows to sync per second. |
50000 |
| RdsSynTables |
string |
Yes |
The tables in the ApsaraDB RDS for MySQL instance. |
table |
| RdsSynDb |
string |
Yes |
The database in the ApsaraDB RDS for MySQL instance. |
database |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned result. |
||
| RequestId |
string |
The request ID. |
746CD303-0B82-5E8D-886D-93A9FAF3A876 |
| Status |
integer |
Indicates whether the modification was successful. Valid values:
|
1 |
| ErrorMsg |
string |
|
ClickHouse exception, code: 49, host: 100.100.118.132, port: 49670; Code: 49, e.displayText() = DB::Exception: Logical error: there is no global context (version 20.8.17.25)n |
| ErrorCode |
integer |
The error code. |
0 |
Examples
Success response
JSON format
{
"RequestId": "746CD303-0B82-5E8D-886D-93A9FAF3A876",
"Status": 1,
"ErrorMsg": "ClickHouse exception, code: 49, host: 100.100.118.132, port: 49670; Code: 49, e.displayText() = DB::Exception: Logical error: there is no global context (version 20.8.17.25)n",
"ErrorCode": 0
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | The DBClusterId provided does not exist in our records. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.