On Log-Structured Merge for Solid-State Drives

被引:17
|
作者
Thonangi, Risi [1 ]
Yang, Jun [2 ]
机构
[1] VMware Inc, Palo Alto, CA 94304 USA
[2] Duke Univ, Durham, NC 27706 USA
基金
美国国家科学基金会;
关键词
D O I
10.1109/ICDE.2017.121
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Log-structure merge (LSM) is an increasingly prevalent approach to indexing, especially for modern write-heavy workloads. LSM organizes data in levels with geometrically increasing sizes. Records enter the top level; whenever a level fills up, it is merged down into the next level. Hence, the index is updated only through merges and records are never updated in-place. While originally conceived to avoid slow random accesses of hard drives, LSM also turns out to be especially suited to solid-state drives, or any block-based storage with expensive writes. We study how to further reduce writes in LSM. Traditionally, LSM always merges an overflowing level fully into the next. We investigate in depth how partial merges save writes and prove bounds on their effectiveness. We propose new algorithms that make provably good decisions on whether to perform a partial merge, and if yes, which part of a level to merge. We also show how to further reduce writes by reusing data blocks during merges. Overall, our approach offers better worst-case guarantees and better practical performance than existing LSM variants.
引用
收藏
页码:683 / 694
页数:12
相关论文
共 50 条
  • [1] Splaying Log-Structured Merge-Trees
    Lively, Thomas
    Schroeder, Luca
    Mendizabal, Carlos
    SIGMOD'18: PROCEEDINGS OF THE 2018 INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2018, : 1839 - 1841
  • [2] The log-structured merge-bush & the wacky continuum
    Harvard University, United States
    Proc. ACM SIGMOD Int. Conf. Manage. Data, (449-466):
  • [3] On Integration of Appends and Merges in Log-Structured Merge Trees
    Gong, Caixin
    He, Shuibing
    Gong, Yili
    Lei, Yingchun
    PROCEEDINGS OF THE 48TH INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING (ICPP 2019), 2019,
  • [4] The Log-Structured Merge-Bush & the Wacky Continuum
    Dayan, Niv
    Idreos, Stratos
    SIGMOD '19: PROCEEDINGS OF THE 2019 INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2019, : 449 - 466
  • [5] Design and Implementation of a Log-Structured File System for Flash-Based Solid State Drives
    Min, Changwoo
    Lee, Sang-Won
    Eom, Young Ik
    IEEE TRANSACTIONS ON COMPUTERS, 2014, 63 (09) : 2215 - 2227
  • [6] The log-structured merge-tree (LSM-tree)
    ONeil, P
    Cheng, E
    Gawlick, D
    ONeil, E
    ACTA INFORMATICA, 1996, 33 (04) : 351 - 385
  • [7] Precise Data Access on Distributed Log-Structured Merge-Tree
    Zhu, Tao
    Hu, Huiqi
    Qian, Weining
    Zhou, Aoying
    Liu, Mengzhan
    Zhao, Qiong
    WEB AND BIG DATA, APWEB-WAIM 2017, PT II, 2017, 10367 : 210 - 218
  • [8] From WiscKey to Bourbon: A Learned Index for Log-Structured Merge Trees
    Dai, Yifan
    Xu, Yien
    Ganesan, Aishwarya
    Alagappan, Ramnatthan
    Kroth, Brian
    Arpaci-Dusseau, Andrea C.
    Arpaci-Dusseau, Remzi H.
    PROCEEDINGS OF THE 14TH USENIX SYMPOSIUM ON OPERATING SYSTEMS DESIGN AND IMPLEMENTATION (OSDI '20), 2020, : 155 - 171
  • [9] Efficient key-value stores with Ranged Log-structured Merge Trees
    Song, Nae Young
    Yeom, Heon Young
    Han, Hyuck
    PROCEEDINGS 2018 IEEE 11TH INTERNATIONAL CONFERENCE ON CLOUD COMPUTING (CLOUD), 2018, : 652 - 659
  • [10] Partition pruning for range query on distributed log-structured merge-tree
    Huang, Chenchen
    Hu, Huiqi
    Wei, Xing
    Qian, Weining
    Zhou, Aoying
    FRONTIERS OF COMPUTER SCIENCE, 2020, 14 (03)