{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,4]],"date-time":"2026-11-04T18:05:34Z","timestamp":1793815534730,"version":"4.6.1"},"reference-count":42,"publisher":"Association for Computing Machinery (ACM)","issue":"9","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. VLDB Endow."],"published-print":{"date-parts":[[2019,5]]},"abstract":"<jats:p>Query optimizers depend on selectivity estimates of query predicates to produce a good execution plan. When a query contains multiple predicates, today's optimizers use a variety of assumptions, such as independence between predicates, to estimate selectivity. While such techniques have the benefit of fast estimation and small memory footprint, they often incur large selectivity estimation errors. In this work, we reconsider selectivity estimation as a regression problem. We explore application of neural networks and tree-based ensembles to the important problem of selectivity estimation of multi-dimensional range predicates. While their straightforward application does not outperform even simple baselines, we propose two simple yet effective design choices, i.e., regression label transformation and feature engineering, motivated by the selectivity estimation context. Through extensive empirical evaluation across a variety of datasets, we show that the proposed models deliver both highly accurate estimates as well as fast estimation.<\/jats:p>","DOI":"10.14778\/3329772.3329780","type":"journal-article","created":{"date-parts":[[2019,6,24]],"date-time":"2019-06-24T09:43:16Z","timestamp":1561369396000},"page":"1044-1057","source":"Crossref","is-referenced-by-count":173,"title":["Selectivity estimation for range predicates using lightweight models"],"prefix":"10.14778","volume":"12","author":[{"given":"Anshuman","family":"Dutt","sequence":"first","affiliation":[{"name":"Microsoft Research"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Chi","family":"Wang","sequence":"additional","affiliation":[{"name":"Microsoft Research"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Azade","family":"Nazi","sequence":"additional","affiliation":[{"name":"Google AI"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Srikanth","family":"Kandula","sequence":"additional","affiliation":[{"name":"Microsoft Research"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Vivek","family":"Narasayya","sequence":"additional","affiliation":[{"name":"Microsoft Research"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Surajit","family":"Chaudhuri","sequence":"additional","affiliation":[{"name":"Microsoft Research"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2019,5]]},"reference":[{"key":"e_1_2_1_1_1","unstructured":"https:\/\/support.microsoft.com\/en-us\/help\/2658214\/fix-poor-performance-when-you-run-a-query-that-contains-correlated-and.  https:\/\/support.microsoft.com\/en-us\/help\/2658214\/fix-poor-performance-when-you-run-a-query-that-contains-correlated-and."},{"key":"e_1_2_1_2_1","unstructured":"https:\/\/bitbucket.org\/mheimel\/feedback-kde\/src\/default\/.  https:\/\/bitbucket.org\/mheimel\/feedback-kde\/src\/default\/."},{"key":"e_1_2_1_3_1","unstructured":"Cardinality estimation for correlated columns in SQL Server 2016. https:\/\/blogs.msdn.microsoft.com\/sql_server_team\/cardinality-estimation-for-correlated-columns-in-sql-server-2016\/.  Cardinality estimation for correlated columns in SQL Server 2016. https:\/\/blogs.msdn.microsoft.com\/sql_server_team\/cardinality-estimation-for-correlated-columns-in-sql-server-2016\/."},{"key":"e_1_2_1_4_1","unstructured":"How the planner uses statistics. https:\/\/www.postgresql.org\/docs\/current\/row-estimation-examples.html.  How the planner uses statistics. https:\/\/www.postgresql.org\/docs\/current\/row-estimation-examples.html."},{"key":"e_1_2_1_5_1","unstructured":"Statistics in Microsoft SQL Server 2017. https:\/\/docs.microsoft.com\/en-us\/sql\/relational-databases\/statistics\/statistics?view=sql-server-2017.  Statistics in Microsoft SQL Server 2017. https:\/\/docs.microsoft.com\/en-us\/sql\/relational-databases\/statistics\/statistics?view=sql-server-2017."},{"key":"e_1_2_1_6_1","unstructured":"Statistics in Microsoft SQL Server 2017: When to update statistics. https:\/\/docs.microsoft.com\/en-us\/sql\/relational-databases\/statistics\/statistics?view=sql-server-2017#UpdateStatistics.  Statistics in Microsoft SQL Server 2017: When to update statistics. https:\/\/docs.microsoft.com\/en-us\/sql\/relational-databases\/statistics\/statistics?view=sql-server-2017#UpdateStatistics."},{"key":"e_1_2_1_7_1","unstructured":"Understanding optimizer statistics with oracle database 18c. https:\/\/www.oracle.com\/technetwork\/database\/bi-datawarehousing\/twp-stats-concepts-0218-4403739.pdf.  Understanding optimizer statistics with oracle database 18c. https:\/\/www.oracle.com\/technetwork\/database\/bi-datawarehousing\/twp-stats-concepts-0218-4403739.pdf."},{"key":"e_1_2_1_8_1","unstructured":"UCI machine learning repository. https:\/\/archive.ics.uci.edu\/ml\/index.php.  UCI machine learning repository. https:\/\/archive.ics.uci.edu\/ml\/index.php."},{"key":"e_1_2_1_9_1","volume-title":"OSDI","author":"Abadi M.","year":"2016","unstructured":"M. Abadi , P. Barham , J. Chen , Z. Chen , A. Davis , J. Dean , M. Devin , S. Ghemawat , G. Irving , M. Isard , : a system for large-scale machine learning . In OSDI , 2016 . M. Abadi, P. Barham, J. Chen, Z. Chen, A. Davis, J. Dean, M. Devin, S. Ghemawat, G. Irving, M. Isard, et al. Tensorflow: a system for large-scale machine learning. In OSDI, 2016."},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1145\/304182.304198"},{"key":"e_1_2_1_11_1","volume-title":"Selectivity Estimation Using Neural Networks","author":"Boulos J.","year":"1996","unstructured":"J. Boulos and M. Bretonneux . Selectivity Estimation Using Neural Networks . 1996 . J. Boulos and M. Bretonneux. Selectivity Estimation Using Neural Networks. 1996."},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/375663.375686"},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1145\/1559845.1559955"},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.14778\/1453856.1453977"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1145\/191839.191874"},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1145\/2939672.2939785"},{"key":"e_1_2_1_17_1","volume-title":"https:\/\/keras.io","author":"Chollet F.","year":"2015","unstructured":"F. Chollet . https:\/\/keras.io , 2015 . F. Chollet et al. Keras. https:\/\/keras.io, 2015."},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1145\/3219819.3220063"},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1561\/1900000004"},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1145\/375663.375727"},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1007\/s00778-003-0090-4"},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.1145\/2723372.2749438"},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.1145\/1007568.1007641"},{"key":"e_1_2_1_24_1","volume-title":"NIPS","author":"Ke G.","year":"2017","unstructured":"G. Ke , Q. Meng , T. Finley , T. Wang , W. Chen , W. Ma , Q. Ye , and T.-Y. Liu . Lightgbm : A highly efficient gradient boosting decision tree . In NIPS , 2017 . G. Ke, Q. Meng, T. Finley, T. Wang, W. Chen, W. Ma, Q. Ye, and T.-Y. Liu. Lightgbm: A highly efficient gradient boosting decision tree. In NIPS, 2017."},{"key":"e_1_2_1_25_1","volume-title":"CIDR 2019","author":"Kipf A.","year":"2019","unstructured":"A. Kipf , T. Kipf , B. Radke , V. Leis , P. A. Boncz , and A. Kemper . Learned cardinalities: Estimating correlated joins with deep learning . In CIDR 2019 , 2019 . A. Kipf, T. Kipf, B. Radke, V. Leis, P. A. Boncz, and A. Kemper. Learned cardinalities: Estimating correlated joins with deep learning. In CIDR 2019, 2019."},{"key":"e_1_2_1_26_1","volume-title":"VLDB","author":"Lakshmi M. S.","year":"1998","unstructured":"M. S. Lakshmi and S. Zhou . Selectivity estimation in extensible databases - a neural network approach . In VLDB , 1998 . M. S. Lakshmi and S. Zhou. Selectivity estimation in extensible databases - a neural network approach. In VLDB, 1998."},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.1007\/s00778-017-0480-7"},{"key":"e_1_2_1_28_1","volume-title":"CASCON","author":"Liu H.","year":"2015","unstructured":"H. Liu , M. Xu , Z. Yu , V. Corvinelli , and C. Zuzarte . Cardinality Estimation Using Neural Networks . In CASCON , 2015 . H. Liu, M. Xu, Z. Yu, V. Corvinelli, and C. Zuzarte. Cardinality Estimation Using Neural Networks. In CASCON, 2015."},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.1023\/A:1014333932021"},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1007\/s00778-006-0030-1"},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.1145\/276304.276344"},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.14778\/1687627.1687738"},{"key":"e_1_2_1_33_1","volume-title":"NIPS","author":"Mont\u00fafar G.","year":"2014","unstructured":"G. Mont\u00fafar , R. Pascanu , K. Cho , and Y. Bengio . On the number of linear regions of deep neural networks . In NIPS , 2014 . G. Mont\u00fafar, R. Pascanu, K. Cho, and Y. Bengio. On the number of linear regions of deep neural networks. In NIPS, 2014."},{"key":"e_1_2_1_34_1","doi-asserted-by":"publisher","DOI":"10.14778\/3213880.3213882"},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.1145\/50202.50205"},{"key":"e_1_2_1_36_1","first-page":"12","article-title":"Scikit-learn: Machine learning","author":"Pedregosa F.","year":"2011","unstructured":"F. Pedregosa , G. Varoquaux , A. Gramfort , V. Michel , B. Thirion , O. Grisel , M. Blondel , P. Prettenhofer , R. Weiss , V. Dubourg , J. Vanderplas , A. Passos , D. Cournapeau , M. Brucher , M. Perrot , and E. Duchesnay . Scikit-learn: Machine learning in Python. Journal of Machine Learning Research , 12 , 2011 . F. Pedregosa, G. Varoquaux, A. Gramfort, V. Michel, B. Thirion, O. Grisel, M. Blondel, P. Prettenhofer, R. Weiss, V. Dubourg, J. Vanderplas, A. Passos, D. Cournapeau, M. Brucher, M. Perrot, and E. Duchesnay. Scikit-learn: Machine learning in Python. Journal of Machine Learning Research, 12, 2011.","journal-title":"Journal of Machine Learning Research"},{"key":"e_1_2_1_37_1","volume-title":"VLDB","author":"Poosala V.","year":"1997","unstructured":"V. Poosala and Y. E. Ioannidis . Selectivity estimation without the attribute value independence assumption . In VLDB , 1997 . V. Poosala and Y. E. Ioannidis. Selectivity estimation without the attribute value independence assumption. In VLDB, 1997."},{"key":"e_1_2_1_38_1","doi-asserted-by":"publisher","DOI":"10.14778\/3137628.3137658"},{"key":"e_1_2_1_39_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE.2006.84"},{"key":"e_1_2_1_40_1","volume-title":"VLDB","author":"Stillger M.","year":"2001","unstructured":"M. Stillger , G. M. Lohman , V. Markl , and M. Kandil . Leo - db2's learning optimizer . In VLDB , 2001 . M. Stillger, G. M. Lohman, V. Markl, and M. Kandil. Leo - db2's learning optimizer. In VLDB, 2001."},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.1007\/s00778-012-0293-7"},{"key":"e_1_2_1_42_1","doi-asserted-by":"publisher","DOI":"10.1145\/375663.375724"}],"container-title":["Proceedings of the VLDB Endowment"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.14778\/3329772.3329780","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2022,12,28]],"date-time":"2022-12-28T05:36:30Z","timestamp":1672205790000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.14778\/3329772.3329780"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2019,5]]},"references-count":42,"journal-issue":{"issue":"9","published-print":{"date-parts":[[2019,5]]}},"alternative-id":["10.14778\/3329772.3329780"],"URL":"https:\/\/doi.org\/10.14778\/3329772.3329780","relation":{},"ISSN":["2150-8097"],"issn-type":[{"value":"2150-8097","type":"print"}],"subject":[],"published":{"date-parts":[[2019,5]]}}}