BALANCE syntax¶
The BALANCE
statements support the load balancing operations of the Nebula Graph 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 Nebula Graph 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 Nebula Graph cluster and detaches specific storage hosts. |
BALANCE LEADER |
Balances the distribution of storage raft leaders in a Nebula Graph cluster or a Group. |
Last update: October 28, 2021