Milvus

How to Compact Data in Milvus?

Feb 21, 2022Bingyi Sun
How to Compact Data in Milvus?
SummaryAI, from the source post

This post details the concept and implementation of data compaction in Milvus 2.0. It explains that compaction merges small segments into large ones and cleans logically deleted data to save storage space and improve query efficiency. It covers configuration parameters (`dataCoord.enableCompaction`, `common.retentionDuration`), manual and automatic triggering mechanisms, and the specific processes for binlog compaction (based on delta binlog row count or size) and segment compaction (based on the number of small sealed segments).

More from the AI Data Storage Engine trail