{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,15]],"date-time":"2026-09-15T04:57:49Z","timestamp":1789448269521,"version":"build-2803163510"},"reference-count":15,"publisher":"Association for Computing Machinery (ACM)","issue":"1-2","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. VLDB Endow."],"published-print":{"date-parts":[[2010,9]]},"abstract":"<jats:p>Predicate selectivity estimates are subject to considerable run-time variation relative to their compile-time estimates, often leading to poor plan choices that cause inflated response times. We present here a parametrized family of plan generation and selection algorithms that replace, whenever feasible, the optimizer's solely cost-conscious choice with an alternative plan that is (a) guaranteed to be near-optimal in the absence of selectivity estimation errors, and (b) likely to deliver comparatively stable performance in the presence of arbitrary errors. These algorithms have been implemented within the PostgreSQL optimizer, and their performance evaluated on a rich spectrum of TPC-H and TPC-DS-based query templates in a variety of database environments. Our experimental results indicate that it is indeed possible to identify robust plan choices that substantially curtail the adverse effects of erroneous selectivity estimates. In fact, the plan selection quality provided by our algorithms is often competitive with those obtained through apriori knowledge of the plan search and optimality spaces. The additional computational overheads incurred by the replacement approach are miniscule in comparison to the expected savings in query execution times. We also demonstrate that with appropriate parameter choices, it is feasible to directly produce anorexic plan diagrams, a potent objective in query optimizer design.<\/jats:p>","DOI":"10.14778\/1920841.1920983","type":"journal-article","created":{"date-parts":[[2014,6,24]],"date-time":"2014-06-24T12:17:57Z","timestamp":1403612277000},"page":"1137-1148","source":"Crossref","is-referenced-by-count":15,"title":["On the stability of plan costs and the costs of plan stability"],"prefix":"10.14778","volume":"3","author":[{"given":"M.","family":"Abhirama","sequence":"first","affiliation":[{"name":"Indian Institute of Science, Bangalore, India"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Sourjya","family":"Bhaumik","sequence":"additional","affiliation":[{"name":"Indian Institute of Science, Bangalore, India"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Atreyee","family":"Dey","sequence":"additional","affiliation":[{"name":"Indian Institute of Science, Bangalore, India"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Harsh","family":"Shrimal","sequence":"additional","affiliation":[{"name":"Indian Institute of Science, Bangalore, India"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Jayant R.","family":"Haritsa","sequence":"additional","affiliation":[{"name":"Indian Institute of Science, Bangalore, India"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2010,9]]},"reference":[{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1145\/1066157.1066172"},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/1066157.1066171"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.5555\/645484.656550"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/303976.303990"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.5555\/1534730"},{"key":"e_1_2_1_7_1","volume-title":"Proc. of VLDB","author":"Darera D., P.","year":"2007","unstructured":"Harish D., P. Darera and J. Haritsa , \" On the Production of Anorexic Plan Diagrams \", Proc. of VLDB 2007 . Harish D., P. Darera and J. Haritsa, \"On the Production of Anorexic Plan Diagrams\", Proc. of VLDB 2007."},{"key":"e_1_2_1_8_1","volume-title":"Proc. of VLDB","author":"Darera D., P.","year":"2008","unstructured":"Harish D., P. Darera and J. Haritsa , \" Robust Plans through Plan Diagram Reduction \", Proc. of VLDB 2008 . Harish D., P. Darera and J. Haritsa, \"Robust Plans through Plan Diagram Reduction\", Proc. of VLDB 2008."},{"key":"e_1_2_1_9_1","volume-title":"Proc. of 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 VLDB 2003 . A. Hulgeri and S. Sudarshan, \"AniPQO: Almost Non-intrusive Parametric Query Optimization for Nonlinear Cost Functions\", Proc. of VLDB 2003."},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1145\/276304.276315"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1145\/1007568.1007642"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/582095.582099"},{"key":"e_1_2_1_13_1","volume-title":"June","author":"Shrimal H.","year":"2009","unstructured":"H. Shrimal , \"Characterizing Plan Diagram Reduction Quality and Efficiency\", ME Thesis , Indian Inst. of Science , June 2009 . dsl.serc.iisc.ernet.in\/publications\/thesis\/harsh.pdf H. Shrimal, \"Characterizing Plan Diagram Reduction Quality and Efficiency\", ME Thesis, Indian Inst. of Science, June 2009. dsl.serc.iisc.ernet.in\/publications\/thesis\/harsh.pdf"},{"key":"e_1_2_1_14_1","volume-title":"Proc. of VLDB","author":"Stillger M.","year":"2001","unstructured":"M. Stillger , G. Lohman , V. Markl and M. Kandil , \" LEO, DB2's LEarning Optimizer \", Proc. of VLDB 2001 . M. Stillger, G. Lohman, V. Markl and M. Kandil, \"LEO, DB2's LEarning Optimizer\", Proc. of VLDB 2001."},{"key":"e_1_2_1_15_1","unstructured":"www.postgresql.org\/docs\/8.3\/static\/release-8-3-6.html  www.postgresql.org\/docs\/8.3\/static\/release-8-3-6.html"},{"key":"e_1_2_1_16_1","unstructured":"dsl.serc.iisc.ernet.in\/projects\/PICASSO\/picasso.html  dsl.serc.iisc.ernet.in\/projects\/PICASSO\/picasso.html"}],"container-title":["Proceedings of the VLDB Endowment"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.14778\/1920841.1920983","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2022,12,28]],"date-time":"2022-12-28T11:47:53Z","timestamp":1672228073000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.14778\/1920841.1920983"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2010,9]]},"references-count":15,"journal-issue":{"issue":"1-2","published-print":{"date-parts":[[2010,9]]}},"alternative-id":["10.14778\/1920841.1920983"],"URL":"https:\/\/doi.org\/10.14778\/1920841.1920983","relation":{},"ISSN":["2150-8097"],"issn-type":[{"value":"2150-8097","type":"print"}],"subject":[],"published":{"date-parts":[[2010,9]]}}}