{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,25]],"date-time":"2026-11-25T22:08:16Z","timestamp":1795644496705,"version":"4.11.3"},"reference-count":12,"publisher":"Association for Computing Machinery (ACM)","issue":"12","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. VLDB Endow."],"published-print":{"date-parts":[[2015,8]]},"abstract":"<jats:p>In this paper, we present a new algorithm for estimating the size of equality join of multiple database tables. The proposed algorithm, Correlated Sampling, constructs a small space synopsis for each table, which can then be used to provide a quick estimate of the join size of this table with other tables subject to dynamically specified predicate filter conditions, possibly specified over multiple columns (attributes) of each table. This algorithm makes a single pass over the data and is thus suitable for streaming scenarios. We compare this algorithm analytically to two other previously known sampling approaches (independent Bernoulli Sampling and End-Biased Sampling) and to a novel sketch-based approach. We also compare these four algorithms experimentally and show that results fully correspond to our analytical predictions based on derived expressions for the estimator variances, with Correlated Sampling giving the best estimates in a large range of situations.<\/jats:p>","DOI":"10.14778\/2824032.2824051","type":"journal-article","created":{"date-parts":[[2015,9,16]],"date-time":"2015-09-16T12:18:17Z","timestamp":1442405897000},"page":"1530-1541","source":"Crossref","is-referenced-by-count":85,"title":["Join size estimation subject to filter conditions"],"prefix":"10.14778","volume":"8","author":[{"given":"David","family":"Vengerov","sequence":"first","affiliation":[{"name":"Oracle Labs, San Jose, CA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Andre Cavalheiro","family":"Menck","sequence":"additional","affiliation":[{"name":"Oracle Corp., Redwood City, CA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Mohamed","family":"Zait","sequence":"additional","affiliation":[{"name":"Oracle Corp."}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Sunil P.","family":"Chakkappen","sequence":"additional","affiliation":[{"name":"Oracle Corp."}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2015,8]]},"reference":[{"key":"e_1_2_1_1_1","volume-title":"M. Tracking Join and Self-Join Sizes in Limited Storage. In Proceedings of the eighteenth ACM SIGMOD-SIGACT-SIGART symposium on Principles of database systems (PODS '99)","author":"Alon N.","year":"1999","unstructured":"Alon , N. , Gibbons , P. B. , Matias , Y. , Szegedy , M. Tracking Join and Self-Join Sizes in Limited Storage. In Proceedings of the eighteenth ACM SIGMOD-SIGACT-SIGART symposium on Principles of database systems (PODS '99) , ACM Press, New York, NY , 1999 , 10--20. 10.1145\/303976.303978 Alon, N., Gibbons, P. B., Matias, Y., Szegedy, M. Tracking Join and Self-Join Sizes in Limited Storage. In Proceedings of the eighteenth ACM SIGMOD-SIGACT-SIGART symposium on Principles of database systems (PODS '99), ACM Press, New York, NY, 1999, 10--20. 10.1145\/303976.303978"},{"key":"e_1_2_1_2_1","volume-title":"Proceedings of the 26th International Conference on Very Large Data Bases (VLDB '00)","author":"Chakrabarti K.","year":"2000","unstructured":"Chakrabarti , K. , Garofalakis , M. N. , Rastogi , R. , and Shim , K . Approximate Query Processing Using Wavelets . In Proceedings of the 26th International Conference on Very Large Data Bases (VLDB '00) , Morgan Kaufmann Publishers Inc. San Francisco, CA , 2000 , 111--122. Chakrabarti, K., Garofalakis, M. N., Rastogi, R., and Shim, K. Approximate Query Processing Using Wavelets. In Proceedings of the 26th International Conference on Very Large Data Bases (VLDB '00), Morgan Kaufmann Publishers Inc. San Francisco, CA, 2000, 111--122."},{"key":"e_1_2_1_3_1","volume-title":"Proceedings of the 2002 ACM SIGMOD International Conference on Management of Data. ACM Press","author":"Dobra A.","year":"2002","unstructured":"Dobra , A. , Garofalakis , M. , Gehrke , J. , and Rastogi , R . Processing Complex Aggregate Queries over Data Streams . In Proceedings of the 2002 ACM SIGMOD International Conference on Management of Data. ACM Press , New York, NY , 2002 , 61--72. 10.1145\/564691.564699 Dobra, A., Garofalakis, M., Gehrke, J., and Rastogi, R. Processing Complex Aggregate Queries over Data Streams. In Proceedings of the 2002 ACM SIGMOD International Conference on Management of Data. ACM Press, New York, NY, 2002, 61--72. 10.1145\/564691.564699"},{"key":"e_1_2_1_4_1","volume-title":"Proceeding of the 22nd International Conference on Data Engineering (ICDE '06)","author":"Estan C.","year":"2006","unstructured":"Estan C. and Naughton , J. F . End-biased Samples for Join Cardinality Estimation . In Proceeding of the 22nd International Conference on Data Engineering (ICDE '06) . IEEE Computer Society Washington, DC , 2006 . 10.1109\/ICDE.2006.61 Estan C. and Naughton, J. F. End-biased Samples for Join Cardinality Estimation. In Proceeding of the 22nd International Conference on Data Engineering (ICDE '06). IEEE Computer Society Washington, DC, 2006. 10.1109\/ICDE.2006.61"},{"key":"e_1_2_1_5_1","volume-title":"Proceeding. In Proceedings of the 1996 ACM SIGMOD International Conference on Management of Data (SIGMOD '96)","author":"Ganguly S.","year":"1996","unstructured":"Ganguly , S. , Gibbons , P. B. , Matias , Y. , Silberschatz , A. Bifocal sampling for skew-resistant join size estimation . Proceeding. In Proceedings of the 1996 ACM SIGMOD International Conference on Management of Data (SIGMOD '96) , ACM Press, New York, NY , 1996 , 271--281. 10.1145\/233269.233340 Ganguly, S., Gibbons, P. B., Matias, Y., Silberschatz, A. Bifocal sampling for skew-resistant join size estimation. Proceeding. In Proceedings of the 1996 ACM SIGMOD International Conference on Management of Data (SIGMOD '96), ACM Press, New York, NY, 1996, 271--281. 10.1145\/233269.233340"},{"key":"e_1_2_1_6_1","volume-title":"Proceedings of International Conference on Extending Database Technology (EDBT'","volume":"2992","author":"Ganguly S.","year":"2004","unstructured":"Ganguly , S. , Garofalakis , M. , and Rastogi , R . Processing Data-Stream Join Aggregates Using Skimmed Sketches . In Proceedings of International Conference on Extending Database Technology (EDBT' 2004 ). Lecture Notes in Computer Science , Volume 2992 . 569--586. Ganguly, S., Garofalakis, M., and Rastogi, R. Processing Data-Stream Join Aggregates Using Skimmed Sketches. In Proceedings of International Conference on Extending Database Technology (EDBT' 2004). Lecture Notes in Computer Science, Volume 2992. 569--586."},{"key":"e_1_2_1_7_1","volume-title":"Proceedings of the twelfth ACM Symposium on Principles of Database Systems, ACM Press, NY, NY","author":"Haas P. J.","year":"1993","unstructured":"Haas , P. J. , Naughton , J. F. , Seshadri , S. , and Swami , A. N . Fixed-Precision Estimation of Join Selectivity . In Proceedings of the twelfth ACM Symposium on Principles of Database Systems, ACM Press, NY, NY , 1993 , 190--201. 10.1145\/153850.153875 Haas, P. J., Naughton, J. F., Seshadri, S., and Swami, A. N. Fixed-Precision Estimation of Join Selectivity. In Proceedings of the twelfth ACM Symposium on Principles of Database Systems, ACM Press, NY, NY, 1993, 190--201. 10.1145\/153850.153875"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.ins.2010.08.024"},{"key":"e_1_2_1_9_1","doi-asserted-by":"crossref","first-page":"11","DOI":"10.1093\/comjnl\/bxt070","volume":"57","author":"Lemire D.","year":"2014","unstructured":"Lemire , D. , Kaser , O. Strongly universal string hashing is fast. Computer Journal , 57 , 11 , ( 2014 ), 1624--1638. Lemire, D., Kaser, O. Strongly universal string hashing is fast. Computer Journal, 57, 11, (2014), 1624--1638.","journal-title":"Computer Journal"},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1145\/1386118.1386121"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1145\/1242524.1242528"},{"key":"e_1_2_1_12_1","volume-title":"Proceedings of the 2013 ACM SIGMOD International Conference on Management of Data (SIGMOD '13)","author":"Yu F.","year":"2013","unstructured":"Yu , F. , Hou , W-C. , Luo , C. , Che , D. , Zhu , M. CS2 : A New Database Synopsis for Query Estimation . In Proceedings of the 2013 ACM SIGMOD International Conference on Management of Data (SIGMOD '13) , ACM Press, New York, NY , 2013 , 469--480. 10.1145\/2463676.2463701 Yu, F., Hou, W-C., Luo, C., Che, D., Zhu, M. CS2: A New Database Synopsis for Query Estimation. In Proceedings of the 2013 ACM SIGMOD International Conference on Management of Data (SIGMOD '13), ACM Press, New York, NY, 2013, 469--480. 10.1145\/2463676.2463701"}],"container-title":["Proceedings of the VLDB Endowment"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.14778\/2824032.2824051","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2022,12,28]],"date-time":"2022-12-28T10:14:51Z","timestamp":1672222491000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.14778\/2824032.2824051"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2015,8]]},"references-count":12,"journal-issue":{"issue":"12","published-print":{"date-parts":[[2015,8]]}},"alternative-id":["10.14778\/2824032.2824051"],"URL":"https:\/\/doi.org\/10.14778\/2824032.2824051","relation":{},"ISSN":["2150-8097"],"issn-type":[{"value":"2150-8097","type":"print"}],"subject":[],"published":{"date-parts":[[2015,8]]}}}