mlsanityData to 7 Oct 2026

Revolutionizing Database Q&A with Large Language Models: Comprehensive Benchmark and Evaluation

arXiv 2409.04475 ↗First posted 5 Sep 2024cs.DB cs.AIcited by 7

Not on the map. Why?

Abstract (arXiv)

The development of Large Language Models (LLMs) has revolutionized QA across various industries, including the database domain. However, there is still a lack of a comprehensive benchmark to evaluate the capabilities of different LLMs and their modular components in database QA. To this end, we introduce DQABench, the first comprehensive database QA benchmark for LLMs. DQABench features an innovative LLM-based method to automate the generation, cleaning, and rewriting of evaluation dataset, resulting in over 200,000 QA pairs in English and Chinese, separately. These QA pairs cover a wide range of database-related knowledge extracted from manuals, online communities, and database instances. This inclusion allows for an additional assessment of LLMs' Retrieval-Augmented Generation (RAG) and Tool Invocation Generation (TIG) capabilities in the database QA task. Furthermore, we propose a comprehensive LLM-based database QA testbed DQATestbed. This testbed is highly modular and scalable, with basic and advanced components such as Question Classification Routing (QCR), RAG, TIG, and Prompt Template Engineering (PTE). Moreover, DQABench provides a comprehensive evaluation pipeline that computes various metrics throughout a standardized evaluation process to ensure the accuracy and fairness of the evaluation. We use DQABench to evaluate the database QA capabilities under the proposed testbed comprehensively. The evaluation reveals findings like (i) the strengths and limitations of nine LLM-based QA bots and (ii) the performance impact and potential improvements of various service components (e.g., QCR, RAG, TIG). Our benchmark and findings will guide the future development of LLM-based database QA research.

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 32 of its 62 references that are in the map. First posted on arXiv 5 Sep 2024.

Builds on

32 of 62 references.

References · 32

  1. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  2. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  3. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  4. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
  5. 2023Qwen Technical Reportcited by 3,273
  6. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
  7. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
  8. 2023A Survey on Large Language Model based Autonomous Agentscited by 2,203
  9. 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,538
  10. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
  11. 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,259
  12. 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,120
20 more
  1. 2022When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memoriescited by 1,103
  2. 2022Measuring and Narrowing the Compositionality Gap in Language Modelscited by 1,054
  3. 2023BeaverTails: Towards Improved Safety Alignment of LLM via a Human-Preference Datasetcited by 828
  4. 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 667
  5. 2023Baichuan 2: Open Large-scale Language Modelscited by 664
  6. 2016Ups and Downs: Modeling the Visual Evolution of Fashion Trends with One-Class Collaborative Filteringcited by 517
  7. 2023DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correctioncited by 465
  8. 2023State of What Art? A Call for Multi-Prompt LLM Evaluationcited by 299
  9. 2022Binding Language Models in Symbolic Languagescited by 224
  10. 2023HuatuoGPT, towards Taming Language Model to Be a Doctorcited by 211
  11. 2024FinBen: A Holistic Financial Benchmark for Large Language Modelscited by 140
  12. 2023ChatDB: Augmenting LLMs with Databases as Their Symbolic Memorycited by 136
  13. 2024SaulLM-7B: A pioneering Large Language Model for Lawcited by 136
  14. 2023SmartPlay: A Benchmark for LLMs as Intelligent Agentscited by 123
  15. 2024FOFO: A Benchmark to Evaluate LLMs' Format-Following Capabilitycited by 79
  16. 2024A Survey of Large Language Models in Finance (FinLLMs)cited by 77
  17. 2023Table-GPT: Table-tuned GPT for Diverse Table Taskscited by 69
  18. 2024Datasets for Large Language Models: A Comprehensive Surveycited by 69
  19. 2023YUAN 2.0: A Large Language Model with Localized Filtering-based Attentioncited by 9
  20. 2023Large Language Models Illuminate a Progressive Pathway to Artificial Healthcare Assistant: A Reviewcited by 8

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 3; 2026: 3.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Evaluating and Enhancing LLMs for Multi-turn Text-to-SQL with Multiple Question Types
  2. 2024NativQA: Multilingual Culturally-Aligned Natural Query for LLMs
  3. 2024Compound-QA: A Benchmark for Evaluating LLMs on Compound Questions
  4. 2023ToolQA: A Dataset for LLM Question Answering with External Tools
  5. 2024Is Large Language Model Good at Database Knob Tuning? A Comprehensive Experimental Evaluation
  6. 2025Agentic LLMs for Question Answering over Tabular Data
  7. 2025LLMSQL: Upgrading WikiSQL for the LLM Era of Text-to-SQL
  8. 2024MINTQA: A Multi-Hop Question Answering Benchmark for Evaluating LLMs on New and Tail Knowledge