Lune

VLDB2025Top-tier venue

Agamotto: Scheduling of Deadline-Oriented Incremental Query Execution under Uncertain Resource Price

Botong Huang, Lianggui Weng, Wei Chen, Zuozhi Wang, Kai Zeng, Chen Li, Yihui Feng, Bolin Ding, Jingren Zhou

Abstract

Incremental query processing is widely used in data warehouses and streaming systems. While many optimization techniques are developed to generate incremental query plans, the scheduling support for incremental processing remains preliminary. Typically, execution is triggered with fixed frequencies specified by the user. In this paper, we propose a novel scheduling problem for incremental query execution under a deadline, assuming the resource has a fluctuating and unforeseen price. We propose two naive solutions as well as a prophet scheduler that foresees the future. We present an end-to-end system Agamotto that models future probabilities offline with a Markov Decision Process (MDP) and makes cost-based and dynamic scheduling decisions online. We show how Agamotto can be extended to handle a workflow of dependent queries, so that they can all incrementally execute in an asynchronous fashion. Experiments show that Agamotto consistently outperforms the naive solutions, and the achieved cost is on average 10x closer to the theoretical lower bound provided by the prophet scheduler.

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.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Builds on3

  1. Thrifty Query Execution via IncrementabilityDixin Tang, Zechao Shang, Aaron J. Elmore, Sanjay Krishnan et al.SIGMOD 2020 · 9 citations
  2. Tempura: A General Cost-Based Optimizer Framework for Incremental Data ProcessingZuozhi Wang, Kai Zeng, Botong Huang, Wei Chen et al.VLDB 2021 · 9 citations
  3. Resource-efficient Shared Query Execution via Exploiting Time SlacknessDixin Tang, Zechao Shang, William W. Ma, Aaron J. Elmore et al.SIGMOD 2021 · 4 citations

Related papers

  1. Improving DBMS Scheduling Decisions with Accurate Performance Prediction on Concurrent QueriesZiniu Wu, Markos Markakis, Chunwei Liu, Peter Baile Chen et al.VLDB 2025
  2. DAG*: A Novel A*-Alike Algorithm for Optimal Workflow Execution Across IoT PlatformsErrikos Streviniotis, Dimitrios Banelas, Nikos Giatrakos, Antonios DeligiannakisICDE 2025 · 4 citations
  3. Non-Clairvoyant Scheduling with Progress BarsZiyad Benomar, Romain Cosson, Alexander Lindermayr, Jens SchlöterNeurIPS 2025 · 8 citations
  4. LSched: A Workload-Aware Learned Query Scheduler for Analytical Database SystemsIbrahim Sabek, Tenzin Samten Ukyab, Tim KraskaSIGMOD 2022 · 25 citations
  5. Truthful Online Scheduling of Cloud Workloads under UncertaintyMoshe Babaioff, Ronny Lempel, Brendan Lucier, Ishai Menache et al.WWW 2022 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines