Skew in Parallel Query Processing

被引:57
作者
Beame, Paul [1 ]
Koutris, Paraschos [1 ]
Suciu, Dan [1 ]
机构
[1] Univ Washington, Seattle, WA 98195 USA
来源
PODS'14: PROCEEDINGS OF THE 33RD ACM SIGMOD-SIGACT-SIGART SYMPOSIUM ON PRINCIPLES OF DATABASE SYSTEMS | 2014年
关键词
Parallel Computation; Skew; Lower Bounds;
D O I
10.1145/2594538.2594558
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
We study the problem of computing a conjunctive query q in parallel, using p of servers, on a large database. We consider algorithms with one round of communication, and study the complexity of the communication. We are especially interested in the case where the data is skewed, which is a major challenge for scalable parallel query processing. We establish a tight connection between the fractional edge packing of the query and the amount of communication in two cases. First, in the case when the only statistics on the database are the cardinalities of the input relations, and the data is skew-free, we provide matching upper and lower bounds (up to a polylogarithmic factor of p) expressed in terms of fractional edge packings of the query q. Second, in the case when the relations are skewed and the heavy hitters and their frequencies are known, we provide upper and lower bounds expressed in terms of packings of residual queries obtained by specializing the query to a heavy hitter. All our lower bounds are expressed in the strongest form, as number of bits needed to be communicated between processors with unlimited computational power. Our results generalize prior results on uniform databases (where each relation is a matching) [4], and lower bounds for the MapReduce model [1].
引用
收藏
页码:212 / 223
页数:12
相关论文
共 17 条
[1]  
Afrati FN, 2013, PROC VLDB ENDOW, V6, P277
[2]  
[Anonymous], 2011, P INT C WORLD WID WE, DOI DOI 10.1145/1963405.1963491
[3]  
[Anonymous], 2010, EDBT, DOI [DOI 10.1145/1739041.1739056, 10.1145/1739041.1739056]
[4]  
[Anonymous], 2012, P 9 USENIX C NET WOR
[5]   Size Bounds and Query Plans for Relational Joins [J].
Atserias, Albert ;
Grohe, Martin ;
Marx, Daniel .
PROCEEDINGS OF THE 49TH ANNUAL IEEE SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE, 2008, :739-+
[6]  
Beame P., 2014, CORR
[7]  
Beame P., 2013, P ACM SIGMOD PODS, P273
[8]  
Dean J, 2004, USENIX ASSOCIATION PROCEEDINGS OF THE SIXTH SYMPOSIUM ON OPERATING SYSTEMS DESIGN AND IMPLEMENTATION (OSDE '04), P137
[9]   Hypergraphs, entropy, and inequalities [J].
Friedgut, E .
AMERICAN MATHEMATICAL MONTHLY, 2004, 111 (09) :749-760
[10]   PARALLEL BOTTOM-UP PROCESSING OF DATALOG QUERIES [J].
GANGULY, S ;
SILBERSCHATZ, A ;
TSUR, S .
JOURNAL OF LOGIC PROGRAMMING, 1992, 14 (1-2) :101-126