Tempura: A General Cost-Based Optimizer Framework for Incremental Data Processing
Zuozhi Wang, Kai Zeng, Botong Huang, Wei Chen, Xiaozong Cui, Bo Wang, Ji Liu, Liya Fan, Dachuan Qu, Zhenyu Hou, Tao Guan, Chen Li, Jingren Zhou
摘要
Incremental processing is widely-adopted in many applications, ranging from incremental view maintenance, stream computing, to recently emerging progressive data warehouse and intermittent query processing. Despite many algorithms developed on this topic, none of them can produce an incremental plan that always achieves the best performance, since the optimal plan is data dependent. In this paper, we develop a novel cost-based optimizer framework, called Tempura, for optimizing incremental data processing. We propose an incremental query planning model called TIP based on the concept of time-varying relations, which can formally model incremental processing in its most general form. We give a full specification of Tempura, which can not only unify various existing techniques to generate an optimal incremental plan, but also allow the developer to add their rewrite rules. We study how to explore the plan space and search for an optimal incremental plan. We conduct a thorough experimental evaluation of Tempura in various incremental processing scenarios to show its effectiveness and efficiency.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
引用它的顶会 Paper4
- S/C: Speeding up Data Materialization with Bounded MemoryZhaoheng Li, Xinyu Pi, Yongjoo ParkICDE 2023 · 7 次引用
- Efficient Incrementialization of Correlated Nested Aggregate Queries using Relative Partial Aggregate Indexes (RPAI)Supun Abeysinghe, Qiyang He, Tiark RompfSIGMOD 2022 · 7 次引用
- Agamotto: Scheduling of Deadline-Oriented Incremental Query Execution under Uncertain Resource PriceBotong Huang, Lianggui Weng, Wei Chen, Zuozhi Wang 等VLDB 2025 · 2 次引用
- Hulk: Exploring Data-Sensitive Performance Anomalies in DBMSs via Data-Driven AnalysisZhiyong Wu, Jie Liang, Jingzhou Fu, Mingzhe Wang 等ISSTA 2025 · 1 次引用
相关 Paper
- TEGRA: Efficient Ad-Hoc Analytics on Evolving GraphsAnand Padmanabha Iyer, Qifan Pu, Kishan Patel, Joseph E. Gonzalez 等NSDI 2021
- TiLT: A Time-Centric Approach for Stream Query Optimization and ParallelizationAnand Jayarajan, Wei Zhao, Yudi Sun, Gennady PekhimenkoASPLOS 2023 · 6 次引用
- DBSP: Automatic Incremental View Maintenance for Rich Query LanguagesMihai Budiu, Tej Chajed, Frank McSherry, Leonid Ryzhyk 等VLDB 2023 · 41 次引用
- Unbiased Scene Graph Generation in VideosSayak Nag, Kyle Min, Subarna Tripathi, Amit K. Roy-ChowdhuryCVPR 2023
- AJoin: Ad-hoc Stream Joins at ScaleJeyhun Karimov, Tilmann Rabl, Volker MarklVLDB 2020 · 14 次引用
