ModifyDBCluster
Upgrades or downgrades the specifications of a Data Lakehouse Edition cluster.
Operation description
Precautions
During scaling, the
submit jobcommand for submitting asynchronous tasks is disabled. If your business relies on this feature, execute the scaling operation during off-peak hours based on your business requirements.Scaling operations redistribute and migrate data. The migration duration is proportional to the data volume, and services are not interrupted during scaling. When you scale down a cluster from large specifications to small specifications, data migration typically takes several hours or even dozens of hours. Exercise caution when scaling down clusters with large data volumes.
If the cluster has built-in datasets loaded, ensure that the cluster has at least 24 ACUs of reserved storage resources when you scale down the cluster. Otherwise, the built-in datasets become unavailable.
Transient connections may occur when the scaling operation is about to complete. Execute scaling operations during off-peak hours or ensure that your applications have an automatic reconnection mechanism.
You cannot change a Data Lakehouse Edition cluster to a Data Warehouse Edition cluster. You can change a Data Warehouse Edition cluster to a Data Lakehouse Edition cluster. For more information, see Change a Data Warehouse Edition cluster to a Data Lakehouse Edition cluster.
For the endpoint of the current service, see Endpoints.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
adb:ModifyDBCluster |
update |
*DBClusterLakeVersion
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
The ID of the Data Lakehouse Edition cluster. Note
You can call the DescribeDBClusters operation to query the ID of the Data Lakehouse Edition cluster. |
amv-bp1r053byu48p**** |
| RegionId |
string |
No |
The region ID. Note
You can call the DescribeRegions operation to query the region ID of the specified Data Lakehouse Edition cluster. |
cn-hangzhou |
| StorageResource |
string |
No |
The reserved storage resources. Valid values: 0 ACU to 2064 ACU. Step: 24. 1 ACU is approximately equal to 1 core and 4 GB of memory. Note
Include the unit when you specify this parameter. |
24ACU |
| ComputeResource |
string |
No |
The reserved compute resources. Valid values: 0 ACU to 4096 ACU. Step: 16. 1 ACU is approximately equal to 1 core and 4 GB of memory. Note
Include the unit when you specify this parameter. |
16ACU |
| EnableDefaultResourcePool |
boolean |
No |
Specifies whether to allocate all reserved compute resources to the default resource group (user_default). Valid values:
|
true |
| ProductForm |
string |
No |
The product form. Valid values:
|
LegacyForm |
| ReservedNodeSize |
string |
No |
The node specifications for reserved storage resources. Valid values: 8 ACU, 12 ACU, and 16 ACU. Note
Include the unit when you specify this parameter. Specify this parameter only when ProductForm is set to IntegrationForm. |
8ACU |
| ReservedNodeCount |
integer |
No |
The number of reserved nodes.
Note
Specify this parameter only when ProductForm is set to IntegrationForm. |
3 |
| AINodeSpec |
string |
No |
The AI node specifications. |
ADB.MLPlus.4 |
| AINodeNumber |
integer |
No |
The number of AI nodes. |
3 |
| ProductVersion |
string |
No |
The target product version. When you switch from LegacyForm to IntegrationForm Enterprise Edition in-place, set this parameter to enterprise_version and specify ProductForm, ReservedNodeSize, and ReservedNodeCount at the same time. |
enterprise_version |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| DBClusterId |
string |
The ID of the Data Lakehouse Edition cluster. |
amv-bp1r053byu48p**** |
| OrderId |
string |
The order ID. |
2035629**** |
| RequestId |
string |
The request ID. |
0D6BF3E2-41D8-57F6-9A62-A13A70377952 |
Examples
Success response
JSON format
{
"DBClusterId": "amv-bp1r053byu48p****",
"OrderId": "2035629****",
"RequestId": "0D6BF3E2-41D8-57F6-9A62-A13A70377952"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ACS.Cluster.InvalidWorkerState | The state of the worker does not support this operation. | This operation is not supported due to the current state of the storage node. |
| 400 | ACS.Cluster.ElasticPlanJobsExists | Operation failed. Ongoing elastic plan jobs exist. | Failed to perform this operation because a storage scaling plan job is running. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.