JanusAQP: Efficient Partition Tree Maintenance for Dynamic Approximate Query Processing
Xi Liang, Stavros Sintos, Sanjay Krishnan
摘要
Approximate query processing over dynamic databases, i.e., under insertions/deletions, has applications ranging from high-frequency trading to internet-of-things analytics. We present JanusAQP, a new dynamic AQP system, which supports SUM, COUNT, AVG, MIN, and MAX queries under insertions and deletions to the dataset. JanusAQP extends static partition tree synopses, which are hierarchical aggregations of datasets, into the dynamic setting. This paper contributes new methods for: (1) efficient initialization of the data synopsis in the presence of incoming data, (2) maintenance of the data synopsis under insertions/deletions, and (3) re-optimization of the partitioning to reduce the approximation error. JanusAQP reduces the error of a state-of-the-art baseline by more than 60% using only 10% storage cost. JanusAQP can process more than 100K updates per second in a single node setting and keep the query latency at a millisecond level.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
- Approximate Partition Selection for Big-Data Workloads using Summary Statistics 引用了 Learning to Sample: Counting with Complex Queries
- Combining Aggregation and Sampling (Nearly) Optimally for Approximate Query Processing 引用了 Approximate Partition Selection for Big-Data Workloads using Summary Statistics
- Combining Aggregation and Sampling (Nearly) Optimally for Approximate Query Processing 引用了 Learning to Sample: Counting with Complex Queries
- Combining Aggregation and Sampling (Nearly) Optimally for Approximate Query Processing 引用了 Deep Unsupervised Cardinality Estimation
它引用的 Paper6
- Deep Unsupervised Cardinality EstimationZongheng Yang, Eric Liang, Amog Kamsetty, Chenggang Wu 等VLDB 2020 · 206 次引用
- Combining Aggregation and Sampling (Nearly) Optimally for Approximate Query ProcessingXi Liang, Stavros Sintos, Zechao Shang, Sanjay KrishnanSIGMOD 2021 · 27 次引用
- Learning to Sample: Counting with Complex QueriesBrett Walenz, Stavros Sintos, Sudeepa Roy, Jun YangVLDB 2020 · 16 次引用
- In the Land of Data Streams where Synopses are Missing, One Framework to Bring Them AllRudi Poepsel Lemaitre, Martin Kiefer, Joscha Von Hein, Jorge-Arnulfo Quiané-Ruiz 等VLDB 2021 · 13 次引用
- Approximate Partition Selection for Big-Data Workloads using Summary StatisticsKexin Rong, Yao Lu, Peter Bailis, Srikanth Kandula 等VLDB 2020 · 8 次引用
相关 Paper
- AB-tree: Index for Concurrent Random Sampling and UpdatesZhuoyue Zhao, Dong Xie, Feifei LiVLDB 2022 · 7 次引用
- Efficient Join Synopsis Maintenance for Data WarehouseZhuoyue Zhao, Feifei Li, Yuxi LiuSIGMOD 2020 · 19 次引用
- Approximate Query Processing under UpdatesBinyang Dai, Ke YiSIGMOD 2026
- FAAQP: Fast and Accurate Approximate Query Processing based on Bitmap-augmented Sum-Product NetworkHanbing Zhang, Yinan Jing, Zhenying He, Kai Zhang 等SIGMOD 2025
- PairwiseHist: Fast, Accurate, and Space-Efficient Approximate Query Processing with Data CompressionAaron Hurst, Daniel E. Lucani, Qi ZhangVLDB 2024 · 5 次引用
