arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.06566cs.DBcs.AI
收藏

基于人工智能的数据库研究

AI-Driven Research for Databases

UC Berkeley(加州大学伯克利分校);KTH Royal Institute of Technology(瑞典皇家理工学院);Meta;Workday;University of Michigan(密歇根大学);Maven AGI

Audrey Cheng, Harald Ng, Aaron Kabcenell, Peter Bailis, Matei Zaharia, Lin Ma, Xiao Shi, Ion Stoica

AI总结:

本文提出利用大语言模型自动化发现数据库性能优化方案,通过共进化设计评估器与解决方案,展示了在缓冲管理、查询重写和索引选择中的有效性,实现了优于现有方法的性能提升。

摘要:

随着现代工作负载和硬件复杂性日益超出人类研究和工程能力,现有数据库性能优化方法难以跟上步伐。为填补这一差距,提出了一种名为AI-Driven Research for Systems (ADRS)的新类别的技术,利用大语言模型自动化解决方案发现。该方法将优化从手动系统设计转向自动化代码生成。然而,应用ADRS的关键障碍在于评估流程。由于这些框架在无人监督下快速生成数百个候选方案,它们依赖于快速且准确的评估反馈以收敛到有效解决方案。在复杂数据库系统中构建此类评估器尤其困难。为使ADRS在该领域得以实际应用,我们提出通过共进化设计评估器与解决方案来自动化评估器的设计。通过三个案例研究优化缓冲管理、查询重写和索引选择,我们的自动化评估器能够发现优于现有方法的新型算法(例如,确定性查询重写策略可将延迟降低高达6.8倍),证明解决评估瓶颈解锁了ADRS生成高度优化、可部署代码的潜力,以适用于下一代数据系统。

英文摘要:

As the complexity of modern workloads and hardware increasingly outpaces human research and engineering capacity, existing methods for database performance optimization struggle to keep pace. To address this gap, a new class of techniques, termed AI-Driven Research for Systems (ADRS), uses large language models to automate solution discovery. This approach shifts optimization from manual system design to automated code generation. The key obstacle, however, in applying ADRS is the evaluation pipeline. Since these frameworks rapidly generate hundreds of candidates without human supervision, they depend on fast and accurate feedback from evaluators to converge on effective solutions. Building such evaluators is especially difficult for complex database systems. To enable the practical application of ADRS in this domain, we propose automating the design of evaluators by co-evolving them with the solutions. We demonstrate the effectiveness of this approach through three case studies optimizing buffer management, query rewriting, and index selection. Our automated evaluators enable the discovery of novel algorithms that outperform state-of-the-art baselines (e.g., a deterministic query rewrite policy that achieves up to 6.8x lower latency), demonstrating that addressing the evaluation bottleneck unlocks the potential of ADRS to generate highly optimized, deployable code for next-generation data systems.

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

↑