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

Compact Segments

Milvus automatically merges the inserted vector data to segments. A collection can contain multiple segments. After deleting some vector data in a segment, the system cannot automatically release the space occupied by the deleted vector data. So, you need to compact the segments in the collection to free up extra space.

>>> milvus.compact(collection_name='test01', timeout='1')
Edit
© 2019 - 2020 Milvus. All rights reserved.