{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,23]],"date-time":"2026-10-23T23:07:54Z","timestamp":1792796874487,"version":"4.5.0"},"reference-count":25,"publisher":"Association for Computing Machinery (ACM)","issue":"1","license":[{"start":{"date-parts":[[2023,6,7]],"date-time":"2023-06-07T00:00:00Z","timestamp":1686096000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["SIGMOD Rec."],"published-print":{"date-parts":[[2023,6,7]]},"abstract":"<jats:p>Effective query optimization remains an open problem for Big Data Management Systems. In this work, we revisit an old idea, runtime dynamic optimization, and adapt it to a big data management system, AsterixDB. The approach runs in stages (re-optimization points), starting by first executing all predicates local to a single dataset. The intermediate result created by a stage is then used to re-optimize the remaining query. This re-optimization approach avoids inaccurate intermediate result cardinality estimates, thus leading to much better execution plans. While it introduces overhead for materializing intermediate results, experiments show that this overhead is relatively small and is an acceptable price to pay given the optimization benefits.<\/jats:p>","DOI":"10.1145\/3604437.3604460","type":"journal-article","created":{"date-parts":[[2023,6,8]],"date-time":"2023-06-08T22:22:01Z","timestamp":1686262921000},"page":"104-113","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":5,"title":["Revisiting Runtime Dynamic Optimization for Join Queries in Big Data Management Systems"],"prefix":"10.1145","volume":"52","author":[{"given":"Christina","family":"Pavlopoulou","sequence":"first","affiliation":[{"name":"Univ. of California, Riverside"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Michael J.","family":"Carey","sequence":"additional","affiliation":[{"name":"Univ. of California, Irvine"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Vassilis J.","family":"Tsotras","sequence":"additional","affiliation":[{"name":"Univ. of California, Riverside"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2023,6,8]]},"reference":[{"key":"e_1_2_1_1_1","unstructured":"Apache AsterixDB 2020.  Apache AsterixDB 2020."},{"key":"e_1_2_1_2_1","unstructured":"TPCDS 2020.  TPCDS 2020."},{"key":"e_1_2_1_3_1","unstructured":"TPCH 2020.  TPCH 2020."},{"key":"e_1_2_1_4_1","doi-asserted-by":"crossref","first-page":"615","DOI":"10.1145\/1559845.1559910","volume-title":"Proceedings of the 2009 ACM SIGMOD International Conference on Management of Data","author":"Abdel Kader R.","year":"2009","unstructured":"R. Abdel Kader , P. Boncz , S. Manegold , and M. Van Keulen . ROX: run-time optimization of XQueries . In Proceedings of the 2009 ACM SIGMOD International Conference on Management of Data , pages 615 -- 626 , 2009 . R. Abdel Kader, P. Boncz, S. Manegold, and M. Van Keulen. ROX: run-time optimization of XQueries. In Proceedings of the 2009 ACM SIGMOD International Conference on Management of Data, pages 615--626, 2009."},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/3183713.3183761"},{"key":"e_1_2_1_7_1","first-page":"281","volume-title":"Presented as part of the 9th {USENIX} Symposium on Networked Systems Design and Implementation ({NSDI} 12)","author":"Agarwal S.","year":"2012","unstructured":"S. Agarwal , S. Kandula , N. Bruno , M.-C. Wu , I. Stoica , and J. Zhou . Reoptimizing data parallel computing . In Presented as part of the 9th {USENIX} Symposium on Networked Systems Design and Implementation ({NSDI} 12) , pages 281 -- 294 , 2012 . S. Agarwal, S. Kandula, N. Bruno, M.-C. Wu, I. Stoica, and J. Zhou. Reoptimizing data parallel computing. In Presented as part of the 9th {USENIX} Symposium on Networked Systems Design and Implementation ({NSDI} 12), pages 281--294, 2012."},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.14778\/2733085.2733096"},{"key":"e_1_2_1_9_1","volume-title":"System R: relational approach to database management. ACM Transactions on Database Systems (TODS), 1(2):97--137","author":"Astrahan M. M.","year":"1976","unstructured":"M. M. Astrahan , M. W. Blasgen , D. D. Chamberlin , K. P. Eswaran , J. N. Gray , P. P. Griffiths , W. F. King , R. A. Lorie , P. R. McJones , J. W. Mehl , System R: relational approach to database management. ACM Transactions on Database Systems (TODS), 1(2):97--137 , 1976 . M. M. Astrahan, M. W. Blasgen, D. D. Chamberlin, K. P. Eswaran, J. N. Gray, P. P. Griffiths, W. F. King, R. A. Lorie, P. R. McJones, J. W. Mehl, et al. System R: relational approach to database management. ACM Transactions on Database Systems (TODS), 1(2):97--137, 1976."},{"key":"e_1_2_1_10_1","doi-asserted-by":"crossref","first-page":"261","DOI":"10.1145\/342009.335420","volume-title":"Proceedings of the 2000 ACM SIGMOD International Conference on Management of Data","author":"Avnur R.","year":"2000","unstructured":"R. Avnur and J. M. Hellerstein . Eddies: Continuously adaptive query processing . In Proceedings of the 2000 ACM SIGMOD International Conference on Management of Data , pages 261 -- 272 , 2000 . R. Avnur and J. M. Hellerstein. Eddies: Continuously adaptive query processing. In Proceedings of the 2000 ACM SIGMOD International Conference on Management of Data, pages 261--272, 2000."},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1145\/1066157.1066171"},{"key":"e_1_2_1_12_1","volume-title":"Foundations and Trends\u00ae in Databases","author":"Babu S.","year":"2013","unstructured":"S. Babu and H. Herodotou . Massively parallel databases and mapreduce systems . Foundations and Trends\u00ae in Databases , 2013 . S. Babu and H. Herodotou. Massively parallel databases and mapreduce systems. Foundations and Trends\u00ae in Databases, 2013."},{"key":"e_1_2_1_13_1","doi-asserted-by":"crossref","first-page":"422","DOI":"10.1145\/2806777.2806941","volume-title":"Proceedings of 6th ACM Symposium on Cloud Computing","author":"Borkar V.","year":"2015","unstructured":"V. Borkar , Y. Bu , E. P. Carman Jr , N. Onose , T. Westmann , P. Pirzadeh , M. J. Carey , and V. J. Tsotras . Algebricks: a data model-agnostic compiler backend for big data languages . In Proceedings of 6th ACM Symposium on Cloud Computing , pages 422 -- 433 , 2015 . V. Borkar, Y. Bu, E. P. Carman Jr, N. Onose, T. Westmann, P. Pirzadeh, M. J. Carey, and V. J. Tsotras. Algebricks: a data model-agnostic compiler backend for big data languages. In Proceedings of 6th ACM Symposium on Cloud Computing, pages 422--433, 2015."},{"key":"e_1_2_1_14_1","first-page":"1151","volume-title":"27th International Conference on Data Engineering","author":"Borkar V.","year":"2011","unstructured":"V. Borkar , M. Carey , R. Grover , N. Onose , and R. Vernica . Hyracks: A flexible and extensible foundation for data-intensive computing . In 27th International Conference on Data Engineering , pages 1151 -- 1162 , 2011 . V. Borkar, M. Carey, R. Grover, N. Onose, and R. Vernica. Hyracks: A flexible and extensible foundation for data-intensive computing. In 27th International Conference on Data Engineering, pages 1151--1162, 2011."},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.14778\/2536222.2536223"},{"key":"e_1_2_1_16_1","volume-title":"Optimization of queries with user-defined predicates. ACM Transactions on Database Systems (TODS), 24(2):177--228","author":"Chaudhuri S.","year":"1999","unstructured":"S. Chaudhuri and K. Shim . Optimization of queries with user-defined predicates. ACM Transactions on Database Systems (TODS), 24(2):177--228 , 1999 . S. Chaudhuri and K. Shim. Optimization of queries with user-defined predicates. ACM Transactions on Database Systems (TODS), 24(2):177--228, 1999."},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.14778\/3007263.3007277"},{"issue":"1","key":"e_1_2_1_18_1","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1561\/1900000001","article-title":"Adaptive query processing","volume":"1","author":"Deshpande A.","year":"2007","unstructured":"A. Deshpande , Z. Ives , V. Raman , Adaptive query processing . Foundations and Trends\u00ae in Databases , 1 ( 1 ): 1 -- 140 , 2007 . A. Deshpande, Z. Ives, V. Raman, et al. Adaptive query processing. Foundations and Trends\u00ae in Databases, 1(1):1--140, 2007.","journal-title":"Foundations and Trends\u00ae in Databases"},{"issue":"3","key":"e_1_2_1_19_1","first-page":"19","article-title":"The Cascades framework for query optimization","volume":"18","author":"Graefe G.","year":"1995","unstructured":"G. Graefe . The Cascades framework for query optimization . IEEE Data Eng. Bull. , 18 ( 3 ): 19 -- 29 , 1995 . G. Graefe. The Cascades framework for query optimization. IEEE Data Eng. Bull., 18(3):19--29, 1995.","journal-title":"IEEE Data Eng. Bull."},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1145\/38713.38734"},{"key":"e_1_2_1_21_1","doi-asserted-by":"crossref","first-page":"209","DOI":"10.1109\/ICDE.1993.344061","volume-title":"Proceedings of IEEE 9th International Conference on Data Engineering","author":"Graefe G.","year":"1993","unstructured":"G. Graefe and W. J. McKenna . The volcano optimizer generator: Extensibility and efficient search . In Proceedings of IEEE 9th International Conference on Data Engineering , pages 209 -- 218 . IEEE, 1993 . G. Graefe and W. J. McKenna. The volcano optimizer generator: Extensibility and efficient search. In Proceedings of IEEE 9th International Conference on Data Engineering, pages 209--218. IEEE, 1993."},{"key":"e_1_2_1_22_1","volume-title":"Optimization techniques for queries with expensive methods. ACM Transactions on Database Systems (TODS), 23(2):113--157","author":"Hellerstein J. M.","year":"1998","unstructured":"J. M. Hellerstein . Optimization techniques for queries with expensive methods. ACM Transactions on Database Systems (TODS), 23(2):113--157 , 1998 . J. M. Hellerstein. Optimization techniques for queries with expensive methods. ACM Transactions on Database Systems (TODS), 23(2):113--157, 1998."},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.1145\/1007568.1007641"},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1145\/115790.115835"},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1145\/276304.276315"},{"key":"e_1_2_1_26_1","volume-title":"Proceedings of the 2014 ACM SIGMOD International","author":"Karanasos K.","unstructured":"K. Karanasos , A. Balmin , M. Kutsch , F. Ozcan , V. Ercegovac , C. Xia , and J. Jackson . Dynamically optimizing queries over large scale data platforms . In Proceedings of the 2014 ACM SIGMOD International K. Karanasos, A. Balmin, M. Kutsch, F. Ozcan, V. Ercegovac, C. Xia, and J. Jackson. Dynamically optimizing queries over large scale data platforms. In Proceedings of the 2014 ACM SIGMOD International"}],"container-title":["ACM SIGMOD Record"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3604437.3604460","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3604437.3604460","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T16:47:19Z","timestamp":1750178839000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3604437.3604460"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,6,7]]},"references-count":25,"journal-issue":{"issue":"1","published-print":{"date-parts":[[2023,6,7]]}},"alternative-id":["10.1145\/3604437.3604460"],"URL":"https:\/\/doi.org\/10.1145\/3604437.3604460","relation":{},"ISSN":["0163-5808"],"issn-type":[{"value":"0163-5808","type":"print"}],"subject":[],"published":{"date-parts":[[2023,6,7]]},"assertion":[{"value":"2023-06-08","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}