Register now open for the virtual Milvus Community Conf2020!Join us on Oct.17th, 2020.

Create and Drop a Partition

This article provides Python sample codes for creating or droping partitions.

Create a partition

To improve search efficiency, you can divide a collection into several partitions by tags. In fact, each partition is a collection.

# Create partition
>>> milvus.create_partition('test01', 'tag01')

Drop a partition

>>> milvus.drop_partition(collection_name='test01', partition_tag='tag01')
Edit
© 2019 - 2020 Milvus. All rights reserved.