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

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Wang, Taiyi, Yoneki, Eiko
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908473369821184
author Wang, Taiyi
Yoneki, Eiko
author_facet Wang, Taiyi
Yoneki, Eiko
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2507_23084
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle AutoIndexer: A Reinforcement Learning-Enhanced Index Advisor Towards Scaling Workloads
Wang, Taiyi
Yoneki, Eiko
Databases
Artificial Intelligence
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.
title AutoIndexer: A Reinforcement Learning-Enhanced Index Advisor Towards Scaling Workloads
topic Databases
Artificial Intelligence
url https://arxiv.org/abs/2507.23084