首页> 外文会议>SIGMOD/PODS >Sharing Aggregate Computation for Distributed Queries
【24h】

Sharing Aggregate Computation for Distributed Queries

机译:共享分布式查询的聚合计算

获取原文
获取外文期刊封面目录资料

摘要

An emerging challenge in modern distributed querying is to effi- ciently process multiple continuous aggregation queries simultaneously. Processing each query independently may be infeasible, so multi-query optimizations are critical for sharing work across queries. The challenge is to identify overlapping computations that may not be obvious in the queries themselves. In this paper, we reveal new opportunities for sharing work in the context of distributed aggregation queries that vary in their selection predicates. We identify settings in which a large set of q such queries can be answered by executing k《 q different queries. The k queries are revealed by analyzing a boolean matrix capturing the connection between data and the queries that they satisfy, in a manner akin to familiar techniques like Gaussian elimination. Indeed, we identify a class of linear aggregate functions (including SUM, COUNT and AVERAGE), and show that the sharing potential for such queries can be optimally recovered using standard matrix decompositions from computational linear algebra. For some other typical aggregation functions (including MIN and MAX) we find that optimal sharing maps to the NP-hard set basis problem. However, for those scenarios, we present a family of heuristic algorithms and demonstrate that they perform well for moderate-sized matrices. We also present a dynamic distributed system architecture to exploit sharing opportunities, and experimentally evaluate the benefits of our techniques via a novel, flexible random workload generator we develop for this setting.
机译:现代分布式查询中的新出现挑战是同时介入多个连续聚合查询。独立处理每个查询可能是不可行的,因此多查询优化对于在查询中共享工作至关重要。挑战是识别在查询本身中可能不显而易见的重叠计算。在本文中,我们揭示了在分布式聚合查询的上下文中共享工作的新机会,这些查询在其选择谓词中不同。我们识别通过执行k“q不同查询可以回答大量q这样的查询的设置。通过分析捕获数据与它们满足的查询之间的连接的布尔矩阵来揭示K查询以类似于高斯消除的熟悉技术的方式。实际上,我们识别一类线性聚合函数(包括总和,计数和平均值),并表明可以使用来自计算线性代数的标准矩阵分解来最佳地恢复这些查询的共享电位。对于其他一些典型的聚合功能(包括MIN和MAX),我们发现最佳共享地图到NP-HARD集的基础问题。但是,对于那些场景,我们展示了一个启发式算法系列,并证明它们对中等大小的矩阵表现良好。我们还提出了一种动态分布式系统架构,用于利用共享机会,通过我们为此设置开发的新颖,灵活的随机工作负载发生器进行实验评估我们的技术的优势。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号