{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,12,4]],"date-time":"2025-12-04T18:35:08Z","timestamp":1764873308885},"reference-count":11,"publisher":"Association for Computing Machinery (ACM)","issue":"2","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. VLDB Endow."],"published-print":{"date-parts":[[2008,8]]},"abstract":"<jats:p>The role of a query optimizer in a database system is to find the best execution plan for a given SQL statement based on statistics about the objects related to the tables referenced in the statement. These statistics include the tables themselves, their indexes, and other derived objects. Statistics include the number of rows, space utilization on disk, distribution of column values, etc. Optimization also relies on system statistics, such as the I\/O bandwidth of the storage sub-system. All of this information is fed into a cost model. The cost model is used to compute the cost whenever the query optimizer needs to make a decision for an access path, join method, join order, or query transformation. The optimizer picks the alternative that yields the lowest cost.<\/jats:p>\n          <jats:p>The quality of the final execution plan depends primarily on the quality of the information fed into the cost model as well as the cost model itself. In this paper, we discuss two of the problems that affect the quality of execution plans generated by the query optimizer: the cardinality of intermediate results and host variable values. We will give details of the solutions we introduced in Oracle 11g. Our approach establishes a bridge from the SQL execution engine to the SQL compiler. The bridge brings valuable information to help the query optimizer assess the impact of its decisions and make better decisions for future executions of the SQL statement. We illustrate the merits of our solutions based on experiments using the Oracle E-Business Suite workload.<\/jats:p>","DOI":"10.14778\/1454159.1454178","type":"journal-article","created":{"date-parts":[[2014,6,24]],"date-time":"2014-06-24T12:17:57Z","timestamp":1403612277000},"page":"1368-1378","source":"Crossref","is-referenced-by-count":6,"title":["Closing the query processing loop in Oracle 11g"],"prefix":"10.14778","volume":"1","author":[{"given":"Allison W.","family":"Lee","sequence":"first","affiliation":[{"name":"Oracle USA, Redwood Shores, CA"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Mohamed","family":"Zait","sequence":"additional","affiliation":[{"name":"Oracle USA, Redwood Shores, CA"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2008,8]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.5555\/1182635.1164215"},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1145\/342009.335420"},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/1376616.1376721"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1145\/191839.191872"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.5555\/1316689.1316784"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.5555\/1287369.1287454"},{"key":"e_1_2_1_7_1","unstructured":"DB2 Version 9.1 - http:\/\/www-1.ibm.com\/support\/docview.wss?rs=71&uid=swg27009474  DB2 Version 9.1 - http:\/\/www-1.ibm.com\/support\/docview.wss?rs=71&uid=swg27009474"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/1007568.1007642"},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1145\/276304.276315"},{"key":"e_1_2_1_10_1","unstructured":"SQL Server 2005 Books Online - http:\/\/msdn2.microsoft.com\/en-us\/library\/ms130214.aspx.  SQL Server 2005 Books Online - http:\/\/msdn2.microsoft.com\/en-us\/library\/ms130214.aspx."},{"key":"e_1_2_1_11_1","first-page":"19","volume-title":"Proc. of the 27th International Conference on Very Large Databases","author":"Stillger M.","year":"2001","unstructured":"Stillger , M. , Lohman , G. , Markl , V. , Kandil , M. \"LEO -DB2's Learning Optimizer \". In Proc. of the 27th International Conference on Very Large Databases , 2001 . Pages 19 -- 28 . Stillger, M., Lohman, G., Markl, V., Kandil, M. \"LEO -DB2's Learning Optimizer\". In Proc. of the 27th International Conference on Very Large Databases, 2001. Pages 19--28."}],"container-title":["Proceedings of the VLDB Endowment"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.14778\/1454159.1454178","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2022,12,28]],"date-time":"2022-12-28T09:56:13Z","timestamp":1672221373000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.14778\/1454159.1454178"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2008,8]]},"references-count":11,"journal-issue":{"issue":"2","published-print":{"date-parts":[[2008,8]]}},"alternative-id":["10.14778\/1454159.1454178"],"URL":"https:\/\/doi.org\/10.14778\/1454159.1454178","relation":{},"ISSN":["2150-8097"],"issn-type":[{"value":"2150-8097","type":"print"}],"subject":[],"published":{"date-parts":[[2008,8]]}}}