arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2411.14788cs.DBcs.HC
收藏

Jovis:一款面向PostgreSQL查询优化器的可视化工具

Jovis: A Visualization Tool for PostgreSQL Query Optimizer

Yoojin Choi, Juhee Han, Kyoseung Koo, Bongki Moon

AI总结:

针对PostgreSQL查询优化器内部决策过程不透明的问题,研发了交互式可视化工具Jovis,支持优化过程可视化与用户参与优化,兼具教育与实用价值。

摘要:

查询优化器是关系型数据库管理系统的核心组件,它将输入查询转换为高效的执行计划,直接影响查询性能。用户虽可通过EXPLAIN命令获取最终执行计划,并借助现有可视化工具直观理解,但查询优化器的内部决策过程对用户是隐藏的,导致人们难以理解执行计划的构建方式。为解决这一问题,我们提出Jovis——一款用于探索PostgreSQL中查询优化过程的交互式可视化工具。Jovis通过为每种优化策略定制可视化方案,全面呈现整个优化工作流。它还支持用户通过提供提示、调整参数、复用先前优化结果参与优化过程。Jovis既可作为学习者的教育工具,也可作为数据库从业者的实用资源,通过引导优化器做出更优决策或探索此前未考虑的计划,帮助用户理解并改进查询优化。其源代码、数据及其他相关工件已发布于https://github.com/orgs/snu-jovis。

英文摘要:

Query optimizers are essential components of relational database management systems that directly impact query performance as they transform input queries into efficient execution plans. While users can obtain the final execution plan using the EXPLAIN command and leverage existing visualization tools for intuitive understanding, the internal decision-making processes of query optimizers are hidden from users, making it difficult to understand how the plan is constructed. To address this challenge, we present Jovis, an interactive visualization tool designed to explore the query optimization process in PostgreSQL. Jovis provides a comprehensive view of the entire optimization workflow through tailored visualization for each optimization strategy. It also includes features that allow users to participate in optimization by providing hints, tuning parameters, and reusing prior optimization results. Jovis serves as both an educational tool for learners and a practical resource for database professionals, helping users understand and improve query optimization by guiding the optimizer to make better decisions or consider previously unexplored plans. The source code, data, and/or other artifacts have been made available at https://github.com/orgs/snu-jovis.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑