Université d'Ottawa / University of Ottawa
A Hybrid Cost Model for Evaluating Query Execution Plans
Abstract
dc:description.abstractQuery optimization aims to select a query execution plan among all query paths for a given query. The query optimization of traditional relational database management systems (RDBMSs) relies on estimating the cost of the alternative query plans in the query plan search space provided by a cost model. The classic cost model (CCM) may lead the optimizer to choose query plans with poor execution time due to inaccurate cardinality estimations and simplifying assumptions. A learned cost model (LCM) based on machine learning does not rely on such estimations and learns the cost from runtime. While learned cost models are shown to improve the average performance, they may not guarantee that optimal performance will be consistently achieved. In addition, the query plans generated using the LCM may not necessarily outperform the query plans generated with the CCM. This thesis proposes a hybrid approach to solve this problem by striking a balance between the LCM and the CCM. The hybrid model uses the LCM when it is expected to be reliable in selecting a good plan and falls back to the CCM otherwise. The evaluation results of the hybrid model demonstrate promising performance, indicating potential for successful use in future applications.
Degree
thesis:*- Name thesis:degree_name
- MCS
- Level thesis:degree_level
- Masters
- Discipline thesis:degree_discipline
- Génie / Engineering
- Department dc:contributor.department
- Science informatique et génie électrique / Electrical Engineering and Computer Science
- Grantor dc:publisher
- Université d'Ottawa / University of Ottawa
- Year dc:date.issued
- 2024
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Wang, Ning
- Advisor dc:contributor.supervisor
-
- Kantere, Verena
Subjects
dc:subject × 4Rights
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Identifier URI
- http://hdl.handle.net/10393/45876