Abstract
We focus on a set of problems chiefly inspired by the problem of estimating the size of the (equi-)join between two relational data streams. This problem is at the heart of a wide variety of other problems, both in databases/data streams and beyond, including approximating range-query aggregates, quantiles, and heavy-hitter elements, and building approximate histograms and wavelet representations. Our discussion focuses on efficient, sketch-based streaming algorithms for join-size and self-join-size estimation problems, based on the influential papers of Alon, Matias, Gibbons, and Szegedy.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
References
D. Achlioptas, Database-friendly random projections, in Proceedings of ACM Principles of Database Systems (2001), pp. 274–281
N. Alon, P. Gibbons, Y. Matias, M. Szegedy, Tracking join and self-join sizes in limited storage, in Proceedings of the Eighteenth ACM Symposium on Principles of Database Systems (1999), pp. 10–20
N. Alon, Y. Matias, M. Szegedy, The space complexity of approximating the frequency moments, in Proceedings of the Twenty-Eighth Annual ACM Symposium on the Theory of Computing. (1996), pp. 20–29. Journal version in: J. Comput. Syst. Sci. 58, 137–147 (1999)
Z. Bar-Yossef, R. Kumar, D. Sivakumar, Reductions in streaming algorithms, with an application to counting triangles in graphs, in Proceedings of the 13th Annual ACM-SIAM Symposium on Discrete Algorithms (2002), pp. 623–632
J.L. Carter, M.N. Wegman, Universal classes of hash functions. J. Comput. Syst. Sci. 18(2), 143–154 (1979)
M. Charikar, K. Chen, M. Farach-Colton, Finding frequent items in data streams, in Proceedings of the International Colloquium on Automata, Languages and Programming (ICALP) (2002), pp. 693–703
G. Cormode, S. Muthukrishnan, An improved data stream summary: the count-min sketch and its applications, in Latin American Informatics (2004), pp. 29–38
G. Cormode, M. Garofalakis, Approximate continuous querying over distributed streams. ACM Trans. Database Syst. 33(2) (2008)
G. Cormode, M. Garofalakis, P.J. Haas, C. Jermaine, Synopses for massive data: samples, histograms, wavelets, sketches. Found. Trends® Databases 4(1–3) (2012)
A. Das, J. Gehrke, M. Riedewald, Approximation techniques for spatial data, in Proc. of the 2004 ACM SIGMOD Intl. Conference on Management of Data (2004)
J. Feigenbaum, S. Kannan, M. Strauss, M. Viswanathan, An approximate \({L}_{1}\)-difference algorithm for massive data streams, in Proceedings of the 40th Annual Symposium on Foundations of Computer Science (1999), pp. 501–511
M. Garofalakis, P.B. Gibbons, Approximate query processing: taming the terabytes, in 27th Intl. Conf. on Very Large Data Bases, Rome, Italy (2001). Tutorial
A.C. Gilbert, Y. Kotidis, S. Muthukrishnan, M. Strauss, How to summarize the universe: dynamic maintenance of quantiles, in Proceedings of the International Conference on Very Large Data Bases (2002), pp. 454–465
I.J. Good, Surprise indexes and \(p\)-values. J. Stat. Comput. Simul. 32, 90–92 (1989)
Y.E. Ioannidis, S. Christodoulakis, Optimal histograms for limiting worst-case error propagation in the size of join results. ACM Trans. Database Syst. 18(4), 709–748 (1993)
W.B. Johnson, J. Lindenstrauss, Extensions of Lipschitz mapping into Hilbert space. Contemp. Math. 26, 189–206 (1984)
B. Krishnamurthy, S. Sen, Y. Zhang, Y. Chen, Sketch-based change detection: methods, evaluation and applications, in Proceedings of the ACM SIGCOMM Conference on Internet Measurement (2003), pp. 234–247
E. Kushilevitz, N. Nisan, Communication Complexity (Cambridge University Press, Cambridge, 1997)
R. Motwani, P. Raghavan, Randomized Algorithms (Cambridge University Press, Cambridge, 1995)
S. Muthukrishnan, Data streams: algorithms and applications, in Proceedings of the 14th Annual ACM-SIAM Symposium on Discrete Algorithms (2003)
M. Thorup, Even strongly universal hashing is pretty fast, in Proceedings of the 11th Annual ACM-SIAM Symposium on Discrete Algorithms (2000), pp. 496–497
M. Thorup, Y. Zhang, Tabulation based 4-universal hashing with applications to second moment estimation, in Proceedings of the 15th Annual ACM–SIAM Symposium on Discrete Algorithms (2004), pp. 615–624
M.N. Wegman, J.L. Carter, New hash functions and their use in authentication and set equality. J. Comput. Syst. Sci. 22(3), 265–279 (1981)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2016 Springer-Verlag Berlin Heidelberg
About this chapter
Cite this chapter
Cormode, G., Garofalakis, M. (2016). Join Sizes, Frequency Moments, and Applications. In: Garofalakis, M., Gehrke, J., Rastogi, R. (eds) Data Stream Management. Data-Centric Systems and Applications. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-28608-0_4
Download citation
DOI: https://doi.org/10.1007/978-3-540-28608-0_4
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-28607-3
Online ISBN: 978-3-540-28608-0
eBook Packages: Computer ScienceComputer Science (R0)