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

COMPARE:加速数据分析用关系数据库中的分组比较

COMPARE: Accelerating Groupwise Comparison in Relational Databases for Data Analytics

Tarique Siddiqui, Surajit Chaudhuri, Vivek Narasayya

摘要:

数据分析通常涉及在多个维度上比较数据子集,以发现不寻常的趋势和模式。虽然数据子集之间的比较可以使用SQL表示,但它们往往编写起来很复杂,并且在大型和高维数据集上性能较差。本文提出了一种新的关系数据库逻辑运算符COMPARE,它简洁地描述了数据子集之间的枚举和比较,大大简化了一类比较查询的表达。我们扩展了数据库引擎的优化技术,利用语义比较显着提高性能的查询。我们已经实现了这些扩展内Microsoft SQL Server,一个商业DBMS引擎。我们对合成数据集和真实数据集的广泛评估表明,COMPARE比现有方法(包括由当今数据库系统生成的物理计划,用户定义函数(UDF)以及比较数据库外子集的中间件解决方案)具有显着的加速效果。

英文摘要:

Data analysis often involves comparing subsets of data across many dimensions for finding unusual trends and patterns. While the comparison between subsets of data can be expressed using SQL, they tend to be complex to write, and suffer from poor performance over large and high-dimensional datasets. In this paper, we propose a new logical operator COMPARE for relational databases that concisely captures the enumeration and comparison between subsets of data and greatly simplifies the expressing of a large class of comparative queries. We extend the database engine with optimization techniques that exploit the semantics of COMPARE to significantly improve the performance of such queries. We have implemented these extensions inside Microsoft SQL Server, a commercial DBMS engine. Our extensive evaluation on synthetic and real-world datasets shows that COMPARE results in a significant speedup over existing approaches, including physical plans generated by today's database systems, user-defined function (UDF), as well as middleware solutions that compare subsets outside the databases.

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

↑