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.

>>> client.compact('test01')
© 2019 - 2020 Milvus. All rights reserved.