Approximate Query Processing under Updates
Binyang Dai, Ke Yi
摘要
Query processing under updates (a.k.a. incremental view maintenance) has received increasing attention in recent years, from both theoretical and practical angles. While existing algorithms work well in handling reporting queries, they may incur a high cost on aggregation queries, which are the more important type of analytical workload. In this paper, we show that by allowing a small approximation error, aggregation queries can be processed efficiently under updates. Specifically, we design a new approximate query processing (AQP) algorithm that can maintain the result of any free-connex aggregation query in logarithmic time amortized per update over an insertion-only update sequence. For update sequences with both insertions and deletions, the logarithmic time bound does not hold, due to known lower bounds. Practically, our algorithm performs well on both insertion-only and fully dynamic update sequences. Our experimental results show that, with a 10% error guarantee, the algorithm achieves average speedups of 1.5x, 4.8x, and 13.4x over three exact solutions. Our algorithm works in a general semiring framework, which incorporates a variety of aggregations, including count, sum, avg, max, and count distinct, possibly with a group by.
问问这篇 Paper
问问你的智能体。
Lune 读过与它相关的顶会 Paper,每个回答都会注明依据哪几篇。
相关 Paper
- JanusAQP: Efficient Partition Tree Maintenance for Dynamic Approximate Query ProcessingXi Liang, Stavros Sintos, Sanjay KrishnanICDE 2023 · 被引用 3 次
- AB-tree: Index for Concurrent Random Sampling and UpdatesZhuoyue Zhao, Dong Xie, Feifei LiVLDB 2022 · 被引用 7 次
- Maintaining Acyclic Foreign-Key Joins under UpdatesQichen Wang, Ke YiSIGMOD 2020 · 被引用 13 次
- Secure Query Processing with Linear Online CostQiyao Luo, Yilei Wang, Wei Dong, Ke YiICDE 2026
- Approximate Graph Propagation Revisited: Dynamic Parameterized Queries, Tighter Bounds and Dynamic UpdatesZhuowei Zhao, Zhuo Zhang, Hanzhi Wang, Junhao Gan 等KDD 2026 · 被引用 1 次
