AutoIndexer: A Reinforcement Learning-Enhanced Index Advisor Towards Scaling Workloads

Taiyi Wang, Eiko Yoneki
7/30/2025
cs.DBcs.AI

No confident code implementation found for this paper.

Abstract

Efficiently selecting indexes is fundamental to database performance optimization, particularly for systems handling large-scale analytical workloads. While deep reinforcement learning (DRL) has shown promise in automating index selection through its ability to learn from experience, few works address how these RL-based index advisors can adapt to scaling workloads due to exponentially growing action spaces and heavy trial and error. To address these challenges, we introduce AutoIndexer, a framework that combines workload compression, query optimization, and specialized RL models to scale index selection effectively. By operating on compressed workloads, AutoIndexer substantially lowers search complexity without sacrificing much index quality. Extensive evaluations show that it reduces end-to-end query execution time by up to 95% versus non-indexed baselines. On average, it outperforms state-of-the-art RL-based index advisors by approximately 20% in workload cost savings while cutting tuning time by over 50%. These results affirm AutoIndexer's practicality for large and diverse workloads.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wang2025autoindexer,
  title  = {AutoIndexer: A Reinforcement Learning-Enhanced Index Advisor Towards Scaling Workloads},
  author = {Taiyi Wang and Eiko Yoneki},
  year   = {2025},
  eprint = {2507.23084},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.23084v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.23084.svg)](https://codeofpaper.com/paper/2507.23084)

Discussion