milvus-logo
LFAI
< Docs

describe_resource_group()

This method has Milvus describe the detail of a specified resource group.

Invocation

describe_resource_group(name, using='default')

Parameters

ParameterDescriptionTypeRequired
nameName of the resource group to be created.StringTrue
usingMilvus connection used to create the collection.StringFalse

Return

A resource group description object

Example

import pymilvus

info = utility.describe_resource_group(name, using="default")
print(f"Resource group description: {info}")

# Resource group description: 
#        <name:"demo">,           // string, rg name
#        <capacity:1>,            // int, num_node which has been transfer to this rg
#        <num_available_node:0>,  // int, available node_num, some node may shutdown
#        <num_loaded_replica:{}>, // map[string]int, from collection_name to loaded replica of each collecion in this rg
#        <num_outgoing_node:{}>,  // map[string]int, from collection_name to outgoging accessed node num by replica loaded in this rg 
#        <num_incoming_node:{}>.  // map[string]int, from collection_name to incoming accessed node num by replica loaded in other rg

Feedback

Was this page helpful?