New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compact L0 file to L0 when L0 is too small #10706
Comments
RocksDB can perform intra-L0 compaction in certain cases. The logic can be found in |
|
Shared this issue with the Speedb hive on Discourse and this is the answer we got: |
merging L0 files through the intra L0 compaction when they are too small sounds like a great solution for the increased w-amp. we (Speedb.io) would like to see your patch and possibly merge it. thanks! |
any update? |
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
The text was updated successfully, but these errors were encountered: