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

使用MapReduce的高效多路Theta连接处理

Efficient Multi-way Theta-Join Processing Using MapReduce

Xiaofei Zhang, Lei Chen, Min Wang

摘要:

多路Theta-join查询在描述复杂关系方面具有很强的能力,因此在实际应用中得到了广泛的应用。然而,现有的解决方案,从传统的分布式和并行数据库的多路Theta-join查询不能很容易地扩展到适合无共享的分布式计算范例,这被证明是能够支持OLAP应用程序在巨大的数据量。在这项工作中,我们研究的问题,有效地处理多路Theta-join查询使用MapReduce从成本效益的角度来看。虽然已经有一些作品使用(键,值)对为基础的编程模型来支持连接操作,多路Theta连接查询的有效处理从来没有得到充分的探讨。实质性的挑战在于,给定许多处理单元(可以运行Map或Reduce任务),将多路Theta连接查询映射到许多MapReduce作业,并以良好的调度顺序执行它们,以便最小化总处理时间跨度。我们的解决方案主要包括两个部分:1)单个MapReduce作业和多个按一定顺序执行的MapReduce作业的成本度量; 2)只有一个MapReduce作业的链式Theta-join的高效执行。与[23]中提出的查询评估策略以及广泛采用的Pig Latin和Hive SQL解决方案相比,我们的方法实现了连接处理效率的显着提高。

英文摘要:

Multi-way Theta-join queries are powerful in describing complex relations and therefore widely employed in real practices. However, existing solutions from traditional distributed and parallel databases for multi-way Theta-join queries cannot be easily extended to fit a shared-nothing distributed computing paradigm, which is proven to be able to support OLAP applications over immense data volumes. In this work, we study the problem of efficient processing of multi-way Theta-join queries using MapReduce from a cost-effective perspective. Although there have been some works using the (key,value) pair-based programming model to support join operations, efficient processing of multi-way Theta-join queries has never been fully explored. The substantial challenge lies in, given a number of processing units (that can run Map or Reduce tasks), mapping a multi-way Theta-join query to a number of MapReduce jobs and having them executed in a well scheduled sequence, such that the total processing time span is minimized. Our solution mainly includes two parts: 1) cost metrics for both single MapReduce job and a number of MapReduce jobs executed in a certain order; 2) the efficient execution of a chain-typed Theta-join with only one MapReduce job. Comparing with the query evaluation strategy proposed in [23] and the widely adopted Pig Latin and Hive SQL solutions, our method achieves significant improvement of the join processing efficiency.

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

↑