Learned Cost Models for Query Optimization: From Batch to Streaming Systems
Authors:
Open Access
- 1 August 2025
- journal article
- Published by Association for Computing Machinery (ACM) in Proceedings of the VLDB Endowment
- Vol. 18 (12) , 5482-5487
Abstract
Learned cost models (LCMs) have recently gained traction as a promising alternative to traditional cost estimation techniques in data management, offering improved accuracy by capturing complex interactions between queries, data, and runtime behavior. While initially developed for batch systems, LCMs are now increasingly applied to stream processing as well, where real-time demands pose new challenges. This tutorial presents the first unified overview of LCMs across both batch and stream processing systems, examining their role as essential components in modern query optimizers. We explore key aspects of LCM design—including input representations and model architectures—and highlight how these models deal with query optimization tasks.Keywords
This publication has 51 references indexed in Scilit:
- Streaming vs. Functions: A Cost Perspective on Cloud Event Processing2022
- Farming Your ML-based Query Optimizer's Food2022
- Machine Learning for Data Management: A System View2022
- TCEP: Transitions in operator placement to adapt to dynamic network environmentsJournal of Computer and System Sciences, 2021
- AI‐Driven Performance Management in Data‐Intensive Applications2021
- ML-based Cross-Platform Query Optimization2020
- Reinforcement Learning with Tree-LSTM for Join Order Selection2020
- Maximum Sustainable throughput Prediction for Data Stream Processing over Public Clouds2017
- The Stratosphere platform for big data analyticsThe VLDB Journal, 2014
- Predicting Multiple Metrics for Queries: Better Decisions Enabled by Machine LearningInternational Conference on Data Engineering, 2009