Enables tiered storage of hot data and cold data for an ApsaraDB for ClickHouse cluster.
Only an ApsaraDB for ClickHouse cluster of V20.8 or later supports tiered storage of hot data and cold data. If your data is in an ApsaraDB for ClickHouse cluster of a version earlier than V20.8 and you want to use tiered storage of hot data and cold data to store the data, you can migrate the data to an ApsaraDB for ClickHouse cluster of V20.8 or later and use tiered storage of hot data and cold data. For information about how to migrate data between ApsaraDB for ClickHouse clusters, see Migrate data between ApsaraDB for ClickHouse clusters.
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | CreateOSSStorage |
The operation that you want to perform. Set the value to CreateOSSStorage. |
RegionId | String | Yes | cn-hangzhou |
The region ID of the cluster. You can call the DescribeRegions operation to query the most recent region list. |
DBClusterId | String | Yes | cc-bp1z3a2hc8dmt**** |
The ID of the cluster. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 1F488A93-83FD-540F-9B67-0333AF64E6A0 |
The ID of the request. |
Examples
Sample requests
http(s)://clickhouse.aliyuncs.com/?Action=CreateOSSStorage
&RegionId=cn-hangzhou
&DBClusterId=cc-bp1z3a2hc8dmt****
&Common request parameters
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<CreateOSSStorageResponse>
<RequestId>1F488A93-83FD-540F-9B67-0333AF64E6A0</RequestId>
</CreateOSSStorageResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "1F488A93-83FD-540F-9B67-0333AF64E6A0"
}
Error codes
HttpCode | Error code | Error message | Description |
---|---|---|---|
500 | InternalError | An error occurred while processing your request. | The error message returned because an internal error has occurred. Try again later. |
503 | ServiceUnavailable | An error occurred while processing your request. | The error message returned because the service is unavailable. Try again later. |
For a list of error codes, visit the API Error Center.