milvus/internal/datanode/iterators
XuanYang-cn e6eb6f2c78
enhance: Speed up L0 compaction (#30410)
This PR changes the following to speed up L0 compaction and
prevent OOM:

1. Lower deltabuf limit to 16MB by default, so that each L0 segment
would be 4X smaller than before.
2. Add BatchProcess, use it if memory is sufficient
3. Iterator will Deserialize when called HasNext to avoid massive memory
peek
4. Add tracing in spiltDelta

See also: #30191

---------

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2024-02-04 10:49:05 +08:00
..
binlog_iterator_test.go Add float16 approve for multi-type part (#28427) 2024-01-11 15:48:51 +08:00
binlog_iterator.go feat: Add levelzero compaction in DN (#28470) 2023-11-30 14:30:28 +08:00
deltalog_iterator_test.go enhance: Speed up L0 compaction (#30410) 2024-02-04 10:49:05 +08:00
deltalog_iterator.go enhance: Speed up L0 compaction (#30410) 2024-02-04 10:49:05 +08:00
iterator.go feat: Add levelzero compaction in DN (#28470) 2023-11-30 14:30:28 +08:00