English

Computing Marginals Using MapReduce

Databases 2015-09-30 v1

Abstract

We consider the problem of computing the data-cube marginals of a fixed order kk (i.e., all marginals that aggregate over kk dimensions), using a single round of MapReduce. The focus is on the relationship between the reducer size (number of inputs allowed at a single reducer) and the replication rate (number of reducers to which an input is sent). We show that the replication rate is minimized when the reducers receive all the inputs necessary to compute one marginal of higher order. That observation lets us view the problem as one of covering sets of kk dimensions with sets of a larger size mm, a problem that has been studied under the name "covering numbers." We offer a number of constructions that, for different values of kk and mm meet or come close to yielding the minimum possible replication rate for a given reducer size.

Keywords

Cite

@article{arxiv.1509.08855,
  title  = {Computing Marginals Using MapReduce},
  author = {Foto Afrati and Shantanu Sharma and Jeffrey D. Ullman and Jonathan R. Ullman},
  journal= {arXiv preprint arXiv:1509.08855},
  year   = {2015}
}
R2 v1 2026-06-22T11:08:25.221Z