{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,4,7]],"date-time":"2025-04-07T18:29:17Z","timestamp":1744050557771},"reference-count":48,"publisher":"Association for Computing Machinery (ACM)","issue":"11","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. VLDB Endow."],"published-print":{"date-parts":[[2021,7]]},"abstract":"<jats:p>\n            Data analysis often involves\n            <jats:italic>comparing<\/jats:italic>\n            subsets of data across many dimensions for finding unusual trends and patterns. While the comparison between subsets of data can be expressed using SQL, they tend to be complex to write, and suffer from poor performance over large and high-dimensional datasets. In this paper, we propose a new logical operator COMPARE for relational databases that concisely captures the enumeration and comparison between subsets of data and greatly simplifies the expressing of a large class of comparative queries. We extend the database engine with optimization techniques that exploit the semantics of COMPARE to significantly improve the performance of such queries. We have implemented these extensions inside Microsoft SQL Server, a commercial DBMS engine. Our extensive evaluation on synthetic and real-world datasets shows that COMPARE results in a significant speedup over existing approaches, including physical plans generated by today's database systems, user-defined functions (UDFs), as well as middleware solutions that compare subsets outside the databases.\n          <\/jats:p>","DOI":"10.14778\/3476249.3476291","type":"journal-article","created":{"date-parts":[[2021,10,27]],"date-time":"2021-10-27T16:46:23Z","timestamp":1635353183000},"page":"2419-2431","source":"Crossref","is-referenced-by-count":5,"title":["COMPARE"],"prefix":"10.14778","volume":"14","author":[{"given":"Tarique","family":"Siddiqui","sequence":"first","affiliation":[{"name":"Microsoft Research"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Surajit","family":"Chaudhuri","sequence":"additional","affiliation":[{"name":"Microsoft Research"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Vivek","family":"Narasayya","sequence":"additional","affiliation":[{"name":"Microsoft Research"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2021,10,27]]},"reference":[{"key":"e_1_2_1_1_1","unstructured":"Airline dataset (http:\/\/stat-computing.org\/dataexpo\/2009\/the-data.html). [Online; accessed 30-Oct-2015].  Airline dataset (http:\/\/stat-computing.org\/dataexpo\/2009\/the-data.html). [Online; accessed 30-Oct-2015]."},{"key":"e_1_2_1_2_1","unstructured":"Powerbi (https:\/\/powerbi.microsoft.com\/en-us\/). [Online; accessed 3-June-2019].  Powerbi (https:\/\/powerbi.microsoft.com\/en-us\/). [Online; accessed 3-June-2019]."},{"key":"e_1_2_1_3_1","unstructured":"Powerbi (https:\/\/www.tableau.com\/products\/new-features\/explain-data). [Online; accessed 3-June-2020].  Powerbi (https:\/\/www.tableau.com\/products\/new-features\/explain-data). [Online; accessed 3-June-2020]."},{"key":"e_1_2_1_4_1","unstructured":"Tableau public (www.tableaupublic.com\/). [Online; accessed 11-Nov-2019].  Tableau public (www.tableaupublic.com\/). [Online; accessed 11-Nov-2019]."},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.14778\/3297753.3297761"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.5555\/645922.673497"},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.5555\/645415.652239"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.5555\/1182635.1164206"},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10115-003-0122-9"},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.5555\/645484.656383"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1117\/12.587537"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.datak.2006.05.001"},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.5555\/645922.673628"},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE.2006.9"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1145\/1066157.1066188"},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.5555\/1316689.1316775"},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1145\/3299869.3314037"},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.14778\/3236187.3236194"},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.5555\/645927.672200"},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1023\/A:1009726021843"},{"key":"e_1_2_1_21_1","first-page":"27","volume-title":"Proc. 1996 SiGMOD","volume":"96","author":"Han J.","year":"1996","unstructured":"J. Han : A data mining query language for relational databases . In Proc. 1996 SiGMOD , volume 96 , pages 27 -- 34 , 1996 . J. Han et al. Dmql: A data mining query language for relational databases. In Proc. 1996 SiGMOD, volume 96, pages 27--34, 1996."},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.1023\/A:1009816913055"},{"key":"e_1_2_1_23_1","first-page":"87","volume-title":"ELPUB","author":"Kluyver T.","year":"2016","unstructured":"T. Kluyver , B. Ragan-Kelley , F. P\u00e9rez , B. E. Granger , M. Bussonnier , J. Frederic , K. Kelley , J. B. Hamrick , J. Grout , S. Corlay , Jupyter notebooks-a publishing format for reproducible computational workflows . In ELPUB , pages 87 -- 90 , 2016 . T. Kluyver, B. Ragan-Kelley, F. P\u00e9rez, B. E. Granger, M. Bussonnier, J. Frederic, K. Kelley, J. B. Hamrick, J. Grout, S. Corlay, et al. Jupyter notebooks-a publishing format for reproducible computational workflows. In ELPUB, pages 87--90, 2016."},{"key":"e_1_2_1_24_1","volume-title":"Accelerating scientific data exploration via visual query systems. arXiv preprint arXiv:1710.00763","author":"Lee D. J.-L.","year":"2017","unstructured":"D. J.-L. Lee , J. Lee , T. Siddiqui , J. Kim , K. Karahalios , and A. Parameswaran . Accelerating scientific data exploration via visual query systems. arXiv preprint arXiv:1710.00763 , 2017 . D. J.-L. Lee, J. Lee, T. Siddiqui, J. Kim, K. Karahalios, and A. Parameswaran. Accelerating scientific data exploration via visual query systems. arXiv preprint arXiv:1710.00763, 2017."},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.5555\/645921.673155"},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.14778\/3231751.3231753"},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.5555\/1182635.1164217"},{"key":"e_1_2_1_28_1","doi-asserted-by":"publisher","DOI":"10.5555\/645484.656381"},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.1145\/1071610.1071616"},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/253262.253264"},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.5555\/645926.672009"},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.1145\/235968.233334"},{"key":"e_1_2_1_33_1","doi-asserted-by":"publisher","DOI":"10.5555\/645925.671500"},{"key":"e_1_2_1_34_1","doi-asserted-by":"publisher","DOI":"10.1145\/1007568.1007652"},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.1145\/342009.336564"},{"key":"e_1_2_1_36_1","doi-asserted-by":"publisher","DOI":"10.1002\/wics.35"},{"key":"e_1_2_1_37_1","unstructured":"T. Siddiqui S. Chaudhuri and V. Narasayya. Compare technical report. https:\/\/bit.ly\/3i5XNCD.  T. Siddiqui S. Chaudhuri and V. Narasayya. Compare technical report. https:\/\/bit.ly\/3i5XNCD."},{"key":"e_1_2_1_38_1","doi-asserted-by":"publisher","DOI":"10.14778\/3025111.3025126"},{"key":"e_1_2_1_39_1","doi-asserted-by":"publisher","DOI":"10.14778\/3229863.3236235"},{"key":"e_1_2_1_40_1","doi-asserted-by":"publisher","DOI":"10.1109\/TKDE.2015.2480400"},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.1145\/3299869.3314029"},{"key":"e_1_2_1_42_1","doi-asserted-by":"publisher","DOI":"10.14778\/2831360.2831371"},{"key":"e_1_2_1_43_1","doi-asserted-by":"publisher","DOI":"10.1145\/3092931.3092937"},{"key":"e_1_2_1_44_1","doi-asserted-by":"publisher","DOI":"10.1145\/634067.634292"},{"key":"e_1_2_1_45_1","doi-asserted-by":"publisher","DOI":"10.1145\/3025453.3025768"},{"key":"e_1_2_1_46_1","doi-asserted-by":"publisher","DOI":"10.14778\/2732951.2732964"},{"key":"e_1_2_1_47_1","doi-asserted-by":"publisher","DOI":"10.1145\/342009.335390"},{"key":"e_1_2_1_48_1","doi-asserted-by":"publisher","DOI":"10.1109\/PACCS.2010.5626962"}],"container-title":["Proceedings of the VLDB Endowment"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.14778\/3476249.3476291","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2022,12,28]],"date-time":"2022-12-28T10:04:59Z","timestamp":1672221899000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.14778\/3476249.3476291"}},"subtitle":["accelerating groupwise comparison in relational databases for data analytics"],"short-title":[],"issued":{"date-parts":[[2021,7]]},"references-count":48,"journal-issue":{"issue":"11","published-print":{"date-parts":[[2021,7]]}},"alternative-id":["10.14778\/3476249.3476291"],"URL":"https:\/\/doi.org\/10.14778\/3476249.3476291","relation":{},"ISSN":["2150-8097"],"issn-type":[{"value":"2150-8097","type":"print"}],"subject":[],"published":{"date-parts":[[2021,7]]}}}