compact L0 file to L0 when L0 is too small
Open
enhancement
- Dominant language
- C++
- Stars
- 32.1k
- Forks
- 6.9k
- Avg merge
- 32m
- Merged PRs (30d)
- 1
Description
in our case, we will do checkpoint by period, in some case, with period checkpoint, the L0 file is small, when L0 file number reach 4, it will trigger compaction and pick up L1 file together. which made huge write amplification。
in this case, maybe we can compaction L0 file to L0 instead of L1 ,when total size of L0 files is smaller than `target_file_size_base`
Contributor guide
Assessment
This issue has not been assessed yet.