SFM: Mitigating Read/Write Amplification Problem of LSM-Tree-Based Key-Value Stores

被引:1
作者
Lee, Hoyoung [1 ]
Lee, Minho [2 ]
Eom, Young Ik [3 ]
机构
[1] Sungkyunkwan Univ, Dept Comp Sci & Engn, Suwon 16419, South Korea
[2] Sungkyunkwan Univ, Dept Elect & Comp Engn, Suwon 16419, South Korea
[3] Sungkyunkwan Univ, Dept Elect & Comp Engn, Coll Comp & Informat, Suwon 16419, South Korea
基金
新加坡国家研究基金会;
关键词
Persistent key-value stores; LSM-tree; storage management; database management systems (DBMS); compaction; merge policy; read/write amplification problem;
D O I
10.1109/ACCESS.2021.3098736
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Persistent key-value stores have been widely adopted as storage engines for modern IT infrastructures because they provide high performance with simple design principles. Moreover, many key-value stores commonly employ LSM-tree as their index structure due to its attractive features such as high write throughput and storage space efficiency. Unfortunately, LSM-tree has critical drawbacks in that it leads to write/read amplification problem. One of the prevalent solutions for remedying the write amplification problem is the tiering merge policy that reduces the number of rewrites by delaying merge operations. However, in spite of this advantage, the tiering merge policy may lead to a side-effect that induces high read amplification, increasing search/scan cost for upcoming read operations. In this paper, we concentrate on mitigating the high read amplification problem of the tiering merge policy, while maintaining its low write amplification. To achieve this, we propose a novel LSM-tree scheme, called Spatially Fragmented LSM-tree (SFM), which delays merge operations only for the non-read-intensive key-spaces. For this, SFM identifies the read intensity of each key-spaces by dynamically estimating their read/write hotness. We have implemented SFM based on PebblesDB and evaluated the performance benefits of our scheme under real-world workloads of Facebook. Experimental results clearly show that our scheme improves throughput by up to 1.67x compared with the conventional schemes while maintaining low write amplification, and also indicate that its latency is lowered by up to 41.41% on average by mitigating the read amplification problem of the existing schemes, by up to 43.68%.
引用
收藏
页码:103153 / 103166
页数:14
相关论文
共 43 条
  • [11] Cooper B. F., 2010, P 1 ACM S CLOUD COMP, P143, DOI [10.1145/1807128.1807152, DOI 10.1145/1807128.1807152]
  • [12] Dostoevsky: Better Space-Time Trade-Offs for LSM-Tree Based Key-Value Stores via Adaptive Removal of Superfluous Merging
    Dayan, Niv
    Idreos, Stratos
    [J]. SIGMOD'18: PROCEEDINGS OF THE 2018 INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2018, : 505 - 520
  • [13] Monkey: Optimal Navigable Key-Value Store
    Dayan, Niv
    Athanassoulis, Manos
    Idreos, Stratos
    [J]. SIGMOD'17: PROCEEDINGS OF THE 2017 ACM INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2017, : 79 - 94
  • [14] DeCandia Giuseppe, 2007, Operating Systems Review, V41, P205, DOI 10.1145/1323293.1294281
  • [15] Dillinger P., 2020, UNIVERSAL COMPACTION
  • [16] Dillinger P., 2021, BENCHMARKING TOOLS
  • [17] Facebook, 2018, CASS ROCKSDB INST CASS ROCKSDB INST
  • [18] Facebook, 2021, ROCKSDB PERS KEY VAL ROCKSDB PERS KEY VAL
  • [19] Ghemawat S., 2021, LEVELDB IS FAST KEY
  • [20] Gilad Eran, 2020, P 15 EUR C COMP SYST, P1