DBScholar

Back to papers

Leveraging Query Optimizers to Verify the Soundness of LLM-based Query Rewrites for Real-World Workloads, and More!

Summary: Empirical study on Microsoft SQL Server shows LLM-based query rewriting improves real-world workloads but cannot guarantee semantic equivalence. Propose a sound, efficient equivalence-checking technique leveraging optimizer capabilities and show LLM rewrites expose missing optimizer transformation rules. (summarized by gpt-5-mini on Feb 09 2026)

Paper ID
h40d13bba55364df7
Venue
CIDR
Year
2026
Pagerank
5.115551e-05
Overall Rank
9,754 | 34.62%
DOI
-
PDF
Download (CC BY 4.0)

Incoming Non-self Citations Over Time

Authors

BibTeX Citation

@inproceedings{narasayya_cidr26,
        address = {Amsterdam, Netherlands},
        series = {{CIDR} '26},
        title = {{Leveraging Query Optimizers to Verify the Soundness of LLM-based Query Rewrites for Real-World Workloads, and More!}},
        booktitle = {Proceedings of the {Conference} on {Innovative} {Data} {Systems} {Research}},
        author = {Narasayya, Vivek and Chaudhuri, Surajit},
        year = {2026}
}

Incoming Citations (Sorted by Pagerank)

Showing 3 of 3 citing papers.

Previous Page 1 / 1 Next

Outgoing Citations (Sorted by Pagerank)

Showing 24 of 24 cited papers.

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

Rank Cited Paper Year Venue Pagerank
15 How Good Are Query Optimizers, Really? 2016 VLDB 0.00061463175
473 The Making of TPC-DS 2006 VLDB 0.00017656775
493 Database Tuning Advisor for Microsoft SQL Server 2005 2004 VLDB 0.0001735831
554 Orthogonal Optimization of Subqueries and Aggregation 2001 SIGMOD 0.00016487919
787 Cosette: An Automated Prover for SQL 2017 CIDR 0.00013959502
1,513 DSB: A Decision Support Benchmark for Workload-Driven and Traditional Database Systems 2021 VLDB 0.00010394557
1,678 Axiomatic Foundations and Algorithms for Deciding Semantic Equivalences of SQL Queries 2018 VLDB 9.8966017e-05
1,888 WeTune: Automatic Discovery and Verification of Query Rewrite Rules 2022 SIGMOD 9.4148912e-05
1,956 LLM-R^2: A Large Language Model Enhanced Rule-based Rewrite System for Boosting Query Efficiency 2025 VLDB 9.2927535e-05
2,054 WinMagic : Subquery Elimination Using Window Aggregation 2003 SIGMOD 9.1030561e-05
2,389 A Learned Query Rewrite System using Monte Carlo Tree Search 2022 VLDB 8.5228689e-05
2,971 Proving Query Equivalence Using Linear Integer Arithmetic 2023 SIGMOD 7.7851336e-05
2,995 Panda: Performance Debugging for Databases using LLM Agents 2024 CIDR 7.7556154e-05
3,050 Configuration-Parametric Query Optimization for Physical Design Tuning 2008 SIGMOD 7.6969161e-05
3,158 GenRewrite: Query Rewriting via Large Language Models 2026 SIGMOD 7.5676704e-05
4,079 QueryBooster: Improving SQL Performance Using Middleware Services for Human-Centered Query Rewriting 2023 VLDB 6.8026178e-05
4,116 QED: A Powerful Query Equivalence Decider for SQL 2024 VLDB 6.7846764e-05
4,383 R-Bot: An LLM-based Query Rewrite System 2025 VLDB 6.6140223e-05
5,896 Unified Query Optimization in the Fabric Data Warehouse 2024 SIGMOD 5.9383626e-05
6,294 Incorporating Super-Operators in Big-Data Query Optimizers 2020 VLDB 5.8043081e-05
7,388 Towards Foundation Database Models 2025 CIDR 5.5211011e-05
7,768 DBG-PT: A Large Language Model Assisted Query Performance Regression Debugger 2024 VLDB 5.4392507e-05
8,286 User-Optimizer Communication using Abstract Plans in Sybase ASE 2001 VLDB 5.3449621e-05
10,225 COMPARE: Accelerating Groupwise Comparison in Relational Databases for Data Analytics 2021 VLDB 5.0460607e-05
Previous Page 1 / 1 Next

Semantically Similar Papers