paper-with-me

Papers

LLMIdxAdvis: Resource-Efficient Index Advisor Utilizing Large Language Model

2025-03-10 · Xinxin Zhao, Haoyang Li, Jing Zhang, Xinmei Huang, Tieying Zhang, Jianjun Chen, Rui Shi, Cuiping Li, Hong Chen

Index recommendation is essential for improving query performance in database management systems (DBMSs) through creating an optimal set of indexes under specific constraints. Traditional methods, such as heuristic and learning-based approaches, are effective but face challenges like lengthy recommendation time, resource-intensive training, and poor generalization across different workloads and database schemas. To address these issues, we propose LLMIdxAdvis, a resource-efficient index advisor that uses large language models (LLMs) without extensive fine-tuning. LLMIdxAdvis frames index recommendation as a sequence-to-sequence task, taking target workload, storage constraint, and corresponding database environment as input, and directly outputting recommended indexes. It constructs a high-quality demonstration pool offline, using GPT-4-Turbo to synthesize diverse SQL queries and applying integrated heuristic methods to collect both default and refined labels. During recommendation, these demonstrations are ranked to inject database expertise via in-context learning. Additionally, LLMIdxAdvis extracts workload features involving specific column statistical information to strengthen LLM's understanding, and introduces a novel inference scaling strategy combining vertical scaling (via ''Index-Guided Major Voting'' and Best-of-N) and horizontal scaling (through iterative ''self-optimization'' with database feedback) to enhance reliability. Experiments on 3 OLAP and 2 real-world benchmarks reveal that LLMIdxAdvis delivers competitive index recommendation with reduced runtime, and generalizes effectively across different workloads and database schemas.

📄 PDF Abstract BibTeX arXiv:2503.07884

Code (0)

등록된 구현이 없습니다.

Tasks

In-Context LearningLanguage ModelingLanguage ModellingLarge Language Model

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically

Similar Papers 제목 키워드 기반

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

2025-07-30 · Taiyi Wang, Eiko Yoneki arxiv

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 automati…

Reinforcement Learning

IA2: Leveraging Instance-Aware Index Advisor with Reinforcement Learning for Diverse Workloads

2024-04-08 · Taiyi Wang, Eiko Yoneki

This study introduces the Instance-Aware Index Advisor (IA2), a novel deep reinforcement learning (DRL)-based approach for optimizing index selection in databases facing large action spaces of potential candidates. IA2 i…

Deep Reinforcement Learning

Understanding the Advisor-advisee Relationship via Scholarly Data Analysis

2020-08-20 · Jiaying Liu, Tao Tang, Xiangjie Kong, Amr Tolba 외

Advisor-advisee relationship is important in academic networks due to its universality and necessity. Despite the increasing desire to analyze the career of newcomers, however, the outcomes of different collaboration pat…

Renegotiation-Proof Cheap Talk

2025-02-12 · Steven Kivinen, Christoph Kuzmics

An informed Advisor and an uninformed Decision-Maker engage in repeated cheap talk communication in always new (stochastically independent) decision problems. They have a conflict of interest over which action should be …

AdvisorQA: Towards Helpful and Harmless Advice-seeking Question Answering with Collective Intelligence

2024-04-18 · Minbeom Kim, Hwanhee Lee, Joonsuk Park, Hwaran Lee 외

As the integration of large language models into daily life is on the rise, there is a clear gap in benchmarks for advising on subjective and personal dilemmas. To address this, we introduce AdvisorQA, the first benchmar…

Question Answering