迈向统一的查询计划表示
Towards a Unified Query Plan Representation
AI总结:
本文提出一种统一的查询计划表示,涵盖操作、属性和格式三个组件,使现有测试方法能高效发现17个未知缺陷,并支持可视化工具跨数据库应用及性能改进。
摘要:
在数据库系统中,查询计划是执行查询的一系列具体内部步骤。多种测试方法利用查询计划来查找缺陷。然而,查询计划以特定于数据库的方式表示,因此实现这些测试方法需要大量的工作,阻碍了它们的采用。我们设想统一的查询计划表示可以促进这些方法的实现。在本文中,我们提出了一项探索性案例研究,以调查九个广泛使用的数据库系统中的查询计划表示。我们的研究表明,查询计划表示由三个概念组件组成:操作、属性和格式,这使我们能够设计统一的查询计划表示。基于此,现有的测试方法可以被高效采用,发现了17个以前未知且独特的缺陷。此外,统一的查询计划表示可以促进其他应用。现有的可视化工具可以基于统一的查询计划表示,以适度的实现工作量支持多种数据库系统,并且跨数据库系统比较统一的查询计划为改进其性能提供了可操作的见解。我们期望统一的查询计划表示将能够探索更多的应用场景。
英文摘要:
In database systems, a query plan is a series of concrete internal steps to execute a query. Multiple testing approaches utilize query plans for finding bugs. However, query plans are represented in a database-specific manner, so implementing these testing approaches requires a non-trivial effort, hindering their adoption. We envision that a unified query plan representation can facilitate the implementation of these approaches. In this paper, we present an exploratory case study to investigate query plan representations in nine widely-used database systems. Our study shows that query plan representations consist of three conceptual components: operations, properties, and formats, which enable us to design a unified query plan representation. Based on it, existing testing methods can be efficiently adopted, finding 17 previously unknown and unique bugs. Additionally, the unified query plan representation can facilitate other applications. Existing visualization tools can support multiple database systems based on the unified query plan representation with moderate implementation effort, and comparing unified query plans across database systems provides actionable insights to improve their performance. We expect that the unified query plan representation will enable the exploration of additional application scenarios.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。