{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,12,4]],"date-time":"2025-12-04T18:35:26Z","timestamp":1764873326781,"version":"build-2065373602"},"reference-count":29,"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>Given a parametrized n-dimensional SQL query template and a choice of query optimizer, a plan diagram is a color-coded pictorial enumeration of the execution plan choices of the optimizer over the query parameter space. These diagrams have proved to be a powerful metaphor for the analysis and redesign of modern optimizers, and are gaining currency in diverse industrial and academic institutions. However, their utility is adversely impacted by the impractically large computational overheads incurred when standard brute-force exhaustive approaches are used for producing fine-grained diagrams on high-dimensional query templates.<\/jats:p>\n          <jats:p>In this paper, we investigate strategies for efficiently producing close approximations to complex plan diagrams. Our techniques are customized to the features available in the optimizer's API, ranging from the generic optimizers that provide only the optimal plan for a query, to those that also support costing of sub-optimal plans and enumerating rank-ordered lists of plans. The techniques collectively feature both random and grid sampling, as well as inference techniques based on nearest-neighbor classifiers, parametric query optimization and plan cost monotonicity.<\/jats:p>\n          <jats:p>Extensive experimentation with a representative set of TPC-H and TPC-DS-based query templates on industrial-strength optimizers indicates that our techniques are capable of delivering 90% accurate diagrams while incurring less than 15% of the computational overheads of the exhaustive approach. In fact, for full-featured optimizers, we can guarantee zero error with less than 10% overheads. These approximation techniques have been implemented in the publicly available Picasso optimizer visualization tool.<\/jats:p>","DOI":"10.14778\/1454159.1454173","type":"journal-article","created":{"date-parts":[[2014,6,24]],"date-time":"2014-06-24T12:17:57Z","timestamp":1403612277000},"page":"1325-1336","source":"Crossref","is-referenced-by-count":13,"title":["Efficiently approximating query optimizer plan diagrams"],"prefix":"10.14778","volume":"1","author":[{"given":"Atreyee","family":"Dey","sequence":"first","affiliation":[{"name":"Indian Institute of Science, Bangalore, India"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Sourjya","family":"Bhaumik","sequence":"additional","affiliation":[{"name":"Indian Institute of Science, Bangalore, India"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Harish","family":"D","sequence":"additional","affiliation":[{"name":"Indian Institute of Science, Bangalore, India"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Jayant R.","family":"Haritsa","sequence":"additional","affiliation":[{"name":"Indian Institute of Science, Bangalore, India"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2008,8]]},"reference":[{"key":"e_1_2_1_1_1","volume-title":"Proc. of 9th IEEE Intl. Conf. on Data Engineering (ICDE)","author":"Antonshenkov G.","year":"1993","unstructured":"G. Antonshenkov , \"Dynamic Query Optimization in Rdb\/VMS\" , Proc. of 9th IEEE Intl. Conf. on Data Engineering (ICDE) , April 1993 . G. Antonshenkov, \"Dynamic Query Optimization in Rdb\/VMS\", Proc. of 9th IEEE Intl. Conf. on Data Engineering (ICDE), April 1993."},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1145\/335168.335230"},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/303976.303990"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1145\/543613.543651"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/191839.191872"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1561\/1900000001"},{"key":"e_1_2_1_7_1","volume-title":"of Science","author":"Dey A.","year":"2008","unstructured":"A. Dey , S. Bhaumik , Harish D. and J. Haritsa \" Efficient Generation of Approximate Plan Diagrams\", Tech. Rep. TR-2008-01, DSL\/SERC, Indian Inst. of Science , 2008 . http:\/\/dsl.serc.iisc.ernet.in\/publications\/report\/TR\/TR-2008-01.pdf A. Dey, S. Bhaumik, Harish D. and J. Haritsa \"Efficient Generation of Approximate Plan Diagrams\", Tech. Rep. TR-2008-01, DSL\/SERC, Indian Inst. of Science, 2008. http:\/\/dsl.serc.iisc.ernet.in\/publications\/report\/TR\/TR-2008-01.pdf"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.5555\/1287369.1287386"},{"key":"e_1_2_1_9_1","volume-title":"Digital Image Processing","author":"Gonzalez R.","year":"2007","unstructured":"R. Gonzalez and R. Woods , Digital Image Processing , Pearson Prentice Hall , 2007 . R. Gonzalez and R. Woods, Digital Image Processing, Pearson Prentice Hall, 2007."},{"key":"e_1_2_1_10_1","first-page":"93","author":"Haas P.","year":"1998","unstructured":"P. Haas and L. Stokes . \"Estimating the number of classes in a finite population\". In Journal of the American Statistical Association , 93 , 1998 . P. Haas and L. Stokes. \"Estimating the number of classes in a finite population\". In Journal of the American Statistical Association, 93, 1998.","journal-title":"In Journal of the American Statistical Association"},{"key":"e_1_2_1_11_1","volume-title":"Proc. of 21st Intl. Conf. on Very Large Databases (VLDB)","author":"Haas P.","year":"1995","unstructured":"P. Haas , J. Naughton , S. Seshadri and L. Stokes ,\" Sampling-Based Estimation of the Number of Distinct Values of an Attribute \", Proc. of 21st Intl. Conf. on Very Large Databases (VLDB) , 1995 . P. Haas, J. Naughton, S. Seshadri and L. Stokes,\"Sampling-Based Estimation of the Number of Distinct Values of an Attribute\", Proc. of 21st Intl. Conf. on Very Large Databases (VLDB), 1995."},{"key":"e_1_2_1_12_1","volume-title":"Proc. of 33rd Intl. Conf. on Very Large Data Bases (VLDB)","author":"Darera D., P.","year":"2007","unstructured":"Harish D., P. Darera and J. Haritsa , \" On the Production of Anorexic Plan Diagrams \", Proc. of 33rd Intl. Conf. on Very Large Data Bases (VLDB) , September 2007 . Harish D., P. Darera and J. Haritsa, \"On the Production of Anorexic Plan Diagrams\", Proc. of 33rd Intl. Conf. on Very Large Data Bases (VLDB), September 2007."},{"key":"e_1_2_1_13_1","volume-title":"Proc. of 34th Intl. Conf. on Very Large Data Bases (VLDB)","author":"Darera D., P.","year":"2008","unstructured":"Harish D., P. Darera and J. Haritsa , \" Identifying Robust Plans through Plan Diagram Reduction \", Proc. of 34th Intl. Conf. on Very Large Data Bases (VLDB) , August 2008 . Harish D., P. Darera and J. Haritsa, \"Identifying Robust Plans through Plan Diagram Reduction\", Proc. of 34th Intl. Conf. on Very Large Data Bases (VLDB), August 2008."},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.5555\/1287369.1287385"},{"key":"e_1_2_1_15_1","volume-title":"Proc. of 29th Intl. Conf. on Very Large Data Bases (VLDB)","author":"Hulgeri A.","year":"2003","unstructured":"A. Hulgeri and S. Sudarshan , \" AniPQO: Almost Non-intrusive Parametric Query Optimization for Nonlinear Cost Functions \", Proc. of 29th Intl. Conf. on Very Large Data Bases (VLDB) , September 2003 . A. Hulgeri and S. Sudarshan, \"AniPQO: Almost Non-intrusive Parametric Query Optimization for Nonlinear Cost Functions\", Proc. of 29th Intl. Conf. on Very Large Data Bases (VLDB), September 2003."},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1145\/276304.276315"},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1145\/1007568.1007642"},{"key":"e_1_2_1_18_1","volume-title":"Master's Thesis, Dept. of Computer Science &amp","author":"Prasad V.","year":"1999","unstructured":"V. Prasad , \"Parametric Query Optimization : A Geometric Approach \", Master's Thesis, Dept. of Computer Science &amp ; Engineering, IIT Kanpur , April 1999 . V. Prasad, \"Parametric Query Optimization: A Geometric Approach\", Master's Thesis, Dept. of Computer Science &amp; Engineering, IIT Kanpur, April 1999."},{"key":"e_1_2_1_19_1","volume-title":"Master's Thesis, Dept. of Computer Science &amp","author":"Rao S.","year":"1999","unstructured":"S. Rao , \"Parametric Query Optimization : A Non-Geometric Approach \", Master's Thesis, Dept. of Computer Science &amp ; Engineering, IIT Kanpur , March 1999 . S. Rao, \"Parametric Query Optimization: A Non-Geometric Approach\", Master's Thesis, Dept. of Computer Science &amp; Engineering, IIT Kanpur, March 1999."},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.5555\/1083592.1083735"},{"key":"e_1_2_1_21_1","volume-title":"of CSA","author":"Reddy N.","year":"2005","unstructured":"N. Reddy , \"Next-Generation Relational Query Optimizers\", Master's Thesis, Dept. of CSA , Indian Institute of Science , June 2005 , http:\/\/dsl.serc.iisc.ernet.in\/publications\/thesis\/naveen.pdf. N. Reddy, \"Next-Generation Relational Query Optimizers\", Master's Thesis, Dept. of CSA, Indian Institute of Science, June 2005, http:\/\/dsl.serc.iisc.ernet.in\/publications\/thesis\/naveen.pdf."},{"key":"e_1_2_1_22_1","volume-title":"Introduction to Data Mining","author":"Tan P.","year":"2005","unstructured":"P. Tan , M. Steinbach and V. Kumar , Introduction to Data Mining , Addison-Wesley , 2005 . P. Tan, M. Steinbach and V. Kumar, Introduction to Data Mining, Addison-Wesley, 2005."},{"key":"e_1_2_1_23_1","unstructured":"Picasso Database Query Optimizer Visualizer http:\/\/dsl.serc.iisc.ernet.in\/projects\/PICASSO\/picasso.html  Picasso Database Query Optimizer Visualizer http:\/\/dsl.serc.iisc.ernet.in\/projects\/PICASSO\/picasso.html"},{"key":"e_1_2_1_24_1","unstructured":"http:\/\/publib.boulder.ibm.com\/infocenter\/db2luw\/v9\/index.jsp?topic=\/com.ibm.db2.udb.admin.doc\/doc\/t0024533.htm  http:\/\/publib.boulder.ibm.com\/infocenter\/db2luw\/v9\/index.jsp?topic=\/com.ibm.db2.udb.admin.doc\/doc\/t0024533.htm"},{"key":"e_1_2_1_25_1","unstructured":"http:\/\/msdn2.microsoft.com\/en-us\/library\/ms189298.aspx  http:\/\/msdn2.microsoft.com\/en-us\/library\/ms189298.aspx"},{"key":"e_1_2_1_26_1","unstructured":"http:\/\/infocenter.sybase.com\/help\/index. jsp?topic=\/com.sybase.dc34982\\_1500\/html\/mig\\_gde\/BABIFCAF.htm  http:\/\/infocenter.sybase.com\/help\/index. jsp?topic=\/com.sybase.dc34982\\_1500\/html\/mig\\_gde\/BABIFCAF.htm"},{"key":"e_1_2_1_27_1","unstructured":"http:\/\/postgresql.org  http:\/\/postgresql.org"},{"key":"e_1_2_1_28_1","unstructured":"http:\/\/www.tpc.org\/tpch  http:\/\/www.tpc.org\/tpch"},{"key":"e_1_2_1_29_1","unstructured":"http:\/\/www.tpc.org\/tpcds  http:\/\/www.tpc.org\/tpcds"}],"container-title":["Proceedings of the VLDB Endowment"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.14778\/1454159.1454173","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2022,12,28]],"date-time":"2022-12-28T09:56:44Z","timestamp":1672221404000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.14778\/1454159.1454173"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2008,8]]},"references-count":29,"journal-issue":{"issue":"2","published-print":{"date-parts":[[2008,8]]}},"alternative-id":["10.14778\/1454159.1454173"],"URL":"https:\/\/doi.org\/10.14778\/1454159.1454173","relation":{},"ISSN":["2150-8097"],"issn-type":[{"type":"print","value":"2150-8097"}],"subject":[],"published":{"date-parts":[[2008,8]]}}}