arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2103.15994cs.DB
收藏

近似查询处理中聚合和抽样(近似)最优组合

Combining Aggregation and Sampling (Nearly) Optimally for Approximate Query Processing

Xi Liang, Stavros Sintos, Zechao Shang, Sanjay Krishnan

摘要:

基于样本的近似查询处理(AQP)有许多缺陷,如无法回答非常有选择性的查询和不可靠的置信区间时,样本量很小。最近的研究提出了一种有趣的解决方案,将物化的,预先计算的聚合物与采样相结合,以获得准确和更可靠的AQP。我们在这项工作中详细探索了这个解决方案,并提出了一个AQP物理设计,称为PASS,或预计算辅助分层采样。PASS构建一个部分聚合树,覆盖数据集的不同分区。该树的叶节点形成分层样本的层。其谓词与分区(或分区的并集)对齐的聚合查询用深度优先搜索精确地回答,并且任何部分重叠用分层样本近似。我们提出了一种算法,用于最佳地划分到这样的数据结构与各种实用的近似技术的数据。

英文摘要:

Sample-based approximate query processing (AQP) suffers from many pitfalls such as the inability to answer very selective queries and unreliable confidence intervals when sample sizes are small. Recent research presented an intriguing solution of combining materialized, pre-computed aggregates with sampling for accurate and more reliable AQP. We explore this solution in detail in this work and propose an AQP physical design called PASS, or Precomputation-Assisted Stratified Sampling. PASS builds a tree of partial aggregates that cover different partitions of the dataset. The leaf nodes of this tree form the strata for stratified samples. Aggregate queries whose predicates align with the partitions (or unions of partitions) are exactly answered with a depth-first search, and any partial overlaps are approximated with the stratified samples. We propose an algorithm for optimally partitioning the data into such a data structure with various practical approximation techniques.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑