Thrifty Query Execution via Incrementability
Dixin Tang, Zechao Shang, Aaron J. Elmore, Sanjay Krishnan, Michael J. Franklin
Abstract
Many applications schedule queries before all data is ready. To return fast query results, database systems can eagerly process existing data and incrementally incorporate new data into prior intermediate results, which often relies on incremental view maintenance (IVM) techniques. However, incrementally maintaining a query result can increase the total amount of work mainly as some early work is not useful for computing the final query result. In this paper, we propose a new metric incrementability to quantify the cost-effectiveness of IVM to decide how eagerly or lazily databases should incrementally execute a query. We further observe that different parts of a query have different levels of incrementability and the query execution should have a decomposed control flow based on the difference. Therefore, to address these needs, we propose a new query processing method Incrementability-aware Query Processing (InQP). We build a prototype InQP system based on Spark and show that InQP significantly reduces resource consumption with a similar latency compared with incrementability-oblivious approaches.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
4 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
Cited by top-tier papers4
- A Design Space Exploration and Evaluation for Main-Memory Hash Joins in Storage Class MemoryWentao Huang, Yunhong Ji, Xuan Zhou, Bingsheng He et al.VLDB 2023 · 9 citations
- Efficient Incrementialization of Correlated Nested Aggregate Queries using Relative Partial Aggregate Indexes (RPAI)Supun Abeysinghe, Qiyang He, Tiark RompfSIGMOD 2022 · 7 citations
- Transactional Panorama: A Conceptual Framework for User Perception in Analytical Visual InterfacesDixin Tang, Alan D. Fekete, Indranil Gupta, Aditya G. ParameswaranVLDB 2023 · 3 citations
- Agamotto: Scheduling of Deadline-Oriented Incremental Query Execution under Uncertain Resource PriceBotong Huang, Lianggui Weng, Wei Chen, Zuozhi Wang et al.VLDB 2025 · 2 citations
Related papers
- Resource-efficient Shared Query Execution via Exploiting Time SlacknessDixin Tang, Zechao Shang, William W. Ma, Aaron J. Elmore et al.SIGMOD 2021 · 4 citations
- A Resource-Aware Deep Cost Model for Big Data Query ProcessingYan Li, Liwei Wang, Sheng Wang, Yuan Sun et al.ICDE 2022 · 13 citations
- Shared Arrangements: practical inter-query sharing for streaming dataflowsFrank McSherry, Andrea Lattuada, Malte Schwarzkopf, Timothy RoscoeVLDB 2020 · 25 citations
- LEAP: A Low-cost Spark SQL Query Optimizer using Pairwise ComparisonJunhao Ye, Jiahui Li, Lu Chen, Yuren Mao et al.VLDB 2025 · 2 citations
- An Agile Sample Maintenance Approach for Agile AnalyticsHanbing Zhang, Yazhong Zhang, Zhenying He, Yinan Jing et al.ICDE 2020 · 2 citations
