If automatic load balance is disabled, you can still balance the load manually.
When interacting with Milvus using Python code, you have the flexibility to choose between PyMilvus and MilvusClient (new). For more information, refer to Python SDK.
Check segment information
Get the segmentID of the sealed segment that you expect to transfer and the nodeID of the query node that you expect to transfer the segment to.
ID of the query node you want to transfer segment(s) from.
dst_node_ids (Optional)
ID(s) of the query node(s) you want to transfer segment(s) to. Milvus transfers segment(s) to other query nodes automatically if this parameter is left blank.
sealed_segment_ids (Optional)
ID(s) of the segment(s) you want to transfer. Milvus transfers all sealed segment(s) in the source query node to other query nodes automatically if this parameter is left blank.
Parameter
Description
src_nodeID
ID of the query node you want to transfer segment(s) from.
dst_nodeIDs (Optional)
ID(s) of the query node(s) you want to transfer segment(s) to. Milvus transfers segment(s) to other query nodes automatically if this parameter is left blank.
sealed_segmentIDs (Optional)
ID(s) of the segment(s) you want to transfer. Milvus transfers all sealed segment(s) in the source query node to other query nodes automatically if this parameter is left blank.
Parameter
Description
SourceNodeID
ID of the query node you want to transfer segment(s) from.
DestinationNodeID (Optional)
ID(s) of the query node(s) you want to transfer segment(s) to. Milvus transfers segment(s) to other query nodes automatically if this parameter is left blank.
SegmentID (Optional)
ID(s) of the segment(s) you want to transfer. Milvus transfers all sealed segment(s) in the source query node to other query nodes automatically if this parameter is left blank.
Option
Description
-s
ID of the query node you want to transfer segment(s) from.
-d (Multiple)
ID(s) of the query node(s) you want to transfer segment(s) to.