GYM: A Multiround Distributed Join Algorithm

F. Afrati, Manas R. Joglekar, C. Ré, S. Salihoglu, J. Ullman
{"title":"GYM: A Multiround Distributed Join Algorithm","authors":"F. Afrati, Manas R. Joglekar, C. Ré, S. Salihoglu, J. Ullman","doi":"10.4230/LIPIcs.ICDT.2017.4","DOIUrl":null,"url":null,"abstract":"Multiround algorithms are now commonly used in distributed data processing systems, yet the extent to which algorithms can benefit from running more rounds is not well understood. This paper answers this question for several rounds for the problem of computing the equijoin of n relations. Given any query Q with width w, intersection width iw, input size IN, output size OUT, and a cluster of machines with M=\\Omega(IN \\frac{1}{\\epsilon}) memory available per machine, where \\epsilon > 1 and w \\ge 1 are constants, we show that: 1. Q can be computed in O(n) rounds with O(n(INw + OUT)2/M) communication cost with high probability. Q can be computed in O(log(n)) rounds with O(n(INmax(w, 3iw) + OUT)2/M) communication cost with high probability. Intersection width is a new notion we introduce for queries and generalized hypertree decompositions (GHDs) of queries that captures how connected the adjacent components of the GHDs are. We achieve our first result by introducing a distributed and generalized version of Yannakakis's algorithm, called GYM. GYM takes as input any GHD of Q with width w and depth d, and computes Q in O(d + log(n)) rounds and O(n (INw + OUT)2/M) communication cost. We achieve our second result by showing how to construct GHDs of Q with width max(w, 3iw) and depth O(log(n)). We describe another technique to construct GHDs with longer widths and lower depths, demonstrating other tradeoffs one can make between communication and the number of rounds.","PeriodicalId":90482,"journal":{"name":"Database theory-- ICDT : International Conference ... proceedings. International Conference on Database Theory","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2017-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"28","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Database theory-- ICDT : International Conference ... proceedings. International Conference on Database Theory","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.4230/LIPIcs.ICDT.2017.4","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 28

Abstract

Multiround algorithms are now commonly used in distributed data processing systems, yet the extent to which algorithms can benefit from running more rounds is not well understood. This paper answers this question for several rounds for the problem of computing the equijoin of n relations. Given any query Q with width w, intersection width iw, input size IN, output size OUT, and a cluster of machines with M=\Omega(IN \frac{1}{\epsilon}) memory available per machine, where \epsilon > 1 and w \ge 1 are constants, we show that: 1. Q can be computed in O(n) rounds with O(n(INw + OUT)2/M) communication cost with high probability. Q can be computed in O(log(n)) rounds with O(n(INmax(w, 3iw) + OUT)2/M) communication cost with high probability. Intersection width is a new notion we introduce for queries and generalized hypertree decompositions (GHDs) of queries that captures how connected the adjacent components of the GHDs are. We achieve our first result by introducing a distributed and generalized version of Yannakakis's algorithm, called GYM. GYM takes as input any GHD of Q with width w and depth d, and computes Q in O(d + log(n)) rounds and O(n (INw + OUT)2/M) communication cost. We achieve our second result by showing how to construct GHDs of Q with width max(w, 3iw) and depth O(log(n)). We describe another technique to construct GHDs with longer widths and lower depths, demonstrating other tradeoffs one can make between communication and the number of rounds.
GYM:一种多轮分布式连接算法
多轮算法现在普遍用于分布式数据处理系统中,然而,算法从运行更多轮中获益的程度尚未得到很好的理解。本文对计算n关系的等联接问题作了几轮的回答。给定任意查询Q,其宽度为w,交集宽度为iw,输入大小为IN,输出大小为OUT,每台机器的可用内存为M= \Omega (IN \frac{1}{\epsilon}),其中\epsilon > 1和w \ge 1是常量,我们显示:1。Q可以以O(n(INw + OUT)2/M)通信代价高概率地以O(n(INw + OUT)2/M为周期计算。Q可以在O(log(n))轮中以O(n(INmax(w, 3iw) + OUT)2/M)的高概率通信代价计算。交集宽度是我们为查询和查询的广义超树分解(GHDs)引入的一个新概念,它捕获了GHDs相邻组件的连接方式。我们通过引入Yannakakis算法的分布式和广义版本来实现我们的第一个结果,称为GYM。GYM将宽度为w,深度为d的Q的任意GHD作为输入,并在O(d + log(n))轮和O(n (INw + OUT)2/M)通信成本中计算Q。我们通过展示如何构建宽度为max(w, 3iw)和深度为O(log(n))的Q的ghd来实现第二个结果。我们描述了另一种构建具有更长的宽度和更低深度的ghd的技术,演示了在通信和回合数之间可以做出的其他权衡。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信