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

📅 2026-05-29
📈 Citations: 0
Influential: 0
📄 PDF

career value

192K/year
🤖 AI Summary
This work addresses the challenge of automatically selecting high-impact secondary indexes in SQL databases to efficiently utilize CPU, I/O, and storage resources under dynamic workloads. The authors propose AIM (Automatic Index Manager), an end-to-end, configurable index management system that features a workload-driven, wide composite index recommendation algorithm for rapid convergence. AIM incorporates a resource-aware evaluation mechanism that reduces reliance on the query optimizer and provides a strict “no performance regression” guarantee alongside metric-driven, interpretable recommendations. Extensive experiments across thousands of production databases demonstrate that AIM quickly generates near-optimal physical designs, substantially improving resource efficiency while ensuring no degradation in online query performance.
📝 Abstract
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.
Problem

Research questions and friction points this paper is trying to address.

automated index management
SQL databases
physical database design
workload adaptation
secondary indexes
Innovation

Methods, ideas, or system contributions that make the work stand out.

automatic index management
composite indexes
no regression guarantee
workload-adaptive physical design
optimizer-independent recommendation
🔎 Similar Papers
No similar papers found.
R
Ritwik Yadav
Database Engineering, Meta Platforms, Inc., Menlo Park, USA
S
Satyanarayana R. Valluri
Database Engineering, Meta Platforms, Inc., Menlo Park, USA
M
Mohamed Zaït
Database Engineering, Meta Platforms, Inc., Menlo Park, USA