Compactionary: A Dictionary for LSM Compactions

12Citations
Citations of this article
8Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Log-structured merge (LSM) trees are widely used as the storage layer of modern NoSQL data stores, as they offer efficient ingestion performance. To enable competitive read performance and reduce space amplification, LSM-trees re-organize data layout on disk iteratively, through compactions. Compactions are at the heart of every LSM-based storage engine, fundamentally influencing their performance. However, the process of compaction in LSM-engines is often treated as a black-box that is rarely exposed as a tuning knob. In this paper, we demonstrate Compactionary, a dictionary for LSM compactions, that helps to visualize the implications of compactions on performance for different workloads and LSM tunings. Compactionary breaks down the LSM compaction black-box, expressing compactions as an ensemble of four first-order design choices: (i) when to compact, (ii) how to organize the data after compaction, (iii) how much data to compact, and (iv) which data to compact. We configure Compactionary to demonstrate the operational flow of several state-of-the-art LSM compaction strategies and how each strategy affects performance. The participants can (i) customize the workload, (ii) configure the LSM tuning, and (iii) switch between advanced compaction options, to understand individually the impact of the different factors on performance. Further, to engage the interested participants, we extend the demonstration by allowing the participants to create custom hybrid compaction strategies, as well as to configure the settings separately for each strategy in an individual analysis phase. The demo is available at https://disc-projects.bu.edu/compactionary/#interactiveDemo.

References Powered by Scopus

The log-structured merge-tree (LSM-tree)

1027Citations
N/AReaders
Get full text

LSM-based storage techniques: a survey

141Citations
N/AReaders
Get full text

Lethe: A Tunable Delete-Aware LSM Engine

41Citations
N/AReaders
Get full text

Cited by Powered by Scopus

Dissecting, Designing, and Optimizing LSM-based Data Stores

15Citations
N/AReaders
Get full text

Compactionary: A Dictionary for LSM Compactions

12Citations
N/AReaders
Get full text

The LSM Design Space and its Read Optimizations

11Citations
N/AReaders
Get full text

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Cite

CITATION STYLE

APA

Sarkar, S., Chen, K., Zhu, Z., & Athanassoulis, M. (2022). Compactionary: A Dictionary for LSM Compactions. In Proceedings of the ACM SIGMOD International Conference on Management of Data (pp. 2429–2432). Association for Computing Machinery. https://doi.org/10.1145/3514221.3520169

Readers' Seniority

Tooltip

Researcher 1

100%

Readers' Discipline

Tooltip

Computer Science 1

50%

Psychology 1

50%

Save time finding and organizing research with Mendeley

Sign up for free