mlsanityData to 7 Oct 2026

Automatic Database Configuration Debugging using Retrieval-Augmented Language Models

arXiv 2412.07548 ↗First posted 10 Dec 2024cs.DBcited by 12

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

  1. 2024Stochastic RAG: End-to-End Retrieval-Augmented Generation through Expected Utility Maximization5 May

Other references · 11

  1. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  2. 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,800
  3. 2021WebGPT: Browser-assisted question-answering with human feedbackcited by 1,722
  4. 2024Adaptive-RAG: Learning to Adapt Retrieval-Augmented Large Language Models through Question Complexitycited by 437
  5. 2022Improving the Domain Adaptation of Retrieval Augmented Generation (RAG) Models for Open Domain Question Answeringcited by 126
  6. 2017Neural Question Generation from Text: A Preliminary Studycited by 78
  7. 2017Automatic Anomaly Detection in the Cloud Via Statistical Learningcited by 25
  8. 2021Facilitating Database Tuning with Hyper-Parameter Optimization: A Comprehensive Experimental Evaluationcited by 22
  9. 2024Auto-Formula: Recommend Formulas in Spreadsheets using Contrastive Learning for Table Representationscited by 12
  10. 2023OneShotSTL: One-Shot Seasonal-Trend Decomposition For Online Time Series Anomaly Detection And Forecastingcited by 10
  11. 2023Enhancing Answer Selection in Community Question Answering with Pre-trained and Large Language Modelscited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 8; 2026: 4.

12 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025SWE-SQL: Illuminating LLM Pathways to Solve User SQL Issues in Real-World Applications
  2. 2026AutoSQL: Extracting SQL Templates from Imperative ORM Code in Large-Scale Repositories ↗
  3. 2023LLM As DBA
  4. 2025Towards Reliable Vector Database Management Systems: A Software Testing Roadmap for 2030 ↗
  5. 2025RAG-Driven Data Quality Governance for Enterprise ERP Systems
  6. 2026Demonstrating GenDB: Instance-Optimized and Customized Query Processing Code Generation via LLM Agents
  7. 2025DB-Explore: Automated Database Exploration and Instruction Synthesis for Text-to-SQL
  8. 2025DeKeyNLU: Enhancing Natural Language to SQL Generation through Task Decomposition and Keyword Extraction