GenDB: The Next Generation of Query Processing -- Synthesized, Not Engineered
Not on the map. Why?
Abstract (arXiv)
Traditional query processing relies on engines that are carefully optimized and engineered by many experts. However, new techniques and user requirements evolve rapidly, and existing systems often cannot keep pace. At the same time, these systems are difficult to extend due to their internal complexity, and developing new systems requires substantial engineering effort and cost. In this paper, we argue that recent advances in Large Language Models (LLMs) are starting to shape the next generation of query processing systems. We propose using LLMs to synthesize execution code for each incoming query, instead of continuously building, extending, and maintaining complex query processing engines. As a proof of concept, we present GenDB, an LLM-powered agentic system that generates instance-optimized and customized query execution code tailored to specific data, workloads, and hardware resources. We implemented an early prototype of GenDB that uses Claude Code Agent as the underlying component in the multi-agent system, and we evaluate it on OLAP workloads. We use queries from the well-known TPC-H benchmark and also construct a new benchmark designed to reduce potential data leakage from LLM training data. We compare GenDB with state-of-the-art query engines, including DuckDB, Umbra, MonetDB, ClickHouse, and PostgreSQL. GenDB achieves significantly better performance than these systems. Finally, we discuss the current limitations of GenDB and outline future extensions and related research challenges.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 17 of its 61 references that are in the map. First posted on arXiv 2 Mar 2026.
Builds on
17 of 61 references.
References · 17
- 2023Text-to-SQL Empowered by Large Language Models: A Benchmark Evaluationcited by 378
- 2026SkillsBench: Benchmarking How Well Agent Skills Work Across Diverse Taskscited by 289
- 2024CodeS: Towards Building Open-source Language Models for Text-to-SQLcited by 183
- 2023GPTuner: A Manual-Reading Database Tuning System via GPT-Guided Bayesian Optimizationcited by 28
- 2021DB-BERT: a Database Tuning Tool that "Reads the Manual"cited by 19
- 2024λ-Tune: Harnessing Large Language Models for Automated Database System Tuningcited by 18
- 2025Can Large Language Models Be Query Optimizer for Relational Databases?cited by 10
- 2024E2ETune: End-to-End Knob Tuning via Fine-tuned Generative Language Modelcited by 9
- 2016Building Efficient Query Engines in a High-Level Languagecited by 6
- 2025Are Your LLM-based Text-to-SQL Models Secure? Exploring SQL Injection via Backdoor Attackscited by 6
- 2025SEFRQO: A Self-Evolving Fine-Tuned RAG-Based Query Optimizercited by 4
- 2025SQLBarber: A System Leveraging Large Language Models to Generate Customized and Realistic SQL Workloadscited by 3
5 more
- 2025Rethinking Analytical Processing in the GPU Eracited by 2
- 2026Are LLMs Ready for TOON? Benchmarking Structural Correctness-Sustainability Trade-offs in Novel Structured Output Formatscited by 2
- 2015Efficient and Provable Multi-Query Optimizationcited by 1
- 2024GenJoin: Conditional Generative Plan-to-Plan Query Optimizer that Learns from Subplan Hintscited by 1
- 2025PBench: Workload Synthesizer with Real Statistics for Cloud Analytics Benchmarkingcited by 1
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2025BAPPA: Benchmarking Agents, Plans, and Pipelines for Automated Text-to-SQL Generation
- 2025Rethinking Query Optimization for Multi-Agent Systems [Vision]
- 2026An Agentic System for Schema Aware NL2SQL Generation
- 2025A Multi-agent Text2SQL Framework using Small Language Models and Execution Feedback
- 2025AskDB: An LLM Agent for Natural Language Interaction with Relational Databases
- 2025LLM and Agent-Driven Data Analysis: A Systematic Approach for Enterprise Applications and System-level Deployment
- 2025Querying Databases with Function Calling
- 2025AGENTIQL: An Agent-Inspired Multi-Expert Framework for Text-to-SQL Generation