Resource-efficient Shared Query Execution via Exploiting Time Slackness
Dixin Tang, Zechao Shang, William W. Ma, Aaron J. Elmore, Sanjay Krishnan
Abstract
Shared query execution can reduce resource consumption by sharing common sub-expressions across concurrent queries. We show that this is not always the case when regularly querying a dataset under change. Depending on latency goals, how eagerly to incrementally process the new data differs. Naively sharing the execution of queries with different latency goals will push the whole shared plan to meet the lowest latency goal and execute more eagerly than each participating query. The overhead introduced by the eager execution can even offset the benefit of shared query execution. We propose an optimization framework iShare to exploit the benefit of shared execution and avoid the overhead of eager execution. iShare judiciously shares queries with different latency goals and selectively executes parts of the share plan lazily. iShare can significantly reduce resource consumption compared to eagerly executing share plans from the state-of-the-art multi-query optimizer or approaches that execute queries separately.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get 32bd88f7-ce1c-4764-973e-a6ea1cb173adCited by top-tier papers4
- Efficient Incrementialization of Correlated Nested Aggregate Queries using Relative Partial Aggregate Indexes (RPAI)Supun Abeysinghe, Qiyang He, Tiark RompfSIGMOD 2022 · 7 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
- OSTOR: Online Scheduling Framework for Trading Continuous QueriesJin Cheng, Ningning Ding, John C. S. Lui, Jianwei HuangICDE 2025 · 1 citation
- Process Faster, Pay Less: Functional Isolation for Stream ProcessingEleni Zapridou, Michael Koepf, Panagiotis Sioulas, Ioannis Mytilinis et al.ICDE 2026
Related papers
- Lemo: A Cache-Enhanced Learned Optimizer for Concurrent QueriesSongsong Mo, Yile Chen, Hao Wang, Gao Cong et al.SIGMOD 2024 · 17 citations
- SASPAR: Shared Adaptive Stream PartitioningJeyhun Karimov, Hans-Arno JacobsenICDE 2023 · 3 citations
- Lequa: A Learning-Based Query-Aware Framework for Selective Query OptimizationGuoneng Li, Pengfei Zheng, Ling Xu, Yan Li et al.ICDE 2026
- Thrifty Query Execution via IncrementabilityDixin Tang, Zechao Shang, Aaron J. Elmore, Sanjay Krishnan et al.SIGMOD 2020 · 9 citations
- Aquila: A High-Concurrency System for Incremental Graph QueryZiqi Zou, Hao Zhang, Jiaxin Yao, Kangfei Zhao et al.VLDB 2026
