Logo
Scaling

Scaling #

Definition #

Scaling refers to the system that dynamically expands or shrinks the capacity according to the status of the storage layer nodes, `to ensure that the resource consumption is reduced as much as possible while meeting the business needs of the upper layer.

Node #

An instance running a compute or storage layer component process, which can be a physical machine, a virtual machine, a container, and so on.

Cluster #

Multiple nodes that are grouped together to provide a specific service.

Limitations #

Supported Items #

  • Integer or string primary key table migration.

Unsupported Items #

  • No primary key table migration.
  • Composite primary key table migration.

How it works #

If the sharding algorithm and the use method meet the conditions, it can be efficiently scaled and contracted, without the need to move data or only a small amount of data.

Range sharding/scaling-out #

Detailed process

Range sharding/scaling-in #

Detailed process

Scaling