AMAZe: A Multi-Agent Zero-shot Index Advisor for Relational Databases

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Li, Zhaodonghui, Yuan, Haitao, Shi, Jiachen, Zhang, Hao, Rong, Yu, Cong, Gao
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866916951891116032
author Li, Zhaodonghui
Yuan, Haitao
Shi, Jiachen
Zhang, Hao
Rong, Yu
Cong, Gao
author_facet Li, Zhaodonghui
Yuan, Haitao
Shi, Jiachen
Zhang, Hao
Rong, Yu
Cong, Gao
contents Index recommendation is one of the most important problems in database management system (DBMS) optimization. Given queries and certain index-related constraints, traditional methods rely on heuristic optimization or learning-based models to select effective indexes and improve query performance. However, heuristic optimization suffers from high computation time, and learning-based models lose generalisability due to training for different workloads and database schemas. With the recent rapid development of large language models (LLMs), methods using prompt tuning have been proposed to enhance the efficiency of index selection. However, such methods still can not achieve the state-of-the-art (SOTA) results, and preparing the index selection demonstrations is also resource-intensive. To address these issues, we propose AMAZe, a zero-shot LLM-based index advisor with a multi-agent framework. We decompose the index recommendation problem into sub-steps, including planning, selection, combination, revision, and reflection. A set of LLM-embedded agents is designed to handle each one of the different sub-steps. Our method utilizes high-level agents to control the index selection process and low-level agents to select and revise indexes. Through extensive experiments, we show that our proposed AMAZe not only achieves the SOTA performance compared to the heuristic methods, but also outperforms learning-based and prompt-based methods with higher efficiency and better zero-shot inference ability.
format Preprint
id arxiv_https___arxiv_org_abs_2508_16044
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle AMAZe: A Multi-Agent Zero-shot Index Advisor for Relational Databases
Li, Zhaodonghui
Yuan, Haitao
Shi, Jiachen
Zhang, Hao
Rong, Yu
Cong, Gao
Databases
Index recommendation is one of the most important problems in database management system (DBMS) optimization. Given queries and certain index-related constraints, traditional methods rely on heuristic optimization or learning-based models to select effective indexes and improve query performance. However, heuristic optimization suffers from high computation time, and learning-based models lose generalisability due to training for different workloads and database schemas. With the recent rapid development of large language models (LLMs), methods using prompt tuning have been proposed to enhance the efficiency of index selection. However, such methods still can not achieve the state-of-the-art (SOTA) results, and preparing the index selection demonstrations is also resource-intensive. To address these issues, we propose AMAZe, a zero-shot LLM-based index advisor with a multi-agent framework. We decompose the index recommendation problem into sub-steps, including planning, selection, combination, revision, and reflection. A set of LLM-embedded agents is designed to handle each one of the different sub-steps. Our method utilizes high-level agents to control the index selection process and low-level agents to select and revise indexes. Through extensive experiments, we show that our proposed AMAZe not only achieves the SOTA performance compared to the heuristic methods, but also outperforms learning-based and prompt-based methods with higher efficiency and better zero-shot inference ability.
title AMAZe: A Multi-Agent Zero-shot Index Advisor for Relational Databases
topic Databases
url https://arxiv.org/abs/2508.16044