Lune

SIGMOD2026顶会

Towards Selecting Informative Alternative Relational Query Plans for Database Education

Hui Li, Hu Wang, Sourav S. Bhowmick, Zihao Ma

摘要

Off-the-shelf RDBMS typically expose only the query execution plan ( QEP ) of an SQL query, without presenting information about representative alternative query plans ( AQP s) considered during plan selection in a user-friendly manner. Providing easy access to representative AQP s is valuable in database education, as it helps learners understand the plan choices made by a query optimizer, one of the several important components related to the topic of relational query processing. In this paper, we present a novel problem called informative plan selection problem ( tips ) which aims to discover a set of k informative AQP s from the underlying plan space so that the plan informativeness of the set is maximized. Specifically, we explore two variants of the problem, batch TIPS and incremental TIPS , to cater to diverse learners. Due to the computational hardness of the problem, we present an approximation algorithm to address it efficiently while providing theoretical guarantees for the results. An extensive experimental study, including feedback from real-world learners and a three-year in-class evaluation of academic outcomes, demonstrates the effectiveness of our solutions for database education.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Qr-Hint: Actionable Hints Towards Correcting Wrong SQL Queries 引用了 QueryVis: Logic-based Diagrams help Users Understand Complicated SQL Queries Faster
  • SQLucid: Grounding Natural Language Database Queries with Interactive Explanations 引用了 QueryVis: Logic-based Diagrams help Users Understand Complicated SQL Queries Faster
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper4

  1. QueryVis: Logic-based Diagrams help Users Understand Complicated SQL Queries FasterAristotelis Leventidis, Jiahui Zhang, Cody Dunne, Wolfgang Gatterbauer 等SIGMOD 2020 · 36 次引用
  2. Towards Enhancing Database Education: Natural Language Generation Meets Query Execution PlansWeiguo Wang, Sourav S. Bhowmick, Hui Li, Shafiq R. Joty 等SIGMOD 2021 · 17 次引用
  3. SQLucid: Grounding Natural Language Database Queries with Interactive ExplanationsYuan Tian, Jonathan K. Kummerfeld, Toby Jia-Jun Li, Tianyi ZhangUIST 2024 · 13 次引用
  4. Qr-Hint: Actionable Hints Towards Correcting Wrong SQL QueriesYihao Hu, Amir Gilad, Kristin Stephens-Martinez, Sudeepa Roy 等SIGMOD 2024 · 7 次引用

相关 Paper

  1. Understanding Queries by Conditional InstancesAmir Gilad, Zhengjie Miao, Sudeepa Roy, Jun YangSIGMOD 2022 · 9 次引用
  2. How to Optimize SQL Queries? A Comparison Between Split, Holistic, and Hybrid ApproachesLuca Gretscher, Jens DittrichVLDB 2025
  3. Guided SQL-Based Data Exploration with User FeedbackAntonis Mandamadiotis, Georgia Koutrika, Sihem Amer-YahiaICDE 2024 · 3 次引用
  4. Towards a Unified Query Plan RepresentationJinsheng Ba, Manuel RiggerICDE 2025
  5. Athena: An Effective Learning-based Framework for Query Optimizer Performance ImprovementRunzhong Li, Qilong Li, Haotian Liu, Rui Mao 等SIGMOD 2025 · 3 次引用
黄昏的海面,两侧是细线勾勒的悬崖