Skip to main content
Journal cover image

AQP++: Connecting approximate query processing with aggregate precomputation for interactive analytics

Publication ,  Conference
Peng, J; Zhang, D; Wang, J; Pei, J
Published in: Proceedings of the ACM SIGMOD International Conference on Management of Data
May 27, 2018

Interactive analytics requires database systems to be able to answer aggregation queries within interactive response times. As the amount of data is continuously growing at an unprecedented rate, this is becoming increasingly challenging. In the past, the database community has proposed two separate ideas, sampling-based approximate query processing (AQP) and aggregate precomputation (AggPre) such as data cubes, to address this challenge. In this paper, we argue for the need to connect these two separate ideas for interactive analytics. We propose AQP++, a novel framework to enable the connection. The framework can leverage both a sample as well as a precomputed aggregate to answer user queries. We discuss the advantages of having such a unified framework and identify new challenges to fulfill this vision. We conduct an in-depth study of these challenges for range queries and explore both optimal and heuristic solutions to address them. Our experiments using two public benchmarks and one real-world dataset show that AQP++ achieves a more flexible and better trade-off among preprocessing cost, query response time, and answer quality than AQP or AggPre.

Duke Scholars

Published In

Proceedings of the ACM SIGMOD International Conference on Management of Data

DOI

ISSN

0730-8078

ISBN

9781450317436

Publication Date

May 27, 2018

Start / End Page

1477 / 1492
 

Citation

APA
Chicago
ICMJE
MLA
NLM
Peng, J., Zhang, D., Wang, J., & Pei, J. (2018). AQP++: Connecting approximate query processing with aggregate precomputation for interactive analytics. In Proceedings of the ACM SIGMOD International Conference on Management of Data (pp. 1477–1492). https://doi.org/10.1145/3183713.3183747
Peng, J., D. Zhang, J. Wang, and J. Pei. “AQP++: Connecting approximate query processing with aggregate precomputation for interactive analytics.” In Proceedings of the ACM SIGMOD International Conference on Management of Data, 1477–92, 2018. https://doi.org/10.1145/3183713.3183747.
Peng J, Zhang D, Wang J, Pei J. AQP++: Connecting approximate query processing with aggregate precomputation for interactive analytics. In: Proceedings of the ACM SIGMOD International Conference on Management of Data. 2018. p. 1477–92.
Peng, J., et al. “AQP++: Connecting approximate query processing with aggregate precomputation for interactive analytics.” Proceedings of the ACM SIGMOD International Conference on Management of Data, 2018, pp. 1477–92. Scopus, doi:10.1145/3183713.3183747.
Peng J, Zhang D, Wang J, Pei J. AQP++: Connecting approximate query processing with aggregate precomputation for interactive analytics. Proceedings of the ACM SIGMOD International Conference on Management of Data. 2018. p. 1477–1492.
Journal cover image

Published In

Proceedings of the ACM SIGMOD International Conference on Management of Data

DOI

ISSN

0730-8078

ISBN

9781450317436

Publication Date

May 27, 2018

Start / End Page

1477 / 1492