Advanced
Тема интерфейса

Changing the Specifications of a Doris Cluster

Currently, Doris clusters do not support CPU and memory specification changes for compute nodes. Therefore, the vertical scaling function needs to be added.

Constraints

  • You can only increase cluster specifications. To decrease cluster specifications, create a new cluster with the desired specifications and migrate data from the existing cluster.
  • You can change the specifications of only one node type (the BE or FE node) at a time. After the change, nodes in other types still maintain their original specifications.
  • Modifying node specifications, especially with large data volumes, can be time-consuming. We recommend performing such operations during periods of low system utilization.
  • A cluster restart will cause the entire cluster to be temporarily unavailable during the specification change. Subsequent specification changes are not permitted until the current operation completes.
  • To maintain system stability, repeated specification changes within a short timeframe are not supported. Operational frequency of such changes must be limited.
  • The system is unavailable during the specification change.

Prerequisites

You can perform specification expansion on a cluster when the cluster is in the In service state and no task is being performed (such as node scale-out, disk expansion, and parameter modification).

Procedure

  1. Log in to the CloudTable console.
  2. Click Cluster Management to view the clusters.
  3. In the cluster list, locate the row that contains the target cluster and choose More > Specification Expansion in the Operation column.

    Note

    You can also click Specification Expansion on the cluster details page to switch to the Specification Expansion page.

  4. Set Configured Node to Frontend Nodes or Backend Nodes as required.
  5. Select the CPU and memory specifications from the drop-down list.
  6. Confirm the fee and resource quota, and click OK.

    After you click OK, the cluster status changes to Sub-health and the task status changes to Resizing Flavor. After the cluster specifications are changed, the cluster status changes to In service and the task status is cleared.

Specification Expansion Status

Table 1 Specification expansion status

Status

Description

Resizing Flavor

Indicates that the specifications of the target cluster are being changed.

In service

Indicates that the specifications of the target cluster are changed and the cluster can provide services.

Resizing flavor failed

Indicates that the specifications of the target cluster failed to be changed.