Open Yuval-Ariel opened 1 year ago
Test with small L0 files (write buffer of 2MB) https://admin.speedb.io/performance?items=jPOgG6nkLNeQw3XtnSHb&items=YbxbzNQTsYQKbMHdUn3m&colors=%23F06292&colors=%2300796b
Test with small L0 files (write buffer of 2MB) https://admin.speedb.io/performance?items=jPOgG6nkLNeQw3XtnSHb&items=YbxbzNQTsYQKbMHdUn3m&colors=%23F06292&colors=%2300796b
does it reproduce the problem?
thanks for the update! @aierui
Problem description
In Leveled compaction, L0 to L1 compactions can suffer from several issues, two of them are:
Abbreviations: ILC - intra L0 compaction
Solution
Use the ILC to alleviate both issues above by: Don't do ILC when its input size is too big (thus eliminating huge L0 files). Perform ILC instead of L0->L1 compaction when the input size is too small.
Expected Goals
Performance stabilization under heavy write workload. Reduce write amplification with small files.