R-Bot: An LLM-based Query Rewrite System
2 Dec · Zhaoyan Sun, Xuanhe Zhou, Guoliang Li +3 · arXiv:2412.01661
Query rewrite is essential for optimizing SQL queries to improve their execution efficiency without changing their results. Traditionally, this task has been tackled through heuristic and learning-based methods, each with its limitations in terms of inferior quality and low robustness. Recent advancements in LLMs offer a new paradigm by leveraging their superior natural language and code comprehension abilities.…