首页> 外文会议>SIGMOD/PODS 2007 >Progressive Optimization in a Shared-Nothing Parallel Database
【24h】

Progressive Optimization in a Shared-Nothing Parallel Database

机译:无共享并行数据库中的渐进优化

获取原文

摘要

Commercial enterprise data warehouses are typically implemented on parallel databases due to the inherent scalability and performance limitation of a serial architecture. Queries used in such large data warehouses can contain complex predicates as well as multiple joins, and the resulting query execution plans generated by the optimizer may be suboptimal due to mis-estimates of row cardinalities. Progressive optimization (POP) is an approach to detect cardinality estimation errors by monitoring actual cardinalities at runtime and to recover by triggering re-optimization with the actual cardinalities measured. However, the original serial POP solution is based on a serial processing architecture, and the core ideas cannot be readily applied to a parallel shared-nothing environment. Extending the serial POP to a parallel environment is a challenging problem since we need to determine when and how we can trigger re-optimization based on cardinalities collected from multiple independent nodes. In this paper, we present a comprehensive and practical solution to this problem, including several novel voting schemes whether to trigger re-optimization, a mechanism to reuse local intermediate results across nodes as a partitioned materialized view, several flavors of parallel checkpoint operators, and parallel checkpoint processing methods using efficient communication protocols. This solution has been prototyped in a leading commercial parallel DBMS.We have performed extensive experiments using the TPC-H benchmark and a real-world database. Experimental results show that our solution has negligible runtime overhead and accelerates the performance of complex OLAP queries by up to a factor of 22.
机译:由于串行体系结构固有的可伸缩性和性能限制,商业企业数据仓库通常在并行数据库上实现。在这样的大型数据仓库中使用的查询可能包含复杂的谓词以及多个联接,并且由于行基数的错误估计,优化器生成的结果查询执行计划可能不是最佳的。渐进式优化(POP)是一种通过在运行时监视实际基数来检测基数估计错误,并通过使用所测得的实际基数触发重新优化来进行恢复的方法。但是,原始的串行POP解决方案基于串行处理体系结构,其核心思想不能轻易应用于并行无共享环境。将串行POP扩展到并行环境是一个具有挑战性的问题,因为我们需要根据从多个独立节点收集的基数来确定何时以及如何触发重新优化。在本文中,我们为这个问题提供了一个全面而实用的解决方案,包括几种新颖的投票方案(是否触发重新优化),一种将跨节点的局部中间结果作为分区的物化视图重用的机制,多种并行检查点运算符,以及使用高效通信协议的并行检查点处理方法。该解决方案已在领先的商业并行DBMS中进行了原型设计。我们使用TPC-H基准测试和真实数据库进行了广泛的实验。实验结果表明,我们的解决方案的运行时开销可以忽略不计,并且可以将复杂的OLAP查询的性能提高多达22倍。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号