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

大矩阵数据的可扩展关系查询处理

Scalable Relational Query Processing on Big Matrix Data

Yongyang Yu, Mingjie Tang, Walid G. Aref

摘要:

大规模机器学习方法的使用在从商业智能到自动驾驶汽车的许多应用中变得无处不在。这些方法需要由各种类型的操作组成的复杂计算流水线,用于预处理或后处理数据集的关系运算,以及用于核心模型计算的矩阵运算。许多现有的系统专注于有效地处理仅矩阵操作,并假设关系运算符的输入已经预先计算并具体化为中间矩阵。然而,在机器学习流水线中,对关系运算符的输入可能是复杂的,并且可能涉及矩阵运算符的各种组合。因此,实现直接对大矩阵数据进行操作的可扩展且高效的关系查询处理器至关重要。本文提出了新的高效和可扩展的关系查询处理技术的大矩阵数据在内存中的分布式集群。所提出的技术利用代数变换规则重写查询执行计划到一个具有较低的计算成本。分布式查询计划优化器利用合并函数的稀疏诱导属性以及Bloom连接策略来有效地评估连接操作的各种风格。此外,优化的分区方案的输入矩阵的开发,以促进性能的连接操作的成本模型的基础上,最大限度地减少通信overhead.The建议的关系查询处理技术的Apache Spark中的原型。真实和合成数据上的实验表明,所提出的技术实现了两个数量级的性能改善,在广泛的应用范围内的最先进的系统。

英文摘要:

The use of large-scale machine learning methods is becoming ubiquitous in many applications ranging from business intelligence to self-driving cars. These methods require a complex computation pipeline consisting of various types of operations, e.g., relational operations for pre-processing or post-processing the dataset, and matrix operations for core model computations. Many existing systems focus on efficiently processing matrix-only operations, and assume that the inputs to the relational operators are already pre-computed and are materialized as intermediate matrices. However, the input to a relational operator may be complex in machine learning pipelines, and may involve various combinations of matrix operators. Hence, it is critical to realize scalable and efficient relational query processors that directly operate on big matrix data. This paper presents new efficient and scalable relational query processing techniques on big matrix data for in-memory distributed clusters. The proposed techniques leverage algebraic transformation rules to rewrite query execution plans into ones with lower computation costs. A distributed query plan optimizer exploits the sparsity-inducing property of merge functions as well as Bloom join strategies for efficiently evaluating various flavors of the join operation. Furthermore, optimized partitioning schemes for the input matrices are developed to facilitate the performance of join operations based on a cost model that minimizes the communication overhead.The proposed relational query processing techniques are prototyped in Apache Spark. Experiments on both real and synthetic data demonstrate that the proposed techniques achieve up to two orders of magnitude performance improvement over state-of-the-art systems on a wide range of applications.

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

↑