Automatic Database Configuration Debugging using Retrieval-Augmented Language Models
On the map: Retrieval-augmented generation → RAG pipeline design and evaluation
Abstract (arXiv)
Database management system (DBMS) configuration debugging, e.g., diagnosing poorly configured DBMS knobs and generating troubleshooting recommendations, is crucial in optimizing DBMS performance. However, the configuration debugging process is tedious and, sometimes challenging, even for seasoned database administrators (DBAs) with sufficient experience in DBMS configurations and good understandings of the DBMS internals (e.g., MySQL or Oracle). To address this difficulty, we propose Andromeda, a framework that utilizes large language models (LLMs) to enable automatic DBMS configuration debugging. Andromeda serves as a natural surrogate of DBAs to answer a wide range of natural language (NL) questions on DBMS configuration issues, and to generate diagnostic suggestions to fix these issues. Nevertheless, directly prompting LLMs with these professional questions may result in overly generic and often unsatisfying answers. To this end, we propose a retrieval-augmented generation (RAG) strategy that effectively provides matched domain-specific contexts for the question from multiple sources. They come from related historical questions, troubleshooting manuals and DBMS telemetries, which significantly improve the performance of configuration debugging. To support the RAG strategy, we develop a document retrieval mechanism addressing heterogeneous documents and design an effective method for telemetry analysis. Extensive experiments on real-world DBMS configuration debugging datasets show that Andromeda significantly outperforms existing solutions.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Placed in RAG pipeline design and evaluation, one of 15 directions in Retrieval-augmented generation. Builds on 12 of its 41 references that are in the map. First posted on arXiv 10 Dec 2024.
Builds on
12 of 41 references.
Closest ancestors · 1
Same direction, newest first
- 2024Stochastic RAG: End-to-End Retrieval-Augmented Generation through Expected Utility Maximization5 May
Other references · 11
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,800
- 2021WebGPT: Browser-assisted question-answering with human feedbackcited by 1,722
- 2024Adaptive-RAG: Learning to Adapt Retrieval-Augmented Large Language Models through Question Complexitycited by 437
- 2022Improving the Domain Adaptation of Retrieval Augmented Generation (RAG) Models for Open Domain Question Answeringcited by 126
- 2017Neural Question Generation from Text: A Preliminary Studycited by 78
- 2017Automatic Anomaly Detection in the Cloud Via Statistical Learningcited by 25
- 2021Facilitating Database Tuning with Hyper-Parameter Optimization: A Comprehensive Experimental Evaluationcited by 22
- 2024Auto-Formula: Recommend Formulas in Spreadsheets using Contrastive Learning for Table Representationscited by 12
- 2023OneShotSTL: One-Shot Seasonal-Trend Decomposition For Online Time Series Anomaly Detection And Forecastingcited by 10
- 2023Enhancing Answer Selection in Community Question Answering with Pre-trained and Large Language Modelscited by 3
Built on by
Citing papers per year: 2025: 8; 2026: 4.
12 papers.
- 2025In-depth Analysis of Graph-based RAG in a Unified Frameworkcited by 45
- 2025A Survey of Data Agents: Emerging Paradigm or Overstated Hype?cited by 30
- 2025MEBench: Benchmarking Large Language Models for Cross-Document Multi-Entity Question Answeringcited by 15
- 2026Memory in the LLM Era: Modular Architectures and Strategies in a Unified Frameworkcited by 12
- 2025DBAIOps: A Reasoning LLM-Enhanced Database Operation and Maintenance System using Knowledge Graphscited by 7
- 2025Balancing the Blend: An Experimental Analysis of Trade-offs in Hybrid Searchcited by 4
- 2026VikingMem: A Memory Base Management System for Stateful LLM-based Applicationscited by 2
- 2025A Blueprint for AI-Driven Software Quality: Integrating LLMs with Established Standardscited by 1
- 2025LoopServe: An Adaptive Dual-phase LLM Inference Acceleration System for Multi-Turn Dialoguescited by 1
- 2026DBA-Bench: A Production-Fidelity Benchmark for LLM-Based Database Operations Agentscited by 1
- 2025All-in-one Graph-based Indexing for Hybrid Search on GPUscited by 0
- 2026A Case for Agentic Tuning: From Documentation to Action in PostgreSQLcited by 0
- 2026DBA-Bench: A Production-Fidelity Benchmark for LLM-Based Database Operations Agents24 Jul 2026
- 2026VikingMem: A Memory Base Management System for Stateful LLM-based Applications28 May 2026
- 2026A Case for Agentic Tuning: From Documentation to Action in PostgreSQL19 May 2026
- 2026Memory in the LLM Era: Modular Architectures and Strategies in a Unified Framework2 Apr 2026
- 2025All-in-one Graph-based Indexing for Hybrid Search on GPUs2 Nov 2025
- 2025A Survey of Data Agents: Emerging Paradigm or Overstated Hype?27 Oct 2025
- 2025Balancing the Blend: An Experimental Analysis of Trade-offs in Hybrid Search2 Aug 2025
- 2025DBAIOps: A Reasoning LLM-Enhanced Database Operation and Maintenance System using Knowledge Graphs2 Aug 2025
- 2025LoopServe: An Adaptive Dual-phase LLM Inference Acceleration System for Multi-Turn Dialogues18 Jul 2025
- 2025A Blueprint for AI-Driven Software Quality: Integrating LLMs with Established Standards19 May 2025
- 2025In-depth Analysis of Graph-based RAG in a Unified Framework6 Mar 2025
- 2025MEBench: Benchmarking Large Language Models for Cross-Document Multi-Entity Question Answering26 Feb 2025
Similar, not cited
Close in wording, no citation either way
- 2025SWE-SQL: Illuminating LLM Pathways to Solve User SQL Issues in Real-World Applications
- 2026AutoSQL: Extracting SQL Templates from Imperative ORM Code in Large-Scale Repositories ↗
- 2023LLM As DBA
- 2025Towards Reliable Vector Database Management Systems: A Software Testing Roadmap for 2030 ↗
- 2025RAG-Driven Data Quality Governance for Enterprise ERP Systems
- 2026Demonstrating GenDB: Instance-Optimized and Customized Query Processing Code Generation via LLM Agents
- 2025DB-Explore: Automated Database Exploration and Instruction Synthesis for Text-to-SQL
- 2025DeKeyNLU: Enhancing Natural Language to SQL Generation through Task Decomposition and Keyword Extraction