Abstract
Log-Structured Merge trees (LSM trees) are increasingly used as the storage engines behind several data systems, frequently deployed in the cloud. Similar to other database architectures, LSM trees consider information about the
expected
workload (e.g., reads vs. writes, point vs. range queries) to optimize their performance via tuning. However, operating in a shared infrastructure like the cloud comes with workload
uncertainty
due to the fast-evolving nature of modern applications. Systems with static tuning discount the variability of such hybrid workloads and hence provide an inconsistent and overall suboptimal performance.
To address this problem, we introduce Endure - a new paradigm for tuning LSM trees in the presence of workload uncertainty. Specifically, we focus on the impact of the choice of compaction policies, size ratio, and memory allocation on the overall performance. Endure considers a robust formulation of the throughput maximization problem and recommends a tuning that maximizes the worst-case throughput over the
neighborhood
of each expected workload. Additionally, an uncertainty tuning parameter controls the size of this neighborhood, thereby allowing the output tunings to be conservative or optimistic. Through both model-based and extensive experimental evaluations of Endure in the state-of-the-art LSM-based storage engine, RocksDB, we show that the robust tuning methodology consistently outperforms classical tuning strategies. The robust tunings output by Endure lead up to a 5X improvement in throughput in the presence of uncertainty. On the flip side, Endure tunings have negligible performance loss when the observed workload exactly matches the expected one.
Publisher
Association for Computing Machinery (ACM)
Subject
General Earth and Planetary Sciences,Water Science and Technology,Geography, Planning and Development
Reference85 articles.
1. Lightweight Cardinality Estimation in LSM-based Systems
2. Database Tuning Advisor for Microsoft SQL Server 2005
3. Sanjay Agrawal , Surajit Chaudhuri , and Vivek R. Narasayya . 2000. Automated Selection of Materialized Views and Indexes in SQL Databases . In Proceedings of the International Conference on Very Large Data Bases (VLDB). 496--505 . http://dl.acm.org/citation.cfm?id=645926.671701 Sanjay Agrawal, Surajit Chaudhuri, and Vivek R. Narasayya. 2000. Automated Selection of Materialized Views and Indexes in SQL Databases. In Proceedings of the International Conference on Very Large Data Bases (VLDB). 496--505. http://dl.acm.org/citation.cfm?id=645926.671701
4. Automatic Database Management System Tuning Through Large-scale Machine Learning
5. An LSM-based tuple compaction framework for Apache AsterixDB
Cited by
9 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Can Modern LLMs Tune and Configure LSM-based Key-Value Stores?;Proceedings of the 16th ACM Workshop on Hot Topics in Storage and File Systems;2024-07-08
2. Benchmarking Learned and LSM Indexes for Data Sortedness;Proceedings of the Tenth International Workshop on Testing Database Systems;2024-06-09
3. Structural Designs Meet Optimality: Exploring Optimized LSM-tree Structures in a Colossal Configuration Space;Proceedings of the ACM on Management of Data;2024-05-29
4. GRF: A Global Range Filter for LSM-Trees with Shape Encoding;Proceedings of the ACM on Management of Data;2024-05-29
5. Boosting Write Performance of KV Stores: An NVM - Enabled Storage Collaboration Approach;2024 IEEE 40th International Conference on Data Engineering (ICDE);2024-05-13