{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,3]],"date-time":"2026-11-03T13:34:47Z","timestamp":1793712887202,"version":"4.6.1"},"reference-count":63,"publisher":"Association for Computing Machinery (ACM)","issue":"11","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. VLDB Endow."],"published-print":{"date-parts":[[2021,7]]},"abstract":"<jats:p>\n                    Log-structured merge (LSM) trees offer efficient ingestion by appending incoming data, and thus, are widely used as the storage layer of production NoSQL data stores. To enable competitive read performance, LSM-trees periodically re-organize data to form a tree with levels of exponentially increasing capacity, through iterative\n                    <jats:italic>compactions.<\/jats:italic>\n                    Compactions fundamentally influence the performance of an LSM-engine in terms of write amplification, write throughput, point and range lookup performance, space amplification, and delete performance. Hence, choosing the\n                    <jats:italic>appropriate compaction strategy<\/jats:italic>\n                    is crucial and, at the same time, hard as the LSM-compaction design space is vast, largely unexplored, and has not been formally defined in the literature. As a result, most LSM-based engines use a fixed compaction strategy, typically hand-picked by an engineer, which decides\n                    <jats:italic>how<\/jats:italic>\n                    and\n                    <jats:italic>when<\/jats:italic>\n                    to compact data.\n                  <\/jats:p>\n                  <jats:p>In this paper, we present the design space of LSM-compactions, and evaluate state-of-the-art compaction strategies with respect to key performance metrics. Toward this goal, our first contribution is to introduce a set of four design primitives that can formally define any compaction strategy: (i) the compaction trigger, (ii) the data layout, (iii) the compaction granularity, and (iv) the data movement policy. Together, these primitives can synthesize both existing and completely new compaction strategies. Our second contribution is to experimentally analyze 10 compaction strategies. We present 12 observations and 7 high-level takeaway messages, which show how LSM systems can navigate the compaction design space.<\/jats:p>","DOI":"10.14778\/3476249.3476274","type":"journal-article","created":{"date-parts":[[2021,10,27]],"date-time":"2021-10-27T12:46:23Z","timestamp":1635338783000},"page":"2216-2229","source":"Crossref","is-referenced-by-count":60,"title":["Constructing and analyzing the LSM compaction design space"],"prefix":"10.14778","volume":"14","author":[{"given":"Subhadeep","family":"Sarkar","sequence":"first","affiliation":[{"name":"Boston University"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Dimitris","family":"Staratzis","sequence":"additional","affiliation":[{"name":"Boston University"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Ziehen","family":"Zhu","sequence":"additional","affiliation":[{"name":"Boston University"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Manos","family":"Athanassoulis","sequence":"additional","affiliation":[{"name":"Boston University"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2021,10,27]]},"reference":[{"key":"e_1_2_1_1_1","volume-title":"Chapter 55","author":"Privacy California Consumer","year":"2018"},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.14778\/3397230.3397236"},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.14778\/2733085.2733096"},{"key":"e_1_2_1_4_1","volume-title":"EBS"},{"key":"e_1_2_1_5_1","unstructured":"Amazon. EC2 Instance Types. https:\/\/aws.amazon.com\/ec2\/instance-types\/.  Amazon. EC2 Instance Types. https:\/\/aws.amazon.com\/ec2\/instance-types\/."},{"key":"e_1_2_1_6_1","unstructured":"Apache. Accumulo. https:\/\/accumulo.apache.org\/.  Apache. Accumulo. https:\/\/accumulo.apache.org\/."},{"key":"e_1_2_1_7_1","unstructured":"Apache. HBase. http:\/\/hbase.apache.org\/.  Apache. HBase. http:\/\/hbase.apache.org\/."},{"key":"e_1_2_1_8_1","volume-title":"http:\/\/cassandra.apache.org","year":"2021"},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1145\/2882903.2912569"},{"key":"e_1_2_1_10_1","first-page":"461","volume-title":"Proceedings of the International Conference on Extending Database Technology (EDBT)","author":"Athanassoulis M.","year":"2016"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.5555\/3358807.3358871"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/3380905"},{"key":"e_1_2_1_13_1","unstructured":"M. Callaghan. Compaction priority in RocksDB. http:\/\/smalldatum.blogspot.com\/2016\/02\/compaction-priority-in-rocksdb.html 2016.  M. Callaghan. Compaction priority in RocksDB. http:\/\/smalldatum.blogspot.com\/2016\/02\/compaction-priority-in-rocksdb.html 2016."},{"key":"e_1_2_1_14_1","unstructured":"M. Callaghan. Compaction stalls: something to make better in RocksDB. http:\/\/smalldatum.blogspot.com\/2017\/01\/compaction-stalls-something-to-make.html 2017.  M. Callaghan. Compaction stalls: something to make better in RocksDB. http:\/\/smalldatum.blogspot.com\/2017\/01\/compaction-stalls-something-to-make.html 2017."},{"key":"e_1_2_1_15_1","volume-title":"http:\/\/smalldatum.blogspot.com\/2017\/06\/the-insert-benchmark.html","author":"Callaghan M.","year":"2017"},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.5555\/3386691.3386712"},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.5555\/1298455.1298475"},{"key":"e_1_2_1_18_1","volume-title":"Open Isuue: Storage: Performance degradation caused by kv tombstones. https:\/\/github.com\/cockroachdb\/cockroach\/issues\/17229","author":"DB.","year":"2017"},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1145\/1807128.1807152"},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.5555\/3488766.3488775"},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1145\/3035918.3064054"},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.1145\/3276980"},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.1145\/3183713.3196927"},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1145\/3299869.3319903"},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1145\/1323293.1294281"},{"key":"e_1_2_1_26_1","unstructured":"A. Deshpande and A. Machanavajjhala. ACM SIGMOD Blog: Privacy Challenges in the Post-GDPR World: A Data Management Perspective. http:\/\/wp.sigmod.org\/?p=2554 2018.  A. Deshpande and A. Machanavajjhala. ACM SIGMOD Blog: Privacy Challenges in the Post-GDPR World: A Data Management Perspective. http:\/\/wp.sigmod.org\/?p=2554 2018."},{"key":"e_1_2_1_27_1","volume-title":"Option of Compaction Priority. https:\/\/rocksdb.org\/blog\/2016\/01\/29\/compaction_pri.html","author":"Dong S.","year":"2016"},{"key":"e_1_2_1_28_1","volume-title":"Proceedings of the Biennial Conference on Innovative Data Systems Research (CIDR)","author":"Dong S.","year":"2017"},{"key":"e_1_2_1_29_1","volume-title":"https:\/\/github.com\/facebook\/rocksdb\/wiki\/MemTable","year":"2021"},{"key":"e_1_2_1_30_1","volume-title":"https:\/\/github.com\/facebook\/rocksdb","author":"DB.","year":"2021"},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.1145\/2741948.2741973"},{"key":"e_1_2_1_32_1","volume-title":"https:\/\/github.com\/google\/leveldb\/","author":"DB.","year":"2021"},{"key":"e_1_2_1_33_1","unstructured":"HBase. Online reference. http:\/\/hbase.apache.org\/ 2013.  HBase. Online reference. http:\/\/hbase.apache.org\/ 2013."},{"key":"e_1_2_1_34_1","doi-asserted-by":"publisher","DOI":"10.1145\/3299869.3314041"},{"key":"e_1_2_1_35_1","unstructured":"HyperLevelDB. Online reference. https:\/\/github.com\/rescrv\/HyperLevelDB.  HyperLevelDB. Online reference. https:\/\/github.com\/rescrv\/HyperLevelDB."},{"key":"e_1_2_1_36_1","doi-asserted-by":"publisher","DOI":"10.1145\/3318464.3383133"},{"key":"e_1_2_1_37_1","volume-title":"Proceedings of the Biennial Conference on Innovative Data Systems Research (CIDR)","author":"Idreos S.","year":"2019"},{"key":"e_1_2_1_38_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-33752-0_2"},{"key":"e_1_2_1_39_1","volume-title":"https:\/\/github.com\/facebook\/rocksdb\/blob\/gh-pages-old\/talks\/2020-07-17-Brownbag-Compactions.pdf","author":"Kryczka A.","year":"2020"},{"key":"e_1_2_1_40_1","unstructured":"LinkedIn. Voldemort. http:\/\/www.project-voldemort.com.  LinkedIn. Voldemort. http:\/\/www.project-voldemort.com."},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.5555\/2930583.2930594"},{"key":"e_1_2_1_42_1","doi-asserted-by":"publisher","DOI":"10.1007\/s00778-019-00555-y"},{"key":"e_1_2_1_43_1","doi-asserted-by":"publisher","DOI":"10.1145\/3318464.3389731"},{"key":"e_1_2_1_44_1","doi-asserted-by":"publisher","DOI":"10.1145\/3267809.3267829"},{"key":"e_1_2_1_45_1","doi-asserted-by":"publisher","DOI":"10.1007\/s002360050048"},{"key":"e_1_2_1_46_1","doi-asserted-by":"publisher","DOI":"10.1145\/3132747.3132765"},{"key":"e_1_2_1_47_1","doi-asserted-by":"publisher","DOI":"10.14778\/3151106.3151108"},{"key":"e_1_2_1_48_1","volume-title":"https:\/\/github.com\/facebook\/rocksdb\/wiki\/Leveled-Compaction","author":"Leveled Compaction DB.","year":"2020"},{"key":"e_1_2_1_49_1","volume-title":"https:\/\/github.com\/facebook\/rocksdb\/wiki\/Universal-Compaction","author":"Universal Compaction DB.","year":"2020"},{"key":"e_1_2_1_50_1","doi-asserted-by":"publisher","DOI":"10.1109\/Cybermatics_2018.2018.00067"},{"key":"e_1_2_1_51_1","doi-asserted-by":"publisher","DOI":"10.1145\/3318464.3389757"},{"key":"e_1_2_1_52_1","volume-title":"K-V Workload Generator. https:\/\/github.com\/BU-DiSC\/K-V-Workload-Generator","author":"Sarkar S.","year":"2021"},{"key":"e_1_2_1_53_1","volume-title":"LSM Compaction Analysis. https:\/\/github.com\/BU-DiSC\/LSM-Compaction-Analysis","author":"Sarkar S.","year":"2021"},{"key":"e_1_2_1_54_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-33752-0_3"},{"key":"e_1_2_1_55_1","unstructured":"ScyllaDB. Online reference. https:\/\/www.scylladb.com\/.  ScyllaDB. Online reference. https:\/\/www.scylladb.com\/."},{"key":"e_1_2_1_56_1","doi-asserted-by":"publisher","DOI":"10.1145\/2213836.2213862"},{"key":"e_1_2_1_57_1","unstructured":"Tarantool. Online reference. https:\/\/www.tarantool.io\/.  Tarantool. Online reference. https:\/\/www.tarantool.io\/."},{"key":"e_1_2_1_58_1","first-page":"68","volume-title":"LSbM-tree: Re-Enabling Buffer Caching in Data Management for Mixed Reads and Writes. In 37th IEEE International Conference on Distributed Computing Systems, ICDCS 2017","author":"Teng D.","year":"2017"},{"key":"e_1_2_1_59_1","doi-asserted-by":"publisher","DOI":"10.1145\/3162615"},{"key":"e_1_2_1_60_1","series-title":"Lecture Notes in Computer Science","first-page":"3","volume-title":"Heterogeneous Data Management, Polystores, and Analytics for Healthcare - VLDB 2019 Workshops","author":"Wang L.","year":"2019"},{"key":"e_1_2_1_61_1","volume-title":"Merging in WiredTiger's LSM Trees. https:\/\/source.wiredtiger.com\/develop\/lsm.html","year":"2021"},{"key":"e_1_2_1_62_1","volume-title":"https:\/\/github.com\/wiredtiger\/wiredtiger","author":"Code Source","year":"2021"},{"key":"e_1_2_1_63_1","doi-asserted-by":"publisher","DOI":"10.14778\/3407790.3407803"}],"container-title":["Proceedings of the VLDB Endowment"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.14778\/3476249.3476274","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2022,12,28]],"date-time":"2022-12-28T05:00:56Z","timestamp":1672203656000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.14778\/3476249.3476274"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,7]]},"references-count":63,"journal-issue":{"issue":"11","published-print":{"date-parts":[[2021,7]]}},"alternative-id":["10.14778\/3476249.3476274"],"URL":"https:\/\/doi.org\/10.14778\/3476249.3476274","relation":{},"ISSN":["2150-8097"],"issn-type":[{"value":"2150-8097","type":"print"}],"subject":[],"published":{"date-parts":[[2021,7]]}}}