{"id":{"repo_id":"duke","oai_identifier":"oai:dukespace.lib.duke.edu:10161/35134"},"canonical_url":"https://search.ndltd.org/etd/duke/oai:dukespace.lib.duke.edu:10161/35134","repository":{"repo_id":"duke","name":"Duke University","base_url":"https://dukespace.lib.duke.edu/server/oai/request"},"display":{"title":"Towards Robust Query Optimization","abstract":"<p>Database optimizers choose optimal execution plans for a given query based on point estimates of query selectivities; errors in these estimates can sometimes lead to plans that perform catastrophically worse than true optimal ones. This dissertation makes three contributions towards a principled and practical approach to robust query optimization, with the goal of choosing plans whose performance is resilient against estimation errors.</p><p>The first contribution, PARQO, introduces a general, penalty-based formulation of robustness that evaluates plans by their expected performance loss relative to the true optimal plan under selectivity uncertainty. By learning workload-informed error models and applying principled sensitivity analysis, PARQO enables robust plan selection that is flexible, interpretable, and effective, while remaining compatible with existing optimizers. </p><p>Building on this foundation, the second contribution, PAR2QO, integrates robustness into parametric query optimization,which simultaneously optimizes for many query instances sharing the same template but differing in parameters, thereby addressing the high optimization overhead associated with robust query optimization. Unlike traditional parametric optimization approaches that cache and reuse individual plans, PAR2QO shares robustness computation across parameter space, enabling scalable, workload-aware robust plan identification, profiling, and reuse. This approach maintains robustness under workload and data shifts while incurring significantly lower training and optimization costs than the state-of-the-art parametric optimization methods.</p><p>Instead of operating on top of existing optimizers as with the above two contributions, the final contribution, RobDP, integrates robustness directly into an optimizer that uses the popular, Selinger-style dynamic programming approach. By introducing customizable local plan pruning and retention policies during dynamic programming, RobDP preserves the optimizer's structure and efficiency while allowing it to uncover candidate plans whose robustness only becomes evident in later stages of optimization.</p><p>Together, these three contributions form a principled and practical path toward robust query optimization: from robust plan selection, to robust plan reuse, and finally to robustness-aware plan construction, progressively moving robust query optimization from a stand-alone procedure to an integral capability of database systems.</p>","abstract_html":"&lt;p&gt;Database optimizers choose optimal execution plans for a given query based on point estimates of query selectivities; errors in these estimates can sometimes lead to plans that perform catastrophically worse than true optimal ones. This dissertation makes three contributions towards a principled and practical approach to robust query optimization, with the goal of choosing plans whose performance is resilient against estimation errors.&lt;/p&gt;&lt;p&gt;The first contribution, PARQO, introduces a general, penalty-based formulation of robustness that evaluates plans by their expected performance loss relative to the true optimal plan under selectivity uncertainty. By learning workload-informed error models and applying principled sensitivity analysis, PARQO enables robust plan selection that is flexible, interpretable, and effective, while remaining compatible with existing optimizers. &lt;/p&gt;&lt;p&gt;Building on this foundation, the second contribution, PAR2QO, integrates robustness into parametric query optimization,which simultaneously optimizes for many query instances sharing the same template but differing in parameters, thereby addressing the high optimization overhead associated with robust query optimization. Unlike traditional parametric optimization approaches that cache and reuse individual plans, PAR2QO shares robustness computation across parameter space, enabling scalable, workload-aware robust plan identification, profiling, and reuse. This approach maintains robustness under workload and data shifts while incurring significantly lower training and optimization costs than the state-of-the-art parametric optimization methods.&lt;/p&gt;&lt;p&gt;Instead of operating on top of existing optimizers as with the above two contributions, the final contribution, RobDP, integrates robustness directly into an optimizer that uses the popular, Selinger-style dynamic programming approach. By introducing customizable local plan pruning and retention policies during dynamic programming, RobDP preserves the optimizer&#x27;s structure and efficiency while allowing it to uncover candidate plans whose robustness only becomes evident in later stages of optimization.&lt;/p&gt;&lt;p&gt;Together, these three contributions form a principled and practical path toward robust query optimization: from robust plan selection, to robust plan reuse, and finally to robustness-aware plan construction, progressively moving robust query optimization from a stand-alone procedure to an integral capability of database systems.&lt;/p&gt;","abstract_has_math":false,"creators":["Xiu, Haibo"],"institution":null,"degree_name":null,"degree_level":null,"degree_discipline":null,"degree_department":"Computer Science","school":null,"contributors":[],"advisors":["Yang, Jun","Roy, Sudeepa"],"committee_chairs":[],"committee_members":[],"year":2026,"date_issued":"2026","date_published":"2026","updated_at":"2026-11-19T08:22:42Z","subjects":["Computer science"],"languages":[],"rights":[],"rights_urls":["https://creativecommons.org/licenses/by-nc-nd/4.0/"],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/10161/35134","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/10161/35134","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Aduke%3Aoai%3Adukespace.lib.duke.edu%3A10161%2F35134","prefix":"oai_dc"},"source_record":{"url":"https://dukespace.lib.duke.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Adukespace.lib.duke.edu%3A10161%2F35134","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Yang, Jun","Roy, Sudeepa"]},{"key":"dc:contributor.department","label":"Department","values":["Computer Science"]},{"key":"dc:creator","label":"Author","values":["Xiu, Haibo"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2026-07-06T20:15:12Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2026-07-06T20:15:12Z"]},{"key":"dc:date.issued","label":"Date","values":["2026"]},{"key":"dc:type","label":"Dc Type","values":["Dissertation"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Computer science"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:rights.uri","label":"Rights URI","values":["https://creativecommons.org/licenses/by-nc-nd/4.0/"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/10161/35134"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["<p>Database optimizers choose optimal execution plans for a given query based on point estimates of query selectivities; errors in these estimates can sometimes lead to plans that perform catastrophically worse than true optimal ones. This dissertation makes three contributions towards a principled and practical approach to robust query optimization, with the goal of choosing plans whose performance is resilient against estimation errors.</p><p>The first contribution, PARQO, introduces a general, penalty-based formulation of robustness that evaluates plans by their expected performance loss relative to the true optimal plan under selectivity uncertainty. By learning workload-informed error models and applying principled sensitivity analysis, PARQO enables robust plan selection that is flexible, interpretable, and effective, while remaining compatible with existing optimizers. </p><p>Building on this foundation, the second contribution, PAR2QO, integrates robustness into parametric query optimization,which simultaneously optimizes for many query instances sharing the same template but differing in parameters, thereby addressing the high optimization overhead associated with robust query optimization. Unlike traditional parametric optimization approaches that cache and reuse individual plans, PAR2QO shares robustness computation across parameter space, enabling scalable, workload-aware robust plan identification, profiling, and reuse. This approach maintains robustness under workload and data shifts while incurring significantly lower training and optimization costs than the state-of-the-art parametric optimization methods.</p><p>Instead of operating on top of existing optimizers as with the above two contributions, the final contribution, RobDP, integrates robustness directly into an optimizer that uses the popular, Selinger-style dynamic programming approach. By introducing customizable local plan pruning and retention policies during dynamic programming, RobDP preserves the optimizer's structure and efficiency while allowing it to uncover candidate plans whose robustness only becomes evident in later stages of optimization.</p><p>Together, these three contributions form a principled and practical path toward robust query optimization: from robust plan selection, to robust plan reuse, and finally to robustness-aware plan construction, progressively moving robust query optimization from a stand-alone procedure to an integral capability of database systems.</p>"]},{"key":"dc:title","label":"Title","values":["Towards Robust Query Optimization"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Yang, Jun","Roy, Sudeepa"],"dc:contributor.department":["Computer Science"],"dc:creator":["Xiu, Haibo"],"dc:date.accessioned":["2026-07-06T20:15:12Z"],"dc:date.available":["2026-07-06T20:15:12Z"],"dc:date.issued":["2026"],"dc:description.abstract":["<p>Database optimizers choose optimal execution plans for a given query based on point estimates of query selectivities; errors in these estimates can sometimes lead to plans that perform catastrophically worse than true optimal ones. This dissertation makes three contributions towards a principled and practical approach to robust query optimization, with the goal of choosing plans whose performance is resilient against estimation errors.</p><p>The first contribution, PARQO, introduces a general, penalty-based formulation of robustness that evaluates plans by their expected performance loss relative to the true optimal plan under selectivity uncertainty. By learning workload-informed error models and applying principled sensitivity analysis, PARQO enables robust plan selection that is flexible, interpretable, and effective, while remaining compatible with existing optimizers. </p><p>Building on this foundation, the second contribution, PAR2QO, integrates robustness into parametric query optimization,which simultaneously optimizes for many query instances sharing the same template but differing in parameters, thereby addressing the high optimization overhead associated with robust query optimization. Unlike traditional parametric optimization approaches that cache and reuse individual plans, PAR2QO shares robustness computation across parameter space, enabling scalable, workload-aware robust plan identification, profiling, and reuse. This approach maintains robustness under workload and data shifts while incurring significantly lower training and optimization costs than the state-of-the-art parametric optimization methods.</p><p>Instead of operating on top of existing optimizers as with the above two contributions, the final contribution, RobDP, integrates robustness directly into an optimizer that uses the popular, Selinger-style dynamic programming approach. By introducing customizable local plan pruning and retention policies during dynamic programming, RobDP preserves the optimizer's structure and efficiency while allowing it to uncover candidate plans whose robustness only becomes evident in later stages of optimization.</p><p>Together, these three contributions form a principled and practical path toward robust query optimization: from robust plan selection, to robust plan reuse, and finally to robustness-aware plan construction, progressively moving robust query optimization from a stand-alone procedure to an integral capability of database systems.</p>"],"dc:identifier.uri":["https://hdl.handle.net/10161/35134"],"dc:rights.uri":["https://creativecommons.org/licenses/by-nc-nd/4.0/"],"dc:subject":["Computer science"],"dc:title":["Towards Robust Query Optimization"],"dc:type":["Dissertation"],"others:access_status":["open.access"]},"updated_at":"2026-11-19T08:22:42Z"}