skip to main content
10.1145/3183713.3183723acmconferencesArticle/Chapter ViewAbstractPublication PagesmodConference Proceedingsconference-collections
abstract

Splaying Log-Structured Merge-Trees

Published:27 May 2018Publication History

ABSTRACT

Modern persistent key-value stores typically use a log-structured merge-tree (LSM-tree) design, which allows for high write throughput. Our observation is that the LSM-tree, however, has suboptimal performance during read-intensive workload windows with non-uniform key access distributions. To address this shortcoming, we propose and analyze a simple decision scheme that can be added to any LSM-based key-value store and dramatically reduce the number of disk I/Os for these classes of workloads. The key insight is that copying a frequently accessed key to the top of an LSM-tree ("splaying'') allows cheaper reads on that key in the near future.

References

  1. B. H. Bloom. Space/Time Trade-offs in Hash Coding with Allowable Errors. CACM, 13(7): 422--426, 1970. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. N. Dayan, M. Athanassoulis, and S. Idreos. Monkey: Optimal Navigable Key-Value Store. In SIGMOD, 2017. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Facebook. RocksDB. https://github.com/facebook/rocksdb.Google ScholarGoogle Scholar
  4. P. E. O'Neil, E. Cheng, D. Gawlick, and E. J. O'Neil. The log-structured merge-tree (LSM-tree). Acta Informatica, 33(4): 351--385, 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. D. D. Sleator and R. E. Tarjan. Self-Adjusting Binary Search Trees. Journal of the Association for Computing Machinery, 32 (3): 652--686, 1985. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Splaying Log-Structured Merge-Trees

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in
      • Published in

        cover image ACM Conferences
        SIGMOD '18: Proceedings of the 2018 International Conference on Management of Data
        May 2018
        1874 pages
        ISBN:9781450347037
        DOI:10.1145/3183713

        Copyright © 2018 Owner/Author

        Permission to make digital or hard copies of part or all of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for third-party components of this work must be honored. For all other uses, contact the Owner/Author.

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 27 May 2018

        Check for updates

        Qualifiers

        • abstract

        Acceptance Rates

        SIGMOD '18 Paper Acceptance Rate90of461submissions,20%Overall Acceptance Rate785of4,003submissions,20%

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader