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 条
  • [43] Log-Structured Non-Volatile Main Memory
    Hu, Qingda
    Ren, Jinglei
    Badam, Anirudh
    Shu, Jiwu
    Moscibroda, Thomas
    2017 USENIX ANNUAL TECHNICAL CONFERENCE (USENIX ATC '17), 2017, : 703 - 717
  • [44] The LHAM log-structured history data access method
    Peter Muth
    Patrick O'Neil
    Achim Pick
    Gerhard Weikum
    The VLDB Journal, 2000, 8 : 199 - 221
  • [45] Lightweight Indexing of Observational Data in Log-Structured Storage
    Wang, Sheng
    Maier, David
    Ooi, Beng Chin
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2014, 7 (07): : 529 - 540
  • [46] LogBase: A Scalable Log-structured Database System in the Cloud
    Vo, Hoang Tam
    Wang, Sheng
    Agrawal, Divyakant
    Chen, Gang
    Ooi, Beng Chin
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2012, 5 (10): : 1004 - 1015
  • [47] Log-structured even recycle strategy for flash storage
    Yu, F. (osfengyu@zju.edu.cn), 1600, Zhejiang University (48):
  • [48] Solid-state drives head for the enterprise
    Chatterjee, Pallab
    EDN, 2012, 57 (15) : 19 - 19
  • [49] SOLID-STATE ADJUSTABLE SPEED DRIVES
    PERSSON, NC
    DESIGN NEWS, 1977, 33 (08) : 97 - &
  • [50] SOLID-STATE CONTROL OF ELECTRIC DRIVES
    SCHIEMAN, RG
    WILKES, EA
    JORDAN, HE
    PROCEEDINGS OF THE IEEE, 1974, 62 (12) : 1643 - 1660