go back

Volume 18, No. 12

Learned Cost Models for Query Optimization: From Batch to Streaming Systems

Authors:
Roman Heinrich, Xiao Li, Manisha Luthra, Zoi Kaoudi

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.

PVLDB is part of the VLDB Endowment Inc.

Privacy Policy