DBScholar

Back to papers

R-Bot: An LLM-based Query Rewrite System

Summary: R-Bot uses LLMs for SQL rewriting while mitigating hallucinations via multi-source rewrite evidence and hybrid structural-semantic retrieval. Its iterative, self-reflective rule selection outperforms prior methods and reduces latency in Huawei/customer deployments. (summarized by gpt-5.6-luna on Jul 24 2026)

Paper ID
h798906c6677787c2
Venue
VLDB
Year
2025
Pagerank
6.6235293e-05
Overall Rank
4,385 | 70.52%
DOI
10.14778/3750601.3750625

Incoming Non-self Citations Over Time

Authors

BibTeX Citation

@article{sun_vldb25,
        title = {{R-Bot: An LLM-based Query Rewrite System}},
        author = {Sun, Zhaoyan and Zhou, Xuanhe and Li, Guoliang and Yu, Xiang and Feng, Jianhua and Zhang, Yong},
        journal = {PVLDB},
        series = {{VLDB} '25},
        volume = {18},
        number = {12},
        pages = {5031--5044},
        doi = {10.14778/3750601.3750625},
        url = {https://doi.org/10.14778/3750601.3750625},
        year = {2025}
}

Incoming Citations (Sorted by Pagerank)

Showing 14 of 14 citing papers.

Rank Citing Paper Year Venue Pagerank
3,336 GenRewrite: Query Rewriting via Large Language Models 2026 SIGMOD 7.4137763e-05
3,466 In-depth Analysis of Graph-based RAG in a Unified Framework 2025 VLDB 7.2783993e-05
4,132 SQLStorm: Taking Database Benchmarking into the LLM Era 2025 VLDB 6.7885553e-05
10,359 Leveraging Query Optimizers to Verify the Soundness of LLM-based Query Rewrites for Real-World Workloads, and More! 2026 CIDR 4.9793485e-05
10,422 Bridging the Gap: Cardinality Estimation for Semantic Queries on Unstructured Data 2026 SIGMOD 4.9793485e-05
10,466 HAMMER: An Automatic RAG Tuning System via Hierarchical Memory-Guided Monte Carlo Tree Search 2026 SIGMOD 4.9793485e-05
10,580 MCTuner: Spatial Decomposition-Enhanced Database Tuning via LLM-Guided Exploration 2026 SIGMOD 4.9793485e-05
10,596 SEFRQO: A Self-Evolving Fine-Tuned RAG-Based Query Optimizer 2026 SIGMOD 4.9793485e-05
10,791 BookRAG: A Hierarchical Structure-aware Index-based Approach for Retrieval-Augmented Generation on Complex Documents 2026 VLDB 4.9793485e-05
10,832 ReSequel: Robust LLM-assisted Query Rewriting and Optimization using Templatization and Sampling 2026 VLDB 4.9793485e-05
10,918 Evaluating the Practical Effectiveness of LLM-Driven Index Tuning on Microsoft SQL Server 2026 VLDB 4.9793485e-05
10,971 Verified LLM-Based Query Rewriting for Microsoft SQL Server 2026 VLDB 4.9793485e-05
11,029 Graph-Based Retrieval-Augmented Generation: Applications, Challenges, Solutions, and Opportunities 2026 VLDB 4.9793485e-05
13,608 TrustBCI: A Trustworthy Platform for Collaborative Brain-Computer Interface Data Exchange 2026 VLDB -
Previous Page 1 / 1 Next

Outgoing Citations (Sorted by Pagerank)

Showing 26 of 26 cited papers.

Citations counted here include only citations to other VLDB/SIGMOD/CIDR/PODS papers in this database.

Rank Cited Paper Year Venue Pagerank
185 CockroachDB: The Resilient Geo-Distributed SQL Database 2020 SIGMOD 0.00026072278
379 Apache Calcite: A Foundational Framework for Optimized Query Processing Over Heterogeneous Data Sources 2018 SIGMOD 0.00019514689
790 Cosette: An Automated Prover for SQL 2017 CIDR 0.00013976438
1,515 DSB: A Decision Support Benchmark for Workload-Driven and Traditional Database Systems 2021 VLDB 0.00010417728
1,658 D-Bot: Database Diagnosis System using Large Language Models 2024 VLDB 9.9642078e-05
1,893 WeTune: Automatic Discovery and Verification of Query Rewrite Rules 2022 SIGMOD 9.4126198e-05
2,039 LLM-R^2: A Large Language Model Enhanced Rule-based Rewrite System for Boosting Query Efficiency 2025 VLDB 9.1493268e-05
2,231 GPTuner: A Manual-Reading Database Tuning System via GPT-Guided Bayesian Optimization 2024 VLDB 8.7982985e-05
2,250 QueryFormer: A Tree Transformer Model for Query Plan Representation 2022 VLDB 8.7533306e-05
2,348 The Dawn of Natural Language to SQL: Are We Fully Ready? 2024 VLDB 8.6009821e-05
2,395 A Learned Query Rewrite System using Monte Carlo Tree Search 2022 VLDB 8.5281914e-05
2,961 Proving Query Equivalence Using Linear Integer Arithmetic 2023 SIGMOD 7.8068219e-05
3,336 GenRewrite: Query Rewriting via Large Language Models 2026 SIGMOD 7.4137763e-05
3,489 Combining Small Language Models and Large Language Models for Zero-Shot NL2SQL 2024 VLDB 7.2627807e-05
3,682 openGauss: An Autonomous Database System 2021 VLDB 7.1013922e-05
4,108 QueryBooster: Improving SQL Performance Using Middleware Services for Human-Centered Query Rewriting 2023 VLDB 6.8020689e-05
4,142 AOP: Automated and Interactive LLM Pipeline Orchestration for Answering Complex Queries 2025 CIDR 6.7814795e-05
4,229 Cracking SQL Barriers: An LLM-based Dialect Translation System 2025 SIGMOD 6.7165534e-05
4,707 PreQR: Pre-training Representation for SQL Understanding 2022 SIGMOD 6.4587914e-05
4,718 Chat2Data: An Interactive Data Analysis System with RAG, Vector Databases and LLMs 2024 VLDB 6.4551989e-05
5,149 LLM for Data Management 2024 VLDB 6.2551644e-05
5,481 A Comparative Study and Component Analysis of Query Plan Representation Techniques in ML4DB Studies 2024 VLDB 6.1125124e-05
6,604 GaussDB: A Cloud-Native Multi-Primary Database with Compute-Memory-Storage Disaggregation 2024 VLDB 5.7392648e-05
7,931 SlabCity: Whole-Query Optimization using Program Synthesis 2023 VLDB 5.4238328e-05
8,622 A Learned Query Rewrite System 2023 VLDB 5.3012467e-05
10,293 D-Bot: An LLM-Powered DBA Copilot 2025 SIGMOD 5.0431863e-05
Previous Page 1 / 1 Next

Semantically Similar Papers