
2/21/2022 · Bingyi Sun
What this post added
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).