arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.01967cs.DB
收藏

在列式系统中优化数组值数据的关联查询

Optimizing Relational Queries over Array-Valued Data in Columnar Systems

Univ. Grenoble Alpes, CNRS, Inria(格勒诺布尔阿尔卑斯大学);Opensee(奥彭西);Grenoble INP(格勒诺布尔理工学院)

Maroua Zeblah, Etienne Couritas, Sarah Chlyah, Pierre Genevès, Nils Gesbert, Nabil Layaïda

AI总结:

本文提出A3D-RA扩展关系代数,支持数组值属性,并构建了完整的代数推理与优化框架,通过等价保持转换规则和计划枚举策略提升查询性能。

摘要:

现代分析工作负载越来越多地结合关系数据与数组值属性。尽管列式数据库系统能高效处理此类工作负载,但其在优化交织关系运算符与数组操作的查询方面能力有限。本文介绍了支持数组值属性的扩展关系代数A3D-RA,以及完整的代数推理和优化框架。我们正式化了其数据模型和语义,开发了一套完整的等价保持转换规则,捕捉关系运算符与数组运算符之间的 pairwise 交互,并提出具有最优保证的计划枚举策略,该策略在所有非连接运算符中保持多项式复杂度。我们设计A3D-RA为一个模块化、后端无关的优化层,可被现有分析数据库系统实例化。在三个高性能引擎上对真实工作负载的实验结果表明,所提出的代数优化层带来了持续的性能提升。

英文摘要:

Modern analytical workloads increasingly combine relational data with array-valued attributes. While columnar database systems efficiently process such workloads, their ability to optimize queries that interleave relational operators with array manipulations remains limited. This paper introduces A3D-RA, an extended relational algebra supporting array-valued attributes, together with a comprehensive framework for algebraic reasoning and optimization. We formalize its data model and semantics, develop a complete set of equivalence-preserving transformation rules capturing pairwise interactions between relational and array operators, and propose a plan enumeration strategy with an optimality guarantee that remains polynomial in all non-join operators. We design A3D-RA as a modular, backend-independent optimization layer that can be instantiated over existing analytical database systems. Experimental results across three high-performance engines on a real-world workload show consistent performance gains enabled by the proposed algebraic optimization layer.

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

↑