Dostoevsky: Better Space-Time Trade-Offs for LSM-Tree Based Key-Value Stores via Adaptive Removal of Superfluous Merging
Open accessThe DOI matches its Crossref record; 37 of the 37 references it cites were found in a registry or an index.
Abstract
In this paper, we show that all mainstream LSM-tree based key-value stores in the literature and in industry are suboptimal with respect to how they trade off among the I/O costs of updates, point lookups, range lookups, as well as the cost of storage, measured as space-amplification. The reason is that they perform expensive merge operations in order to (1) bound the number of runs that a lookup has to probe, and to (2) remove obsolete entries to reclaim space. However, most of these merge operations reduce point lookup cost, long range lookup cost, and space-amplification by a negligible amount.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Space/time trade-offs in hash coding with allowable errors
Bloom, B. H. (1970) · Communications of the ACM · doi:10.1145/362686.362692 · Cited by 7,492 · cited 1×
“To speed up point lookups, which are common in practice [16, 48], each run has a Bloom filter [14] in main memory, as shown in Figure 2.”
MethodBenchmarking cloud serving systems with YCSB
Cooper, B. F., Silberstein, A., Tam, E., Ramakrishnan, R., & Sears, R. (2010) · Proceedings of the 1st ACM symposium on Cloud computing · doi:10.1145/1807128.1807152 · Cited by 3,716 · cited 1×
“This is in line with the Yahoo Cloud Service Benchmark [21], which is commonly used to evaluate key-value stores today [39, 45, 47, 48, 53].”
Result(2007) · doi:10.1145/1294261.1294281 · Cited by 3,447 · cited 1×
“…in a large number of modern key-value stores including LevelDB [32] and BigTable [19] at Google, RocksDB [29] at Facebook, Cassandra [34], HBase [7] and Accumulo [5] at Apache, Voldemort [38] at LinkedIn, Dynamo [26] at Amazon, WiredTiger [52] at MongoDB, and bLSM [48] and cLSM [31] at Yahoo.”
BackgroundCassandra: a decentralized structured storage system
Lakshman, A., & Malik, P. (2010) · ACM SIGOPS Operating Systems Review · doi:10.1145/1773912.1773922 · Cited by 2,664 · cited 6×
“Most mainstream designs partition runs into SSTables and merge one SSTable at a time whenever a level reaches capacity [7, 19, 29, 29, 31, 34, 48, 52].”
BackgroundMethodInfluentialBigtable: a distributed storage system for structured data
Chang, F. W., Dean, J. B., Ghemawat, S., Hsieh, W. C., Wallach, D. A., Burrows, M., Chandra, T., Fikes, A., & Gruber, R. E. (2006) · doi:10.5555/1298455.1298475 · Cited by 1,928
The log-structured merge-tree (LSM-tree)
O’Neil, P., Cheng, E., Gawlick, D., & O’Neil, E. (1996) · Acta Informatica · doi:10.1007/s002360050048 · Cited by 1,317 · cited 2×
“To persist key-value entries in storage, most key-value stores today use LSM-tree [41].”
BackgroundThe input/output complexity of sorting and related problems
Aggarwal, A., & Vitter, J. (1988) · Communications of the ACM · doi:10.1145/48529.48535 · Cited by 1,220
Dynamo: amazon's highly available key-value store
DeCandia, G., Hastorun, D., Jampani, M., Kakulapati, G., Lakshman, A., Pilchin, A., Sivasubramanian, S., Vosshall, P., & Vogels, W. (2007) · ACM SIGOPS Operating Systems Review · doi:10.1145/1323293.1294281 · Cited by 1,151
FAWN: a fast array of wimpy nodes
Andersen, D. G., Franklin, J., Kaminsky, M., Phanishayee, A., Tan, L., & Vasudevan, V. (2009) · Proceedings of the ACM SIGOPS 22nd symposium on Operating systems principles · doi:10.1145/1629575.1629577 · Cited by 561 · cited 1×
“Other designs [4, 11, 24, 25] use circular logs in storage and index them using a hash table in memory thereby trading space for update cost.”
MethodTAO: Facebook's distributed data store for the social graph
Bronson, N. G., Amsden, Z., Cabrera, G., Chakka, P., Dimov, P., Ding, H. J., Ferris, J., Giardullo, A., Kulkarni, S., Li, H., et al. (2013) · USENIX Annual Technical Conference · Cited by 545
Theory and Practice of Bloom Filters for Distributed Systems
Tarkoma, S., Rothenberg, C. E., & Lagerspetz, E. (2012) · IEEE Communications Surveys & Tutorials · doi:10.1109/surv.2011.031611.00024 · Cited by 518 · cited 2×
“The FPR depends on the ratio between the number of bits allocated to the filter and the number of entries in the set according to the following expression3 [50]: FPR = e−(bits/entr ies)·ln(2) 2 (2)”
BackgroundResultPebblesDB: Building Key-Value Stores using Fragmented Log-Structured Merge Trees
Raju, P., Kadekodi, R., Chidambaram, V., & Abraham, I. (2017) · ACM SIGOPS Symposium on Operating Systems Principles (SOSP) · doi:10.1145/3132747.3132765 · Cited by 370 · cited 2×
“PebblesDB [45] merges more frequently across frequently accessed parts of the key space.”
BackgroundResultbLSM: a general purpose log structured merge tree
Sears, R., & Ramakrishnan, R. (2012) · ACM SIGMOD International Conference on Management of Data (SIGMOD) · doi:10.1145/2213836.2213862 · Cited by 360 · cited 10×
“Some designs schedule fractions of merge operations incrementally with respect to application updates [13, 35, 48], while other designs hide the cost of merge operations by performing them on dedicated servers [3].”
BackgroundMethodResultInfluentialMonkey: Optimal Navigable Key-Value Store
Dayan, N., Athanassoulis, M., & Idreos, S. (2017) · ACM SIGMOD International Conference on Management of Data (SIGMOD) · doi:10.1145/3035918.3064054 · Cited by 316 · cited 8×
“While mainstream designs along the top curve in Figure 1 set the same false positive rate to Bloom filters across all levels of LSM-tree, Monkey, the current state of the art, sets exponentially lower false positive rates to Bloom filters at smaller levels [22].”
BackgroundMethodInfluentialSelf-citationLinkBench: a database benchmark based on the Facebook social graph
Armstrong, T. G., Ponnekanti, V., Borthakur, D., & Callaghan, M. (2013) · Proceedings of the 2013 ACM SIGMOD International Conference on Management of Data · doi:10.1145/2463676.2465296 · Cited by 313 · cited 2×
“We implemented Dostoevsky on RocksDB [29], an LSM-tree based key-value store that is widely used in industry [8, 27].”
BackgroundMethodWiscKey: Separating Keys from Values in SSD-Conscious Storage
Lu, L., Pillai, T. S., Gopalakrishnan, H., Arpaci-Dusseau, A. C., & Arpaci-Dusseau, R. H. (2017) · ACM Transactions on Storage · doi:10.1145/3033273 · Cited by 301 · cited 3×
“Walnut [20] and WiscKey [39] store large values in a separate log to avoid merging them repeatedly at the cost of an extra level of indirection for lookups.”
BackgroundMethodResultSILT: a memory-efficient, high-performance key-value store
Lim, H., Fan, B., Andersen, D. G., & Kaminsky, M. (2011) · Proceedings of the Twenty-Third ACM Symposium on Operating Systems Principles · doi:10.1145/2043556.2043558 · Cited by 294 · cited 1×
“Log-structured designs in the literature have have been proposed with fixed capacities for smaller levels and an unbounded capacity for the largest level, e.g., SILT [37] and MASM [9, 10].”
BackgroundWiscKey: separating keys from values in SSD-conscious storage
Lu, L., Pillai, T. S., Arpaci-Dusseau, A. C., & Arpaci-Dusseau, R. H. (2016) · File and Storage Technologies · Cited by 267
FlashStore: high throughput persistent key-value store
Debnath, B. K., Sengupta, S., & Li, J. (2010) · Proceedings of the VLDB Endowment · doi:10.14778/1920841.1921015 · Cited by 237
Optimizing Space Amplification in RocksDB.
Dong, S., Callaghan, M., Galanis, L., Borthakur, D., Savor, T., & Strum, M. (2017) · Conference on Innovative Data Systems Research · Cited by 227
Tree indexing on solid state drives
Li, Y., He, B., Yang, R. J., Luo, Q., & Yi, K. (2010) · Proceedings of the VLDB Endowment · doi:10.14778/1920841.1920990 · Cited by 203 · cited 2×
“Some designs schedule fractions of merge operations incrementally with respect to application updates [13, 35, 48], while other designs hide the cost of merge operations by performing them on dedicated servers [3].”
BackgroundLSM-trie: an LSM-tree-based ultra-large key-value store for small data
Wu, X., Xu, Y., Shao, Z., & Jiang, S. (2015) · USENIX Annual Technical Conference · Cited by 190
Cache-oblivious streaming B-trees
Bender, M. A., Farach-Colton, M., Fineman, J. T., Fogel, Y. R., Kuszmaul, B. C., & Nelson, J. (2007) · ACM Symposium on Parallelism in Algorithms and Architectures (SPAA) · doi:10.1145/1248377.1248393 · Cited by 166 · cited 2×
“Some designs schedule fractions of merge operations incrementally with respect to application updates [13, 35, 48], while other designs hide the cost of merge operations by performing them on dedicated servers [3].”
BackgroundBuilding workload-independent storage with VT-trees
Shetty, P., Spillane, R. P., Malpani, R., Andrews, B., Seyster, J., & Zadok, E. (2013) · File and Storage Technologies · doi:10.5555/2591272.2591275 · Cited by 164
SlimDB: a space-efficient key-value storage engine for semi-sorted data
Ren, K., Zheng, Q., Arulraj, J. J. P., & Gibson, G. A. (2017) · Proceedings of the VLDB Endowment · doi:10.14778/3151106.3151108 · Cited by 141 · cited 2×
“LSM-tree based Key-value stores have been proposed for specialized domains such as LogKB [18] for log processing, GeckoFTL[23] for Flash Translation Layers, and SlimDB [47] for semi-sorted data.”
MethodResultIncremental Organization for Data Recording and Warehousing
Jagadish, H. V., Narayan, P. P. S., Seshadri, S., Sudarshan, S., & Kanneganti, R. (1997) · Very Large Data Bases · Cited by 127
Pregelix: Big(ger) graph analytics on a dataflow engine
Bu, Y., Borkar, V., Jia, J., Carey, M. J., & Condie, T. (2014) · Proceedings of the VLDB Endowment · doi:10.14778/2735471.2735477 · Cited by 115 · cited 1×
“…is used to answer set-membership queries on keys), where the values are pointers to data objects stored outside of LSM-tree [39], or where LSM-tree is used as a building block for solving a more complex algorithmic problem (e.g., graph analytics [17], flash translation layer design [23], etc.).”
MethodScaling concurrent log-structured data stores
Golan-Gueta, G., Bortnikov, E., Hillel, E., & Keidar, I. (2015) · European Conference on Computer Systems · doi:10.1145/2741948.2741973 · Cited by 102 · cited 3×
“…in a large number of modern key-value stores including LevelDB [32] and BigTable [19] at Google, RocksDB [29] at Facebook, Cassandra [34], HBase [7] and Accumulo [5] at Apache, Voldemort [38] at LinkedIn, Dynamo [26] at Amazon, WiredTiger [52] at MongoDB, and bLSM [48] and cLSM [31] at Yahoo.”
BackgroundMethodTRIAD: creating synergies between memory, disk and log in log structured key-value stores
Balmau, O., Didona, D., Guerraoui, R., Willy Zwaenepoel, Y., Yuan, H., Arora, A., Gupta, K., & Konka, P. (2017) · Infoscience (Ecole Polytechnique Fédérale de Lausanne) · Cited by 87
Compaction management in distributed key-value datastores
Ahmad, M. Y., & Kemme, B. (2015) · Proceedings of the VLDB Endowment · doi:10.14778/2757807.2757810 · Cited by 75 · cited 1×
“Some designs schedule fractions of merge operations incrementally with respect to application updates [13, 35, 48], while other designs hide the cost of merge operations by performing them on dedicated servers [3].”
BackgroundTucana: design and implementation of a fast and efficient scale-up key-value store
Papagiannis, A., Saloustros, G., González‐Férez, P., & Bilas, A. (2016) · USENIX Annual Technical Conference · Cited by 64
Towards accurate and fast evaluation of multi-stage log-structured designs
Lim, H., Andersen, D. G., & Kaminsky, M. (2016) · File and Storage Technologies · Cited by 59
Fast scans on key-value stores
Pilman, M., Bocksrocker, K., Braun, L., Marroquín, R., & Kossmann, D. (2017) · Proceedings of the VLDB Endowment · doi:10.14778/3137628.3137659 · Cited by 54 · cited 1×
“Recent designs reduce merge overheads by merging parts of runs with the least amount of key range overlap in the next level [12, 49, 51], or by opportunistically merging parts of runs that had recently been read and are therefore already cached in memory [43].”
BackgroundWalnut: a unified cloud object store
Chen, J., Douglas, C., Mutsuzaki, M., Quaid, P., Ramakrishnan, R., Rao, S., & Sears, R. (2012) · ACM SIGMOD International Conference on Management of Data (SIGMOD) · doi:10.1145/2213836.2213947 · Cited by 52 · cited 1×
“Walnut [20] and WiscKey [39] store large values in a separate log to avoid merging them repeatedly at the cost of an extra level of indirection for lookups.”
BackgroundMaSM: efficient online updates in data warehouses
Athanassoulis, M., Chen, S., Ailamaki, A., Gibbons, P. B., & Stoica, R. (2011) · ACM SIGMOD International Conference on Management of Data (SIGMOD) · doi:10.1145/1989323.1989414 · Cited by 45
On Log-Structured Merge for Solid-State Drives
Thonangi, R., & Yang, J. (2017) · IEEE International Conference on Data Engineering (ICDE) · doi:10.1109/icde.2017.121 · Cited by 38 · cited 2×
“Recent designs reduce merge overheads by merging parts of runs with the least amount of key range overlap in the next level [12, 49, 51], or by opportunistically merging parts of runs that had recently been read and are therefore already cached in memory [43].”
BackgroundOnline Updates on Data Warehouses via Judicious Use of Solid-State Storage
Athanassoulis, M., Chen, S., Ailamaki, A., Gibbons, P. B., & Stoica, R. (2015) · ACM Transactions on Database Systems · doi:10.1145/2699484 · Cited by 13 · cited 1×
“Log-structured designs in the literature have have been proposed with fixed capacities for smaller levels and an unbounded capacity for the largest level, e.g., SILT [37] and MASM [9, 10].”
Background
Cited by
LSM-based storage techniques: a survey
Luo, C., & Carey, M. J. (2020) · The VLDB Journal · doi:10.1007/s00778-019-00555-y · Cited by 190
“This design is often referred to as the leveling merge policy [24,25] today.”
BackgroundMethodInfluential
Metadata
- Authors
- Dayan, N., & Idreos, S.
- Venue
- Proceedings of the 2018 International Conference on Management of Data
- Publisher
- ACM
- Published
- 2018-05-27
- Pages
- 505-520
- ISSN
- 0730-8078 (ISSN-L)
- OpenAlex
- W2798441769
- Cited by
- 193
- References
- 37
- FWCI
- 15.87
- Type
- conference paper
- Language
- en
- Open access
- bronze
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.