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 task to balance the distribution of storage partitions in a NebulaGraph cluster or a Group. It returns the task ID (balance_id).
BALANCE DATA <balance_id> Shows the status of the BALANCE DATA task.
BALANCE DATA STOP Stops the BALANCE DATA task.
BALANCE DATA REMOVE <host_list> Scales in the NebulaGraph cluster and detaches specific storage hosts.
BALANCE LEADER Balances the distribution of storage raft leaders in a NebulaGraph cluster or a Group.

Last update: March 13, 2023