arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2203.05128cs.DB
收藏

LlamaTune:样本有效的DBMS配置调整

LlamaTune: Sample-Efficient DBMS Configuration Tuning

Konstantinos Kanellis, Cong Ding, Brian Kroth, Andreas Müller, Carlo Curino, Shivaram Venkataraman

摘要:

调优数据库系统以在给定工作负载上实现最佳性能是数据库社区中的一个长期问题。最近的一些作品已经利用基于ML的方法来指导大参数空间(数百个调谐旋钮)的采样,以寻找高性能配置。看看运行数百万个数据库的Microsoft生产服务,样本效率成为在不同工作负载上使用调谐器的关键要求。这激发了我们对LlamaTune的研究,LlamaTune是一种利用领域知识来提高现有优化器的样本效率的调谐器设计。LlamaTune采用基于随机投影的自动降维技术、处理某些旋钮的特殊值的偏置采样方法以及旋钮值桶化,以减小搜索空间的大小。LlamaTune在不同的工作负载集上与最先进的优化器相比毫不逊色。它可识别性能最佳的配置,最多可减少$11\times$的工作负载运行,并最多可提高$21\%$的吞吐量。我们还表明,LlamaTune的好处概括了基于BO和基于RL的优化器,以及不同的DBMS版本。虽然在云规模上执行数据库调优的过程仍然很长,但LlamaTune在大规模实现自动DBMS调优方面走了很长的路。

英文摘要:

Tuning a database system to achieve optimal performance on a given workload is a long-standing problem in the database community. A number of recent works have leveraged ML-based approaches to guide the sampling of large parameter spaces (hundreds of tuning knobs) in search for high performance configurations. Looking at Microsoft production services operating millions of databases, sample efficiency emerged as a crucial requirement to use tuners on diverse workloads. This motivates our investigation in LlamaTune, a tuner design that leverages domain knowledge to improve the sample efficiency of existing optimizers. LlamaTune employs an automated dimensionality reduction technique based on randomized projections, a biased-sampling approach to handle special values for certain knobs, and knob values bucketization, to reduce the size of the search space. LlamaTune compares favorably with the state-of-the-art optimizers across a diverse set of workloads. It identifies the best performing configurations with up to $11\times$ fewer workload runs, and reaching up to $21\%$ higher throughput. We also show that benefits from LlamaTune generalize across both BO-based and RL-based optimizers, as well as different DBMS versions. While the journey to perform database tuning at cloud-scale remains long, LlamaTune goes a long way in making automatic DBMS tuning practical at scale.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑