Abstract
Tuning the buffer size appropriately is critical to the performance of a cloud database, since memory is usually the resource bottleneck. For large-scale databases supporting heterogeneous applications, configuring the individual buffer sizes for a significant number of database instances presents a scalability challenge. Manual optimization is neither efficient nor effective, and even not feasible for large cloud clusters, especially when the workload may dynamically change on each instance. The difficulty lies in the fact that each database instance requires a different buffer size that is highly individualized, subject to the constraint of the total buffer memory space. It is imperative to resort to algorithms that automatically orchestrate the buffer pool tuning for the entire database instances.
To this end, we design iBTune that has been deployed for more than 10, 000 OLTP cloud database instances in our production system. Specifically, it leverages the information from similar workloads to find out the tolerable miss ratio of each instance. Then, it utilizes the relationship between miss ratios and allocated memory sizes to individually optimize the target buffer pool sizes.
To provide a guaranteed level of service level agreement (SLA), we design a pairwise deep neural network that uses features from measurements on pairs of instances to predict the upper bounds of the request response times. A target buffer pool size can be adjusted only when the predicted response time upper bound is in a safe limit. The successful deployment on a production environment, which safely reduces the memory footprint by more than 17% compared to the original system that relies on manual configurations, demonstrates the effectiveness of our solution.
Subject
General Earth and Planetary Sciences,Water Science and Technology,Geography, Planning and Development
Cited by
54 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Nautilus: A Benchmarking Platform for DBMS Knob Tuning;Proceedings of the Eighth Workshop on Data Management for End-to-End Machine Learning;2024-06-09
2. Explainable Database Management System Configuration Tuning through Counterfactuals;2024 IEEE 40th International Conference on Data Engineering (ICDE);2024-05-13
3. KnobTune: A Dynamic Database Configuration Tuning Strategy Leveraging Historical Workload Similarities;International Conference on Computing, Machine Learning and Data Science;2024-04-12
4. Analysis of Machine Learning Techniques for Knob Tuning;2024 IEEE International Conference on Computing, Power and Communication Technologies (IC2PCT);2024-02-09
5. Eraser: Eliminating Performance Regression on Learned Query Optimizer;Proceedings of the VLDB Endowment;2024-01