Skip to content

BALANCE syntax

The BALANCE statements support the load balancing operations of the NebulaGraph Storage services. For more information about storage load balancing and examples for using the BALANCE statements, see Storage load balance.

The BALANCE statements are listed as follows.

Syntax Description
BALANCE DATA Starts a job to balance the distribution of storage partitions in the current graph space. It returns the job ID.
BALANCE DATA REMOVE <ip:port> [,<ip>:<port> ...] Migrate the partitions in the specified storage host to other storage hosts in the current graph space.
BALANCE LEADER Starts a job to balance the distribution of storage leaders in the current graph space. It returns the job ID.

For details about how to view, stop, and restart a job, see Job manager and the JOB statements.


Last update: February 19, 2024