{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,27]],"date-time":"2026-09-27T10:27:53Z","timestamp":1790504873017,"version":"4.1.0"},"reference-count":18,"publisher":"Association for Computing Machinery (ACM)","issue":"12","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. VLDB Endow."],"published-print":{"date-parts":[[2014,8]]},"abstract":"<jats:p>Query optimizers built on the Volcano\/Cascades framework, which is based on transformation rules, are used in many commercial databases. Transformation rulesets proposed earlier for join order enumeration in such a framework either allow enumeration of joins with cross-products (which can significantly increase the cost of optimization), or generate a large number of duplicate derivations. In this paper we propose two new rulesets for generating cross-product free trees. One of the rulesets is a minor extension of a simple but inefficient ruleset, which we prove is complete (we also show that a naive extension of an efficient ruleset leads to incompleteness). We then propose an efficient new ruleset, which is based on techniques proposed recently for top-down join order enumeration, but unlike earlier work it is cleanly integrated into the Volcano\/Cascades framework, and can be used in conjunction with other transformation rules. We show that our ruleset is complete (i.e., it generates the entire search space without cross products) while avoiding inefficiency due to duplicate derivations. We have implemented this ruleset in the PyroJ Optimizer (an implementation of the Volcano optimizer framework) and show that it significantly outperforms the alternatives, in some cases by up to two orders of magnitude, in terms of time taken.<\/jats:p>","DOI":"10.14778\/2732977.2732997","type":"journal-article","created":{"date-parts":[[2015,5,12]],"date-time":"2015-05-12T15:37:52Z","timestamp":1431445072000},"page":"1243-1254","source":"Crossref","is-referenced-by-count":8,"title":["Optimizing join enumeration in transformation-based query optimizers"],"prefix":"10.14778","volume":"7","author":[{"given":"Anil","family":"Shanbhag","sequence":"first","affiliation":[{"name":"IIT Bombay"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"S.","family":"Sudarshan","sequence":"additional","affiliation":[{"name":"IIT Bombay"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2014,8]]},"reference":[{"key":"e_1_2_1_1_1","first-page":"354","volume-title":"VLDB","author":"Chaudhuri S.","year":"1994","unstructured":"S. Chaudhuri and K. Shim . Including group-by in query optimization . In VLDB , pages 354 -- 366 , 1994 . S. Chaudhuri and K. Shim. Including group-by in query optimization. In VLDB, pages 354--366, 1994."},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1145\/1247480.1247567"},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE.2011.5767901"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.14778\/2556549.2556565"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE.2013.6544901"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE.2012.27"},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1145\/375663.375748"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.5555\/645477.654654"},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1145\/244810.244812"},{"issue":"3","key":"e_1_2_1_10_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_11_1","doi-asserted-by":"publisher","DOI":"10.5555\/645478.757691"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/2463676.2465314"},{"key":"e_1_2_1_13_1","first-page":"930","volume-title":"VLDB","author":"Moerkotte G.","year":"2006","unstructured":"G. Moerkotte and T. Neumann . Analysis of two existing and one new dynamic programming algorithm for the generation of optimal bushy join trees without cross products . In VLDB , pages 930 -- 941 , 2006 . G. Moerkotte and T. Neumann. Analysis of two existing and one new dynamic programming algorithm for the generation of optimal bushy join trees without cross products. In VLDB, pages 930--941, 2006."},{"key":"e_1_2_1_14_1","first-page":"314","volume-title":"VLDB","author":"Ono K.","year":"1990","unstructured":"K. Ono and G. M. Lohman . Measuring the complexity of join enumeration in query optimization . In VLDB , pages 314 -- 325 , 1990 . K. Ono and G. M. Lohman. Measuring the complexity of join enumeration in query optimization. In VLDB, pages 314--325, 1990."},{"key":"e_1_2_1_15_1","first-page":"306","volume-title":"VLDB","author":"Pellenkoft A.","year":"1997","unstructured":"A. Pellenkoft , C. A. Galindo-Legaria , and M. Kersten . The complexity of transformation-based join enumeration . In VLDB , pages 306 -- 315 , 1997 . A. Pellenkoft, C. A. Galindo-Legaria, and M. Kersten. The complexity of transformation-based join enumeration. In VLDB, pages 306--315, 1997."},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1145\/342009.335419"},{"key":"e_1_2_1_18_1","first-page":"20","volume-title":"IDEAS","author":"Shapiro L. D.","year":"2001","unstructured":"L. D. Shapiro Exploiting upper and lower bounds in top-down query optimization . In IDEAS , pages 20 -- 33 , 2001 . L. D. Shapiro et al. Exploiting upper and lower bounds in top-down query optimization. In IDEAS, pages 20--33, 2001."},{"key":"e_1_2_1_19_1","first-page":"345","volume-title":"VLDB","author":"Yan W. P.","year":"1995","unstructured":"W. P. Yan and P.-\u00c5. Larson. Eager aggregation and lazy aggregation . In VLDB , pages 345 -- 357 , 1995 . W. P. Yan and P.-\u00c5. Larson. Eager aggregation and lazy aggregation. In VLDB, pages 345--357, 1995."}],"container-title":["Proceedings of the VLDB Endowment"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.14778\/2732977.2732997","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2022,12,28]],"date-time":"2022-12-28T11:22:54Z","timestamp":1672226574000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.14778\/2732977.2732997"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2014,8]]},"references-count":18,"journal-issue":{"issue":"12","published-print":{"date-parts":[[2014,8]]}},"alternative-id":["10.14778\/2732977.2732997"],"URL":"https:\/\/doi.org\/10.14778\/2732977.2732997","relation":{},"ISSN":["2150-8097"],"issn-type":[{"value":"2150-8097","type":"print"}],"subject":[],"published":{"date-parts":[[2014,8]]}}}