Compact Segments

Milvus automatically merges the inserted vector data into 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 - 2021 Milvus. All rights reserved.