milvus-logo
LFAI
< Docs
  • Node

getPartitionStatistics()

This method checks the statistics of a specified partition.

Invocation

new milvusClient(MILUVS_ADDRESS).partitionManager.getPartitionStatistics(GetPartitionStatisticsReq);

Parameters

GetPartitionStatisticsReq

ParameterDescriptionTypeRequired
collection_nameName of the collection in which the partition to check existsStringTrue
partition_nameName of the partition to checkStringTrue

Example

new milvusClient(MILUVS_ADDRESS).partitionManager.getPartitionStatistics({
  collection_name: 'my_collection',
  partition_name: 'my_partition',
});

Return

{
  status: { error_code: 'Success', reason: '' },
  data: { row_count: '0' },
  stats: [ { key: 'row_count', value: '0' } ]
}
Feedback

Was this page helpful?