arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2605.31406cs.DB
收藏

AIM:一种实用的SQL数据库自动索引管理方法

AIM: A practical approach to automated index management for SQL databases

Meta Platforms, Inc.(Meta平台公司)

Ritwik Yadav, Satyanarayana R. Valluri, Mohamed Zaït

AI总结:

提出AIM自动索引管理系统,通过配置化方法识别SQL数据库中的有效二级索引,优化资源利用,并在生产环境中验证了快速收敛、减少查询优化器依赖和无回归保证等特性。

摘要:

本文描述了AIM(自动索引管理器),一个可配置的索引管理系统,用于识别SQL数据库中的有效二级索引,以高效利用可用资源(如CPU、I/O和存储)。该系统已在支持生产系统的数千个数据库上得到验证。借助AIM,数据库的物理设计能够适应工作负载的变化。我们阐述了AIM的端到端设计,同时指出了与设计选择相关的保证和权衡。AIM的一些显著特性包括:即使在推荐宽复合索引时也能快速收敛,减少对查询优化器的依赖,以及为生产工作负载提供“无回归”保证。AIM的每个索引推荐都附有基于指标的解释,使验证机器驱动的更改更加容易。AIM是少数大规模部署在生产数据库上的工业级索引推荐引擎之一。实验结果表明,AIM能够快速识别最有效的索引,且生成的物理设计接近最优。

英文摘要:

This paper describes AIM (Automatic Index Manager), a configurable index management system, which identifies impactful secondary indexes for SQL databases to efficiently use available resources such as CPU, I/O and storage. It has been validated on thousands of databases which support production systems. With AIM, the physical design of the database adapts itself to the changes in the workload.We lay out the end to end design of AIM while calling out the guarantees and tradeoffs associated with our design choices. Some of the salient features of AIM include fast convergence even while recommending wide composite indexes, reduced reliance on the query optimizer and a "no regression" guarantee for production workloads. Each index recommendation from AIM is accompanied with a metrics driven explanation, making it easier to verify machine driven changes.AIM is one of the few industrial strength index recommendation engines that is deployed on production databases at a large scale. The experimental results show that AIM is quick in identifying the most effective indexes and the resulting physical design is close to optimal.

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

↑