首页> 外文会议>ACM SIGMOD international conference on Management of data >Conditional selectivity for statistics on query expressions
【24h】

Conditional selectivity for statistics on query expressions

机译:查询表达式统计信息的条件选择性

获取原文

摘要

Cardinality estimation during query optimization relies on simplifying assumptions that usually do not hold in practice. To diminish the impact of inaccurate estimates during optimization, statistics on query expressions (SITs) have been previously proposed. These statistics help directly model the distribution of tuples on query sub-plans. Past work in statistics on query expressions has exploited view matching technology to harness their benefits. In this paper we argue against such an approach as it overlooks significant opportunities for improvement in cardinality estimations. We then introduce a framework to reason with SITs based on the notion of conditional selectivity. We present a dynamic programming algorithm to efficiently find the most accurate selectivity estimation for given queries, and discuss how such an approach can be incorporated into existing optimizers with a small number of changes. Finally, we demonstrate experimentally that our technique results in superior cardinality estimations than previous approaches with very little overhead.
机译:查询优化期间的基数估计依赖于简化通常在实践中不成立的假设。为了减少优化过程中不正确估算的影响,以前已经提出了有关查询表达式(SIT)的统计信息。这些统计信息有助于直接对查询子计划上的元组分布进行建模。过去有关查询表达式的统计工作已经利用视图匹配技术来利用它们的好处。在本文中,我们反对这种方法,因为它忽略了改善基数估计的重大机会。然后,我们基于条件选择性的概念引入SIT推理框架。我们提出了一种动态编程算法,可以有效地找到给定查询的最准确的选择性估计,并讨论如何通过少量更改将这种方法合并到现有的优化器中。最后,我们通过实验证明,与以前的方法相比,我们的技术可产生更好的基数估计,且开销很少。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号