milvus-logo
Star
0
Forks
0
Get Started

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)
Is this page helpful?
On this page