Repository logo

A Hybrid Cost Model for Evaluating Query Execution Plans

dc.contributor.authorWang, Ning
dc.contributor.supervisorKantere, Verena
dc.date.accessioned2024-01-22T22:45:42Z
dc.date.available2024-01-22T22:45:42Z
dc.date.issued2024-01-22en_US
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.en_US
dc.identifier.urihttp://hdl.handle.net/10393/45876
dc.identifier.urihttp://dx.doi.org/10.20381/ruor-30080
dc.language.isoenen_US
dc.publisherUniversité d'Ottawa / University of Ottawaen_US
dc.subjectQuery optimizationen_US
dc.subjectHybrid cost modelen_US
dc.subjectLearned cost modelen_US
dc.subjectQuery classifieren_US
dc.titleA Hybrid Cost Model for Evaluating Query Execution Plansen_US
dc.typeThesisen_US
thesis.degree.disciplineGénie / Engineeringen_US
thesis.degree.levelMastersen_US
thesis.degree.nameMCSen_US
uottawa.departmentScience informatique et génie électrique / Electrical Engineering and Computer Scienceen_US

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail ImageThumbnail Image
Name:
Wang_Ning_2024_thesis.pdf
Size:
2.8 MB
Format:
Adobe Portable Document Format
Description:

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail ImageThumbnail Image
Name:
license.txt
Size:
6.65 KB
Format:
Item-specific license agreed upon to submission
Description: