{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,3,14]],"date-time":"2026-03-14T09:49:42Z","timestamp":1773481782362,"version":"3.50.1"},"reference-count":46,"publisher":"Association for Computing Machinery (ACM)","issue":"4","license":[{"start":{"date-parts":[[2023,12,8]],"date-time":"2023-12-08T00:00:00Z","timestamp":1701993600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/501100001459","name":"Ministry of Education, Singapore","doi-asserted-by":"crossref","award":["MOE Tier-2 grant MOE-T2EP20221-0015"],"award-info":[{"award-number":["MOE Tier-2 grant MOE-T2EP20221-0015"]}],"id":[{"id":"10.13039\/501100001459","id-type":"DOI","asserted-by":"crossref"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. ACM Manag. Data"],"published-print":{"date-parts":[[2023,12,8]]},"abstract":"<jats:p>Selectivity estimation aims to estimate the size of query results size accurately and efficiently. Despite being a well-researched area for decades, most existing estimators are designed to handle comparison predicates over numeric and categorical data. Nevertheless, Set-valued data are ubiquitous in many applications such as information retrieval and recommendation systems. However, these estimators may not be effective for handling predicates over set-valued data. In this work, we presents novel techniques for selectivity estimation on queries involving predicates over set-valued attributes. We first propose the set-valued column factorization problem, whereby each each set-valued column is converted to multiple numeric subcolumns, and set containment predicates are converted to numeric comparison predicates. This enables us to leverage any existing estimator to perform selectivity estimation. We then develop two methods for column factorization and query conversion, namely ST and STH. We integrate ST and STH into three estimators, Postgres, Neurocard, and DeepDB. We then conduct a comprehensive empirical analysis by comparing our approach against three baselines across three different datasets. The experimental results demonstrate that our methods exhibit superior estimation accuracy while maintaining high efficiency compared to the baseline techniques.<\/jats:p>","DOI":"10.1145\/3626755","type":"journal-article","created":{"date-parts":[[2023,12,12]],"date-time":"2023-12-12T14:01:21Z","timestamp":1702389681000},"page":"1-26","source":"Crossref","is-referenced-by-count":6,"title":["Selectivity Estimation for Queries Containing Predicates over Set-Valued Attributes"],"prefix":"10.1145","volume":"1","author":[{"ORCID":"https:\/\/orcid.org\/0009-0007-2702-9304","authenticated-orcid":false,"given":"Zizhong","family":"Meng","sequence":"first","affiliation":[{"name":"Nanyang Technological University, Singapore, Singapore"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-3519-7013","authenticated-orcid":false,"given":"Xin","family":"Cao","sequence":"additional","affiliation":[{"name":"University of New South Wales, Sydney, NSW, Australia"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-4430-6373","authenticated-orcid":false,"given":"Gao","family":"Cong","sequence":"additional","affiliation":[{"name":"Nanyang Technological University, Singapore, Singapore"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2023,12,12]]},"reference":[{"key":"e_1_2_2_1_1","doi-asserted-by":"publisher","DOI":"10.1145\/304181.304198"},{"key":"e_1_2_2_2_1","unstructured":"Array operators 2023. Array operators in Postgresql. https:\/\/www.postgresql.org\/docs\/12\/functions-array.html"},{"key":"e_1_2_2_3_1","doi-asserted-by":"crossref","unstructured":"Walter Cai Magdalena Balazinska and Dan Suciu. 2019. Pessimistic cardinality estimation: Tighter upper bounds for intermediate join cardinalities. In SIGMOD. 18--35.","DOI":"10.1145\/3299869.3319894"},{"key":"e_1_2_2_4_1","unstructured":"Containment function 2023. Containment function in PostGIS. https:\/\/postgis.net\/docs\/ST_Contains.html"},{"key":"e_1_2_2_5_1","unstructured":"Cover function 2023. Cover function in PostGIS. https:\/\/postgis.net\/docs\/ST_Covers.html"},{"key":"e_1_2_2_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/376284.375685"},{"key":"e_1_2_2_7_1","first-page":"2215","article-title":"Efficiently approximating selectivity functions using low overhead regression models","volume":"13","author":"Dutt Anshuman","year":"2020","unstructured":"Anshuman Dutt, Chi Wang, Vivek Narasayya, and Surajit Chaudhuri. 2020. Efficiently approximating selectivity functions using low overhead regression models. VLDB 13, 12 (2020), 2215--2228.","journal-title":"VLDB"},{"key":"e_1_2_2_8_1","doi-asserted-by":"crossref","unstructured":"Michael R Garey David S Johnson and Larry Stockmeyer. 1974. Some simplified NP-complete problems. In STOC. 47--63.","DOI":"10.1145\/800119.803884"},{"key":"e_1_2_2_9_1","doi-asserted-by":"crossref","unstructured":"Lise Getoor Benjamin Taskar and Daphne Koller. 2001. Selectivity estimation using probabilistic models. In SIGMOD. 461--472.","DOI":"10.1145\/375663.375727"},{"key":"e_1_2_2_10_1","unstructured":"GN 2021. Geographic names of U.S. https:\/\/www.usgs.gov\/u.s.-board-on-geographic-names\/download-gnis-data"},{"key":"e_1_2_2_11_1","volume-title":"Selectivity estimators for multidimensional range queries over real attributes. the VLDB Journal 14, 2","author":"Gunopulos Dimitrios","year":"2005","unstructured":"Dimitrios Gunopulos, George Kollios, Vassilis J Tsotras, and Carlotta Domeniconi. 2005. Selectivity estimators for multidimensional range queries over real attributes. the VLDB Journal 14, 2 (2005), 137--154."},{"key":"e_1_2_2_12_1","doi-asserted-by":"crossref","unstructured":"Peter J Haas Jeffrey F Naughton and Arun N Swami. 1994. On the relative cost of sampling for join selectivity estimation. In PODS. 14--24.","DOI":"10.1145\/182591.182594"},{"key":"e_1_2_2_13_1","doi-asserted-by":"publisher","DOI":"10.14778\/1453856.1453883"},{"key":"e_1_2_2_14_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-18579-4_1"},{"key":"e_1_2_2_15_1","doi-asserted-by":"publisher","DOI":"10.14778\/3503585.3503586"},{"key":"e_1_2_2_16_1","doi-asserted-by":"crossref","unstructured":"Shohedul Hasan Saravanan Thirumuruganathan Jees Augustine Nick Koudas and Gautam Das. 2020. Deep learning models for selectivity estimation of multi-attribute queries. In SIGMOD. 1035--1050.","DOI":"10.1145\/3318464.3389741"},{"key":"e_1_2_2_17_1","doi-asserted-by":"crossref","unstructured":"Max Heimel Martin Kiefer and Volker Markl. 2015. Self-tuning gpu-accelerated kernel density models for multidimensional selectivity estimation. In SIGMOD. 1477--1492.","DOI":"10.1145\/2723372.2749438"},{"key":"e_1_2_2_18_1","doi-asserted-by":"publisher","DOI":"10.14778\/3384345.3384349"},{"key":"e_1_2_2_19_1","unstructured":"Hstore 2023. Hstore type and operators in PostgreSQL. https:\/\/www.postgresql.org\/docs\/current\/hstore.html"},{"key":"e_1_2_2_20_1","unstructured":"Json 2023. Json type and operators in PostgreSQL. https:\/\/www.postgresql.org\/docs\/current\/functions-json.html"},{"key":"e_1_2_2_21_1","first-page":"2085","article-title":"Estimating Join Selectivities using Bandwidth-Optimized Kernel Density Models","volume":"10","author":"Kiefer Martin","year":"2017","unstructured":"Martin Kiefer, Max Heimel, Sebastian Bre\u00df, and Volker Markl. 2017. Estimating Join Selectivities using Bandwidth-Optimized Kernel Density Models. VLDB 10, 13 (2017), 2085--2096.","journal-title":"VLDB"},{"key":"e_1_2_2_22_1","volume-title":"Learned Cardinalities: Estimating Correlated Joins with Deep Learning. In CIDR.","author":"Kipf Andreas","year":"2019","unstructured":"Andreas Kipf, Thomas Kipf, Bernhard Radke, Viktor Leis, Peter A. Boncz, and Alfons Kemper. 2019. Learned Cardinalities: Estimating Correlated Joins with Deep Learning. In CIDR."},{"key":"e_1_2_2_23_1","doi-asserted-by":"publisher","DOI":"10.14257\/ijdta.2016.9.10.24"},{"key":"e_1_2_2_24_1","doi-asserted-by":"publisher","DOI":"10.14778\/2850583.2850594"},{"key":"e_1_2_2_25_1","doi-asserted-by":"publisher","DOI":"10.1007\/s00778-017-0480-7"},{"key":"e_1_2_2_26_1","doi-asserted-by":"publisher","DOI":"10.1016\/B978-012722442-8\/50040-9"},{"key":"e_1_2_2_27_1","doi-asserted-by":"crossref","unstructured":"Richard J Lipton Jeffrey F Naughton and Donovan A Schneider. 1990. Practical selectivity estimation through adaptive sampling. In SIGMOD. 1--11.","DOI":"10.1145\/93597.93611"},{"key":"e_1_2_2_28_1","first-page":"414","article-title":"Pre-training summarization models of structured datasets for cardinality estimation","volume":"15","author":"Lu Yao","year":"2021","unstructured":"Yao Lu, Srikanth Kandula, Arnd Christian K\u00f6nig, and Surajit Chaudhuri. 2021. Pre-training summarization models of structured datasets for cardinality estimation. VLDB 15, 3 (2021), 414--426.","journal-title":"VLDB"},{"key":"e_1_2_2_29_1","doi-asserted-by":"publisher","DOI":"10.14778\/1687627.1687738"},{"key":"e_1_2_2_30_1","doi-asserted-by":"crossref","unstructured":"M Muralikrishna and David J DeWitt. 1988. Equi-depth multidimensional histograms. In SIGMOD. 28--36.","DOI":"10.1145\/971701.50205"},{"key":"e_1_2_2_31_1","unstructured":"MySQL 2017. SET data type in MySQL. http:\/\/download.nust.na\/pub6\/mysql\/tech-resources\/articles\/mysql-set-datatype.html"},{"key":"e_1_2_2_32_1","doi-asserted-by":"crossref","unstructured":"Yongjoo Park Shucheng Zhong and Barzan Mozafari. 2020. QuickSel: Quick Selectivity Learning with Mixture Models. In SIGMOD. 1017--1033.","DOI":"10.1145\/3318464.3389727"},{"key":"e_1_2_2_33_1","doi-asserted-by":"publisher","DOI":"10.1145\/235968.233342"},{"key":"e_1_2_2_34_1","first-page":"486","article-title":"Selectivity estimation without the attribute value independence assumption","volume":"97","author":"Poosala Viswanath","year":"1997","unstructured":"Viswanath Poosala and Yannis E Ioannidis. 1997. Selectivity estimation without the attribute value independence assumption. In VLDB, Vol. 97. 486--495.","journal-title":"VLDB"},{"key":"e_1_2_2_35_1","volume-title":"Shekita","author":"Poosala Viswanath","year":"1996","unstructured":"Viswanath Poosala, Yannis E. Ioannidis, Peter J. Haas, and Eugene J. Shekita. 1996. Improved Histograms for Selectivity Estimation of Range Predicates. In SIGMOD. 294--305."},{"key":"e_1_2_2_36_1","unstructured":"Postgresql 2023. Postgresql 15.1. https:\/\/www.postgresql.org\/docs\/15\/index.html"},{"key":"e_1_2_2_37_1","volume-title":"Theoretical and empirical analysis. 16, 2","author":"Data","year":"2021","unstructured":"Data structure set-trie for storing and querying sets: Theoretical and empirical analysis. 16, 2 (2021)."},{"key":"e_1_2_2_38_1","unstructured":"SQL server 2023. Table-valued parameters in SQL server. https:\/\/learn.microsoft.com\/en-us\/sql\/relational-databases\/tables\/use-table-valued-parameters-database-engine?view=sql-server-ver16"},{"key":"e_1_2_2_39_1","first-page":"19","article-title":"LEO-DB2's learning optimizer","volume":"1","author":"Stillger Michael","year":"2001","unstructured":"Michael Stillger, Guy M Lohman, Volker Markl, and Mokhtar Kandil. 2001. LEO-DB2's learning optimizer. In VLDB, Vol. 1. 19--28.","journal-title":"VLDB"},{"key":"e_1_2_2_40_1","doi-asserted-by":"publisher","DOI":"10.14778\/3485450.3485458"},{"key":"e_1_2_2_41_1","volume-title":"An upper bound for the chromatic number of a graph and its application to timetabling problems. 10, 1","author":"Welsh Dominic JA","year":"1967","unstructured":"Dominic JA Welsh and Martin B Powell. 1967. An upper bound for the chromatic number of a graph and its application to timetabling problems. 10, 1 (1967), 85--86."},{"key":"e_1_2_2_42_1","doi-asserted-by":"crossref","unstructured":"Peizhi Wu and Gao Cong. 2021. A Unified Deep Model of Learning from both Data and Queries for Cardinality Estimation. In SIGMOD. 2009--2022.","DOI":"10.1145\/3448016.3452830"},{"key":"e_1_2_2_43_1","doi-asserted-by":"publisher","DOI":"10.1007\/s41019-019-00104-1"},{"key":"e_1_2_2_44_1","first-page":"61","article-title":"NeuroCard: one cardinality estimator for all tables","volume":"14","author":"Yang Zongheng","year":"2020","unstructured":"Zongheng Yang, Amog Kamsetty, Sifei Luan, Eric Liang, Yan Duan, Xi Chen, and Ion Stoica. 2020. NeuroCard: one cardinality estimator for all tables. VLDB 14, 1 (2020), 61--73.","journal-title":"VLDB"},{"key":"e_1_2_2_45_1","first-page":"279","article-title":"Deep Unsupervised Cardinality Estimation","volume":"13","author":"Yang Zongheng","year":"2019","unstructured":"Zongheng Yang, Eric Liang, Amog Kamsetty, Chenggang Wu, Yan Duan, Xi Chen, Pieter Abbeel, Joseph M Hellerstein, Sanjay Krishnan, and Ion Stoica. 2019. Deep Unsupervised Cardinality Estimation. VLDB 13, 3, 279--292.","journal-title":"VLDB"},{"key":"e_1_2_2_46_1","first-page":"1489","article-title":"FLAT: fast, lightweight and accurate method for cardinality estimation","volume":"14","author":"Zhu Rong","year":"2021","unstructured":"Rong Zhu, Ziniu Wu, Yuxing Han, Kai Zeng, Andreas Pfadler, Zhengping Qian, Jingren Zhou, and Bin Cui. 2021. FLAT: fast, lightweight and accurate method for cardinality estimation. VLDB 14, 9 (2021), 1489--1502.","journal-title":"VLDB"}],"container-title":["Proceedings of the ACM on Management of Data"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3626755","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3626755","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,8,22]],"date-time":"2025-08-22T13:02:16Z","timestamp":1755867736000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3626755"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,12,8]]},"references-count":46,"journal-issue":{"issue":"4","published-print":{"date-parts":[[2023,12,8]]}},"alternative-id":["10.1145\/3626755"],"URL":"https:\/\/doi.org\/10.1145\/3626755","relation":{},"ISSN":["2836-6573"],"issn-type":[{"value":"2836-6573","type":"electronic"}],"subject":[],"published":{"date-parts":[[2023,12,8]]}}}