arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.04824cs.DBcs.DCcs.PL
收藏

面向多粒度数据分析的多关系代数

Multi-Relational Algebra for Multi-Granular Data Analytics

Xi Wu, Eugene Wu, Zichen Zhu, Fengan Li, Jeffrey F. Naughton

AI总结:

针对跨粒度实体与特征关系分析中现有 SQL/OLAP 构造可组合性和性能不足的问题,论文提出 MRA 及其 RelationSpace、SliceRelation 抽象与转换算子,并已在 Google 生产环境验证。

摘要:

在现代数据分析中,分析师经常面临这样的挑战:通过为每个实体评估其一组特征关系来推导关键分析属性,从而搜索理想的实体。这种搜索具有挑战性,因为实体及其特征关系的定义都可能跨越多个不同的粒度。现有的构造,如 GROUP BY CUBE、GROUP BY GROUPING SETS、ARRAY AGGREGATE、WINDOW 函数、OLAP cube 以及各种数据解释范式,旨在促进此类分析,但在可组合性、清晰规范和性能方面都存在局限。为应对这些挑战,我们提出了 Multi-Relational Algebra(MRA,多关系代数),它通过两个核心数据抽象对关系代数进行泛化:用于管理关系集合的 RelationSpace,以及围绕实体及其对应的关系值特征来组织数据的 SliceRelation。MRA 引入了一组丰富的算子,用于在这些表示之间转换数据,从而以模块化和声明式的方式实现复杂的多粒度分析。MRA 的早期版本已在 Google 投入生产,支持多种数据洞察应用。本文描述了 MRA 的动机、形式化、实现以及未来机遇。

英文摘要:

In modern data analytics, analysts frequently face the challenge of searching for desirable entities by evaluating, for each entity, a collection of its feature relations to derive key analytical properties. This search is challenging because the definitions of both entities and their feature relations may span multiple, varying granularities. Existing constructs such as GROUP BY CUBE, GROUP BY GROUPING SETS, ARRAY AGGREGATE, WINDOW functions, OLAP cube, and various data explanation paradigms aim to facilitate such analyses, but all exhibit limitations in terms of composability, clear specifications, and performance. To address these challenges, we introduce Multi-Relational Algebra (MRA), which generalizes relational algebra with two core data abstractions: RelationSpace, for managing collections of relations, and SliceRelation, which structures data around entities with corresponding relation-valued features. MRA introduces a rich set of operators for transforming data between these representations, enabling complex multi-granular analysis in a modular and declarative way. An early version of MRA is in production at Google, supporting diverse data insight applications. This paper describes the motivation for MRA, its formalism, implementation, and future opportunities.

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

↑