milvus-logo
LFAI
< Docs
  • C#

GetPartitionStatisticsAsync()

Retrieves statistics for a partition.

Invocation

await collection.GetPartitionStatisticsAsync(partitionName, cancellationToken = default);

Parameters

ParameterDescriptionTypeRequired
partitionNameThe name of partition for which statistics are to be retrieved.stringTrue
cancellationTokenThe token to monitor for cancellation requests. The default value is CancellationToken.None.CancellationTokenFalse

Return

A dictionary containing statistics about the partition.