{"id":{"repo_id":"mit","oai_identifier":"oai:dspace.mit.edu:1721.1/177394"},"canonical_url":"https://search.ndltd.org/etd/mit/oai:dspace.mit.edu:1721.1/177394","repository":{"repo_id":"mit","name":"MIT","base_url":"https://dspace.mit.edu/oai/request"},"display":{"title":"Practical Prediction Models for Query Optimization and Scheduling in Modern Database Systems","abstract":"Database management systems (DBMSs) are the backbone of modern enterprises. Query optimizers and schedulers are core components of a DBMS that make critical execution decisions and significantly impact overall system performance. The fundamental challenge in designing an effective optimizer or scheduler is to accurately and efficiently estimate the performance impact of different decisions to choose the optimal one. Query optimizers rely on cardinality estimates to evaluate candidate execution plans, while query schedulers depend on predictions of query execution time to determine execution order and resource allocation. Over the past decade, the research community has proposed a wide range of machine learning approaches to improve the accuracy of these predictions. However, due to high training and maintenance costs, high inference latency, and limited robustness to workload and data drift, most existing ML-based predictors are not suitable for deployment on the critical path of query execution. In this thesis, we explore practical prediction models for query optimization and scheduling through system-model co-design principles. Rather than optimizing solely for prediction accuracy, we jointly design predictors with the downstream planning and scheduling mechanisms to maximize end-to-end query performance. We further focus predictive effort on components where accurate estimation has the greatest impact, thereby achieving a balance among effectiveness, efficiency, and robustness. Following these principles, we develop three practical methods: FactorJoin for query optimization, and Stage and IconqSched for query scheduling. These systems achieve comparable or better end-to-end query performance than prior state-of-the-art ML-based approaches, while maintaining a lightweight model with fast and robust predictions for practical deployment. Our predictors are integrated and deployed on the critical path of commercial DBMSs, yielding significant improvements in query performance and demonstrating that carefully designed learned models can be both practical and effective inside production database systems.","abstract_html":"Database management systems (DBMSs) are the backbone of modern enterprises. Query optimizers and schedulers are core components of a DBMS that make critical execution decisions and significantly impact overall system performance. The fundamental challenge in designing an effective optimizer or scheduler is to accurately and efficiently estimate the performance impact of different decisions to choose the optimal one. Query optimizers rely on cardinality estimates to evaluate candidate execution plans, while query schedulers depend on predictions of query execution time to determine execution order and resource allocation. Over the past decade, the research community has proposed a wide range of machine learning approaches to improve the accuracy of these predictions. However, due to high training and maintenance costs, high inference latency, and limited robustness to workload and data drift, most existing ML-based predictors are not suitable for deployment on the critical path of query execution. In this thesis, we explore practical prediction models for query optimization and scheduling through system-model co-design principles. Rather than optimizing solely for prediction accuracy, we jointly design predictors with the downstream planning and scheduling mechanisms to maximize end-to-end query performance. We further focus predictive effort on components where accurate estimation has the greatest impact, thereby achieving a balance among effectiveness, efficiency, and robustness. Following these principles, we develop three practical methods: FactorJoin for query optimization, and Stage and IconqSched for query scheduling. These systems achieve comparable or better end-to-end query performance than prior state-of-the-art ML-based approaches, while maintaining a lightweight model with fast and robust predictions for practical deployment. Our predictors are integrated and deployed on the critical path of commercial DBMSs, yielding significant improvements in query performance and demonstrating that carefully designed learned models can be both practical and effective inside production database systems.","abstract_has_math":false,"creators":["Wu, Ziniu"],"institution":"Massachusetts Institute of Technology","degree_name":"Doctoral","degree_level":null,"degree_discipline":null,"degree_department":null,"school":null,"contributors":[],"advisors":["Kraska, Tim","Madden, Samuel"],"committee_chairs":[],"committee_members":[],"year":2026,"date_issued":"2026-05","date_published":"2026-05","updated_at":"2026-11-29T16:49:53Z","subjects":[],"languages":[],"rights":["In Copyright - Educational Use Permitted","Copyright retained by author(s)"],"rights_urls":["https://rightsstatements.org/page/InC-EDU/1.0/"],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://dspace.mit.edu/handle/1721.1/177394","outbound_label":"Repository record","outbound_source":"dc:identifier.uri","record_url":"https://dspace.mit.edu/handle/1721.1/177394","record_label":"Repository record","record_kind":"record","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%3Amit%3Aoai%3Adspace.mit.edu%3A1721.1%2F177394","prefix":"oai_dc"},"source_record":{"url":"https://dspace.mit.edu/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Adspace.mit.edu%3A1721.1%2F177394","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Kraska, Tim","Madden, Samuel"]},{"key":"dc:creator","label":"Author","values":["Wu, Ziniu"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2026-10-28T21:05:15Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2026-10-28T21:05:15Z"]},{"key":"dc:date.issued","label":"Date","values":["2026-05"]},{"key":"dc:date.submitted","label":"Dc Date Submitted","values":["2026-08-03T16:27:13.271Z"]},{"key":"dc:publisher","label":"Institution","values":["Massachusetts Institute of Technology"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Doctoral","Doctor of Philosophy"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:rights","label":"Dc Rights","values":["In Copyright - Educational Use Permitted","Copyright retained by author(s)"]},{"key":"dc:rights.uri","label":"Rights URI","values":["https://rightsstatements.org/page/InC-EDU/1.0/"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://dspace.mit.edu/handle/1721.1/177394"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"cerif:openaire","label":"Cerif Openaire","values":["<Publication xmlns=\"https://www.openaire.eu/cerif-profile/1.1/\" id=\"79aafa89-7d7f-4d89-a096-8894ea461d68\"> <Type xmlns=\"https://www.openaire.eu/cerif-profile/vocab/COAR_Publication_Types\">http://purl.org/coar/resource_type/c_1843</Type> <Title>Practical Prediction Models for Query Optimization and Scheduling in Modern Database Systems</Title> <PublishedIn> <Publication> </Publication> </PublishedIn> <PublicationDate>2026-05</PublicationDate> <Authors> <Author> <DisplayName>Wu, Ziniu</DisplayName> <Affiliation> <OrgUnit> </OrgUnit> </Affiliation> </Author> </Authors> <Editors> </Editors> <Publishers> <Publisher> <DisplayName>Massachusetts Institute of Technology</DisplayName> <OrgUnit /> </Publisher> </Publishers> <License>https://rightsstatements.org/page/InC-EDU/1.0/</License> <Abstract>Database management systems (DBMSs) are the backbone of modern enterprises. Query optimizers and schedulers are core components of a DBMS that make critical execution decisions and significantly impact overall system performance. The fundamental challenge in designing an effective optimizer or scheduler is to accurately and efficiently estimate the performance impact of different decisions to choose the optimal one. Query optimizers rely on cardinality estimates to evaluate candidate execution plans, while query schedulers depend on predictions of query execution time to determine execution order and resource allocation. Over the past decade, the research community has proposed a wide range of machine learning approaches to improve the accuracy of these predictions. However, due to high training and maintenance costs, high inference latency, and limited robustness to workload and data drift, most existing ML-based predictors are not suitable for deployment on the critical path of query execution. In this thesis, we explore practical prediction models for query optimization and scheduling through system-model co-design principles. Rather than optimizing solely for prediction accuracy, we jointly design predictors with the downstream planning and scheduling mechanisms to maximize end-to-end query performance. We further focus predictive effort on components where accurate estimation has the greatest impact, thereby achieving a balance among effectiveness, efficiency, and robustness. Following these principles, we develop three practical methods: FactorJoin for query optimization, and Stage and IconqSched for query scheduling. These systems achieve comparable or better end-to-end query performance than prior state-of-the-art ML-based approaches, while maintaining a lightweight model with fast and robust predictions for practical deployment. Our predictors are integrated and deployed on the critical path of commercial DBMSs, yielding significant improvements in query performance and demonstrating that carefully designed learned models can be both practical and effective inside production database systems.</Abstract> <Access xmlns=\"http://purl.org/coar/access_right\" > </Access> </Publication>"]},{"key":"dc:description.abstract","label":"Abstract","values":["Database management systems (DBMSs) are the backbone of modern enterprises. Query optimizers and schedulers are core components of a DBMS that make critical execution decisions and significantly impact overall system performance. The fundamental challenge in designing an effective optimizer or scheduler is to accurately and efficiently estimate the performance impact of different decisions to choose the optimal one. Query optimizers rely on cardinality estimates to evaluate candidate execution plans, while query schedulers depend on predictions of query execution time to determine execution order and resource allocation. Over the past decade, the research community has proposed a wide range of machine learning approaches to improve the accuracy of these predictions. However, due to high training and maintenance costs, high inference latency, and limited robustness to workload and data drift, most existing ML-based predictors are not suitable for deployment on the critical path of query execution. In this thesis, we explore practical prediction models for query optimization and scheduling through system-model co-design principles. Rather than optimizing solely for prediction accuracy, we jointly design predictors with the downstream planning and scheduling mechanisms to maximize end-to-end query performance. We further focus predictive effort on components where accurate estimation has the greatest impact, thereby achieving a balance among effectiveness, efficiency, and robustness. Following these principles, we develop three practical methods: FactorJoin for query optimization, and Stage and IconqSched for query scheduling. These systems achieve comparable or better end-to-end query performance than prior state-of-the-art ML-based approaches, while maintaining a lightweight model with fast and robust predictions for practical deployment. Our predictors are integrated and deployed on the critical path of commercial DBMSs, yielding significant improvements in query performance and demonstrating that carefully designed learned models can be both practical and effective inside production database systems."]},{"key":"dc:description.degree","label":"Dc Description Degree","values":["Ph.D."]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["Practical Prediction Models for Query Optimization and Scheduling in Modern Database Systems"]},{"key":"dspace:entity.type","label":"Dspace Entity Type","values":["Publication"]},{"key":"others:access_status","label":"Others Access Status","values":["unknown"]}]}],"canonical_facts":{"cerif:openaire":["<Publication xmlns=\"https://www.openaire.eu/cerif-profile/1.1/\" id=\"79aafa89-7d7f-4d89-a096-8894ea461d68\"> <Type xmlns=\"https://www.openaire.eu/cerif-profile/vocab/COAR_Publication_Types\">http://purl.org/coar/resource_type/c_1843</Type> <Title>Practical Prediction Models for Query Optimization and Scheduling in Modern Database Systems</Title> <PublishedIn> <Publication> </Publication> </PublishedIn> <PublicationDate>2026-05</PublicationDate> <Authors> <Author> <DisplayName>Wu, Ziniu</DisplayName> <Affiliation> <OrgUnit> </OrgUnit> </Affiliation> </Author> </Authors> <Editors> </Editors> <Publishers> <Publisher> <DisplayName>Massachusetts Institute of Technology</DisplayName> <OrgUnit /> </Publisher> </Publishers> <License>https://rightsstatements.org/page/InC-EDU/1.0/</License> <Abstract>Database management systems (DBMSs) are the backbone of modern enterprises. Query optimizers and schedulers are core components of a DBMS that make critical execution decisions and significantly impact overall system performance. The fundamental challenge in designing an effective optimizer or scheduler is to accurately and efficiently estimate the performance impact of different decisions to choose the optimal one. Query optimizers rely on cardinality estimates to evaluate candidate execution plans, while query schedulers depend on predictions of query execution time to determine execution order and resource allocation. Over the past decade, the research community has proposed a wide range of machine learning approaches to improve the accuracy of these predictions. However, due to high training and maintenance costs, high inference latency, and limited robustness to workload and data drift, most existing ML-based predictors are not suitable for deployment on the critical path of query execution. In this thesis, we explore practical prediction models for query optimization and scheduling through system-model co-design principles. Rather than optimizing solely for prediction accuracy, we jointly design predictors with the downstream planning and scheduling mechanisms to maximize end-to-end query performance. We further focus predictive effort on components where accurate estimation has the greatest impact, thereby achieving a balance among effectiveness, efficiency, and robustness. Following these principles, we develop three practical methods: FactorJoin for query optimization, and Stage and IconqSched for query scheduling. These systems achieve comparable or better end-to-end query performance than prior state-of-the-art ML-based approaches, while maintaining a lightweight model with fast and robust predictions for practical deployment. Our predictors are integrated and deployed on the critical path of commercial DBMSs, yielding significant improvements in query performance and demonstrating that carefully designed learned models can be both practical and effective inside production database systems.</Abstract> <Access xmlns=\"http://purl.org/coar/access_right\" > </Access> </Publication>"],"dc:contributor.advisor":["Kraska, Tim","Madden, Samuel"],"dc:creator":["Wu, Ziniu"],"dc:date.accessioned":["2026-10-28T21:05:15Z"],"dc:date.available":["2026-10-28T21:05:15Z"],"dc:date.issued":["2026-05"],"dc:date.submitted":["2026-08-03T16:27:13.271Z"],"dc:description.abstract":["Database management systems (DBMSs) are the backbone of modern enterprises. Query optimizers and schedulers are core components of a DBMS that make critical execution decisions and significantly impact overall system performance. The fundamental challenge in designing an effective optimizer or scheduler is to accurately and efficiently estimate the performance impact of different decisions to choose the optimal one. Query optimizers rely on cardinality estimates to evaluate candidate execution plans, while query schedulers depend on predictions of query execution time to determine execution order and resource allocation. Over the past decade, the research community has proposed a wide range of machine learning approaches to improve the accuracy of these predictions. However, due to high training and maintenance costs, high inference latency, and limited robustness to workload and data drift, most existing ML-based predictors are not suitable for deployment on the critical path of query execution. In this thesis, we explore practical prediction models for query optimization and scheduling through system-model co-design principles. Rather than optimizing solely for prediction accuracy, we jointly design predictors with the downstream planning and scheduling mechanisms to maximize end-to-end query performance. We further focus predictive effort on components where accurate estimation has the greatest impact, thereby achieving a balance among effectiveness, efficiency, and robustness. Following these principles, we develop three practical methods: FactorJoin for query optimization, and Stage and IconqSched for query scheduling. These systems achieve comparable or better end-to-end query performance than prior state-of-the-art ML-based approaches, while maintaining a lightweight model with fast and robust predictions for practical deployment. Our predictors are integrated and deployed on the critical path of commercial DBMSs, yielding significant improvements in query performance and demonstrating that carefully designed learned models can be both practical and effective inside production database systems."],"dc:description.degree":["Ph.D."],"dc:format.mimetype":["application/pdf"],"dc:identifier.uri":["https://dspace.mit.edu/handle/1721.1/177394"],"dc:publisher":["Massachusetts Institute of Technology"],"dc:rights":["In Copyright - Educational Use Permitted","Copyright retained by author(s)"],"dc:rights.uri":["https://rightsstatements.org/page/InC-EDU/1.0/"],"dc:title":["Practical Prediction Models for Query Optimization and Scheduling in Modern Database Systems"],"dc:type":["Thesis"],"dspace:entity.type":["Publication"],"others:access_status":["unknown"],"thesis:degree_name":["Doctoral","Doctor of Philosophy"]},"updated_at":"2026-11-29T16:49:53Z"}