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

HADAD:一种轻量级的混合复杂分析优化方法(扩展版)

HADAD: A Lightweight Approach for Optimizing Hybrid Complex Analytics Queries (Extended Version)

Rana Alotaibi, Bogdan Cautis, Alin Deutsch, Ioana Manolescu

摘要:

混合复杂分析工作负载通常包括(i)数据管理任务(连接、选择等),使用基于关系代数(RA)的语言容易地表达,以及(ii)复杂分析任务(回归、矩阵分解等),主要用线性代数(LA)表达式表示。这样的工作负载在许多应用领域都很常见,包括科学计算、Web分析和业务推荐。用于评估混合分析任务的现有解决方案--范围从面向LA的系统到关系系统(扩展为处理LA操作),再到混合系统--或者分别优化数据管理和复杂任务,仅利用RA属性而留下未利用的LA特定的优化机会,或者严重关注物理优化,留下未利用的语义查询优化机会。此外,它们不能利用预先计算(物化)的结果来避免重新计算给定的混合(RA和/或LA)计算(的一部分)。在本文中,我们采取了一个重要的一步,提出HADAD,可扩展的轻量级方法,优化混合复杂的分析查询,基于一个共同的抽象,促进统一推理:一个关系模型赋予完整性约束,以填补这一空白。我们的解决方案可以自然和可移植地应用于纯LA和混合RA-LA平台之上,而无需修改其内部结构。一个广泛的实证评估表明,HADAD产生显着的性能增益不同的工作负载,从LA为中心的混合。

英文摘要:

Hybrid complex analytics workloads typically include (i) data management tasks (joins, selections, etc. ), easily expressed using relational algebra (RA)-based languages, and (ii) complex analytics tasks (regressions, matrix decompositions, etc.), mostly expressed in linear algebra (LA) expressions. Such workloads are common in many application areas, including scientific computing, web analytics, and business recommendation. Existing solutions for evaluating hybrid analytical tasks - ranging from LA-oriented systems, to relational systems (extended to handle LA operations), to hybrid systems - either optimize data management and complex tasks separately, exploit RA properties only while leaving LA-specific optimization opportunities unexploited, or focus heavily on physical optimization, leaving semantic query optimization opportunities unexplored. Additionally, they are not able to exploit precomputed (materialized) results to avoid recomputing (part of) a given mixed (RA and/or LA) computation. In this paper, we take a major step towards filling this gap by proposing HADAD, an extensible lightweight approach for optimizing hybrid complex analytics queries, based on a common abstraction that facilitates unified reasoning: a relational model endowed with integrity constraints. Our solution can be naturally and portably applied on top of pure LA and hybrid RA-LA platforms without modifying their internals. An extensive empirical evaluation shows that HADAD yields significant performance gains on diverse workloads, ranging from LA-centered to hybrid.

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

↑