{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,15]],"date-time":"2026-09-15T04:57:48Z","timestamp":1789448268435,"version":"build-2803163510"},"reference-count":22,"publisher":"Association for Computing Machinery (ACM)","issue":"1","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. VLDB Endow."],"published-print":{"date-parts":[[2008,8]]},"abstract":"<jats:p>Past work has suggested that query execution feedback can be useful in improving the quality of plans by correcting cardinality estimation errors in the query optimizer. The state-of-the-art approach for obtaining execution feedback is \"passive\" monitoring which records the cardinality of each operator in the execution plan. We observe that there are many cases where even after repeated executions of the same query with use of feedback from passive monitoring, suboptimal choices in the execution plan cannot be corrected. We present a novel \"pay-as-you-go\" framework in which a query potentially incurs a small overhead on each execution but obtains cardinality information that is not available with passive monitoring alone. Such a framework can significantly extend the reach of query execution feedback in obtaining better plans. We have implemented our techniques in Microsoft SQL Server, and our evaluation on real world and synthetic queries suggests that plan quality can improve significantly compared to passive monitoring even at low overheads.<\/jats:p>","DOI":"10.14778\/1453856.1453977","type":"journal-article","created":{"date-parts":[[2014,6,24]],"date-time":"2014-06-24T12:17:57Z","timestamp":1403612277000},"page":"1141-1152","source":"Crossref","is-referenced-by-count":23,"title":["A pay-as-you-go framework for query execution feedback"],"prefix":"10.14778","volume":"1","author":[{"given":"Surajit","family":"Chaudhuri","sequence":"first","affiliation":[{"name":"Microsoft Research, One Microsoft Way, Redmond, WA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Vivek","family":"Narasayya","sequence":"additional","affiliation":[{"name":"Microsoft Research One Microsoft Way Red mond, WA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Ravi","family":"Ramamurthy","sequence":"additional","affiliation":[{"name":"Microsoft Research One Microsoft Way Redmond, WA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2008,8]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.1145\/304182.304198"},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.5555\/1316689.1316788"},{"key":"e_1_2_1_3_1","volume-title":"Dynamic Optimization in Rdb\/VMS. In Proceedings of ICDE 1993","author":"Antoshenkov G.","unstructured":"G. Antoshenkov , Dynamic Optimization in Rdb\/VMS. In Proceedings of ICDE 1993 G. Antoshenkov, Dynamic Optimization in Rdb\/VMS. In Proceedings of ICDE 1993"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1145\/1066157.1066172"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/1066157.1066171"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/1007568.1007615"},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1145\/564691.564722"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/1007568.1007604"},{"key":"e_1_2_1_9_1","unstructured":"S. Chaudhuri V. Narasayya. Program for TPC-D Data Generation with skew. ftp:\/\/ftp.research.microsoft.com\/users\/viveknar\/tpcdskew  S. Chaudhuri V. Narasayya. Program for TPC-D Data Generation with skew. ftp:\/\/ftp.research.microsoft.com\/users\/viveknar\/tpcdskew"},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.5555\/846219.847337"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE.2008.4497510"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/191839.191874"},{"key":"e_1_2_1_13_1","volume-title":"Sampling Techniques","author":"Cochran W. G.","unstructured":"W. G. Cochran . Sampling Techniques . 3 rd Edition. Wiley . W. G. Cochran. Sampling Techniques. 3rd Edition. Wiley.","edition":"3"},{"key":"e_1_2_1_14_1","volume-title":"Proceedings of VLDB","author":"DeWitt D.","year":"1985","unstructured":"D. DeWitt , R. Gerber . Multiprocessor Hash-based Join Algorithms . In Proceedings of VLDB 1985 . D. DeWitt, R. Gerber. Multiprocessor Hash-based Join Algorithms. In Proceedings of VLDB 1985."},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE.2007.367897"},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.5555\/1315451.1315533"},{"key":"e_1_2_1_17_1","volume-title":"The Cascades framework for query optimization. Data Engineering Bulletin, 18(3)","author":"Graefe G.","year":"1995","unstructured":"G. Graefe . The Cascades framework for query optimization. Data Engineering Bulletin, 18(3) , 1995 . G. Graefe. The Cascades framework for query optimization. Data Engineering Bulletin, 18(3), 1995."},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1145\/276304.276315"},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1145\/1007568.1007642"},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE.2006.84"},{"key":"e_1_2_1_21_1","volume-title":"Learning Optimizer. In Proceedings of VLDB","author":"Stillger M.","year":"2001","unstructured":"M. Stillger , G. Lohman , V. Markl , M. Kandil , LEO-DB2's Learning Optimizer. In Proceedings of VLDB 2001 . M. Stillger, G. Lohman, V. Markl, M. Kandil, LEO-DB2's Learning Optimizer. In Proceedings of VLDB 2001."},{"key":"e_1_2_1_22_1","unstructured":"IEEE Data Engineering Bulleting on Self-Managing Database Systems. Volume 29 Number 3 September 2006.  IEEE Data Engineering Bulleting on Self-Managing Database Systems. Volume 29 Number 3 September 2006."}],"container-title":["Proceedings of the VLDB Endowment"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.14778\/1453856.1453977","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2022,12,28]],"date-time":"2022-12-28T11:02:40Z","timestamp":1672225360000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.14778\/1453856.1453977"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2008,8]]},"references-count":22,"journal-issue":{"issue":"1","published-print":{"date-parts":[[2008,8]]}},"alternative-id":["10.14778\/1453856.1453977"],"URL":"https:\/\/doi.org\/10.14778\/1453856.1453977","relation":{},"ISSN":["2150-8097"],"issn-type":[{"value":"2150-8097","type":"print"}],"subject":[],"published":{"date-parts":[[2008,8]]}}}