HL-LSM: A LSM-Tree Combined with Read Hotness and Learned Index
Log-Structured Merge Tree (LSM-Tree) is widely employed in key-value (kv) store owing to its exceptional performance in write-intensive workloads. LSMTree appends kv pairs to memory initially, and only when the memory capacity reaches a threshold does it flush the data to disk. However, in comparison to write, read operations often entail more disk access, resulting in relatively a slower response speed. Although LSM-Tree utilizes an index structure to expedite read operations, its performance enhancement remains limited. In addition, LSM-Tree fails to consider the read hotness of each sorted string table (SSTable) during compaction, leading to significant fluctuations in performance. This paper introduces HL-LSM, a novel LSM-Tree. HL-LSM utilizes learned index to replace original index to save system overhead and improve read performance. Moreover, a lightweight read hotness statistics is devised to optimize the compaction and assess the feasibility of each SSTable in constructing a learned index. In order to evaluate the performance of HL-LSM, we constructed a system prototype, HLDB, based on WiscKey. Experiment demonstrates that in read-intensive scenarios, HLDB is able to reduce the overall system latency by nearly 10% compared to WiscKey. Furthermore, it was observed that the optimization effect of HL-LSM improves as the variance of hotness value distribution increases.
Authors
- Hong‐Zhou Tan (ORCID: https://orcid.org/0000-0002-5214-997X)
- Ran Huang (ORCID: https://orcid.org/0000-0003-3768-6141)
- Shaowen Deng
- Hui Li (ORCID: https://orcid.org/0009-0003-2918-208X)
- Weixiang Huang
- Jianping Wu (ORCID: https://orcid.org/0000-0003-1549-2872)
- Xiaopeng Wang (ORCID: https://orcid.org/0000-0002-7036-1616)
Institutions
- China Mobile (China) (CN)
- Peking University Shenzhen Hospital (CN)
- China Communications Construction Company (China) (CN)
- China Telecom (China) (CN)
- China Telecom (CN)
- China United Network Communications Group (China) (CN)
Publication Details
- Published
- 2024-12-15
- DOI
- https://doi.org/10.1109/bigdata62323.2024.10825283
- Primary Topic
- Advanced Data Storage Technologies
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Peking University
- Shenzhen Fundamental Research Program