Compute Cluster Management
Description
This feature allows users to perform operations such as starting, stopping, canceling jobs, modifying attribute configurations, and updating cluster descriptions for specified compute clusters. Through these operations, users can flexibly manage computing resources to meet different business needs.
Syntax
Parameter Details
- name
Specify the name of the compute cluster.
- objectProperties
Configuration properties of the compute cluster, with specific fields and descriptions as follows:
Field Name | Field Meaning | Value Range | Default Value |
---|---|---|---|
VCLUSTER_SIZE | Compute cluster size. Supports sizes from 1 CRU to 256 CRU, with increasing computational power. (Synchronous clusters separately support two small sizes: 0.25 CRU and 0.5 CRU) | Number: 1-256, unit is CRU (Compute Resource Unit). | 1 |
MIN_VCLUSTER_SIZE | Applicable only to GENERAL clusters. Minimum size of the compute cluster during scaling, supports sizes from 1 CRU to 256 CRU, must be less than or equal to the MAX_VCLUSTER_SIZE parameter. Cannot be used simultaneously with VCLUSTER_SIZE. | Number: 1-256, unit is CRU (Compute Resource Unit). | None |
MAX_VCLUSTER_SIZE | Applicable only to GENERAL clusters. Maximum size of the compute cluster during scaling, supports sizes from 1 CRU to 256 CRU, must be greater than or equal to the MIN_VCLUSTER_SIZE parameter. Cannot be used simultaneously with VCLUSTER_SIZE. | Number: 1-256, unit is CRU (Compute Resource Unit). | None |
VCLUSTER_TYPE | Type of compute cluster. GENERAL: Suitable for data ingestion and ELT operations; ANALYTICS: Suitable for scenarios with strong requirements for query latency and concurrency; INTEGRATION: Used for data integration tasks. | GENERAL | ANALYTICS |INTEGRATION | GENERAL |
MIN_REPLICAS | Minimum number of instances for the compute cluster. Only applicable to analytical compute clusters. | 1-10 | 1 |
MAX_REPLICAS | Maximum number of instances for the compute cluster. Only applicable to analytical compute clusters. | 1-10 | 1 |
AUTO_SUSPEND_IN_SECOND | The idle time before the cluster automatically shuts down. Unit: seconds. | Values: -1 or other integers greater than or equal to 0. | 600 |
AUTO_RESUME | Whether to automatically resume. | TRUE|FALSE | TRUE |
MAX_CONCURRENCY | The maximum concurrency that each compute instance in the compute cluster can handle. Only applicable to analytical compute clusters. | 1-32 | 8 |
QUERY_RUNTIME_LIMIT_IN_SECOND | The maximum execution time for jobs submitted to this compute cluster. Unit: seconds. | Integers greater than 0. | 86400 |
PRELOAD_TABLES | The compute cluster can cache the data of the tables specified in preload_table to the local SSD disk of the compute cluster by configuring preload_table, either on a schedule or when triggered. You can also set cache policies on the table. Only applicable to analytical compute clusters. | schema_name.table_name, multiple table names separated by commas. Wildcards are supported, for example: sample_schema.* | null |
QUERY_RESOURCE_LIMIT_RATIO | Single Job Resource Ratio Threshold, the maximum proportion of CPU/memory resources that a single query task can use, relative to the total cluster resources | 0.0 ~ 1.0 (e.g., 0.1 means 10%) | 1.0 |
- Specify the maximum and minimum values for GP type VC when modifying
Usage Example
- Start the compute cluster named sample_vc:
- Stop the compute cluster named sample_vc:
- Modify the specification size of the compute cluster named sample_vc to XSMALL:
- Modify the concurrency number of the computing cluster named sample_vc to 4:
- Modify the description information of the compute cluster named sample_vc: