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

重新审视数据密集型应用的聚合:性能研究

Revisiting Aggregation for Data Intensive Applications: A Performance Study

Jian Wen, Vinayak R. Borkar, Michael J. Carey, Vassilis J. Tsotras

摘要:

从关系数据库的早期开始,聚合就一直是一个重要的操作。当今的大数据应用程序在处理聚合查询时带来了进一步的挑战,需要自适应聚合算法,这些算法可以处理相对于潜在有限内存预算的大量数据(特别是在多用户设置中)。尽管它的重要性,聚合算法的设计和评估并没有得到同样的关注,其他基本运营商,如加入,在文献中收到。因此,当考虑在新的并行大数据处理平台(AsterixDB)中实现哪种聚合算法时,我们面临着缺乏“现成”的答案,我们可以简单地阅读,然后基于先前的性能研究实现。在本文中,我们重新审视了在大数据平台中使用的高效局部聚合算法的工程。我们讨论了几个候选算法的显着实现细节,并提出了深入的实验性能研究,以指导未来的大数据引擎开发人员。我们表明,大数据平台的聚合运算符的有效实现是不平凡的,应该考虑许多因素,包括内存使用,溢出策略,I/O和CPU成本。此外,我们引入精确的成本模型,可以帮助选择一个合适的算法的基础上输入参数,包括内存预算,分组键基数和数据倾斜。

英文摘要:

Aggregation has been an important operation since the early days of relational databases. Today's Big Data applications bring further challenges when processing aggregation queries, demanding adaptive aggregation algorithms that can process large volumes of data relative to a potentially limited memory budget (especially in multiuser settings). Despite its importance, the design and evaluation of aggregation algorithms has not received the same attention that other basic operators, such as joins, have received in the literature. As a result, when considering which aggregation algorithm(s) to implement in a new parallel Big Data processing platform (AsterixDB), we faced a lack of "off the shelf" answers that we could simply read about and then implement based on prior performance studies. In this paper we revisit the engineering of efficient local aggregation algorithms for use in Big Data platforms. We discuss the salient implementation details of several candidate algorithms and present an in-depth experimental performance study to guide future Big Data engine developers. We show that the efficient implementation of the aggregation operator for a Big Data platform is non-trivial and that many factors, including memory usage, spilling strategy, and I/O and CPU cost, should be considered. Further, we introduce precise cost models that can help in choosing an appropriate algorithm based on input parameters including memory budget, grouping key cardinality, and data skew.

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

↑