Query rewriting is crucial for optimizing poorly written queries to enhance database performance. Traditional methods have limitations, but GenRewrite introduces Natural Language Rewrite Rules (NLR2s) to leverage Large Language Models (LLMs) effectively. By iteratively correcting syntactic and semantic errors in rewritten queries, GenRewrite speeds up complex TPC queries by 2x-3.2x compared to traditional methods and 2.1x higher than LLM baseline.
翻譯成其他語言
從原文內容
arxiv.org
深入探究