Skip to main content

get-stats

Addedv0.1.x

This operation gets partition statistics.

Description

The command returns the number of entities in the specified partition.

Synopsis

zilliz partition get-stats
--collection <value>
--partition <value>
[--database <value>]
[--output <json | table | text | yaml | csv>]
[--no-header]
[--query <value>]

Options

  • --collection (string) -

    [REQUIRED]

    Indicates the collection name.

  • --partition (string) -

    [REQUIRED]

    Indicates the partition name.

  • --database (string) -

    Indicates the database name.

  • --output, -o (string) -

    Indicates the output format. Possible values:

    • json,

    • table,

    • text,

    • yaml,

    • csv.

  • --no-header (boolean) -

    Indicates whether to omit the header row when the output is set to table or csv.

  • --query, -q (string) -

    Indicates a JMESPath expression to filter output.

Example

zilliz partition get-stats --collection my_collection --partition my_partition