首页> 外国专利> Query optimization using propagated data distinctness

Query optimization using propagated data distinctness

机译:使用传播的数据差异性进行查询优化

摘要

Query optimization using of a query that is compiled into a query tree. The optimization is efficiently performed by using a distinct value estimation data structure (e.g., a KMV synopsis) that represents within an interval distinctness of values that are generated based on data within an interval, even if the resultant data from a subinterval is considered. Various candidate query trees are evaluated, with distinct value generation data structures being propagated for parent nodes based on the distinct value generation data structures of its child node(s). Propagation operations correlate to the operation represented by the parent node in the query tree. The optimizer uses the propagated distinct value estimation structure in order to evaluate the number of distinct values of data that would result from execution of the candidate query tree at least at the corresponding operations (and not just based on the distinct values of the input data).
机译:使用编译到查询树中的查询进行查询优化。即使考虑到来自子间隔的结果数据,也可以通过使用表示在间隔内基于数据而生成的值的不同的不同值估计数据结构(例如,KMV概要)来有效地执行优化。评估各种候选查询树,并基于其子节点的不同值生成数据结构为父节点传播不同的值生成数据结构。传播操作与查询树中父节点表示的操作相关。优化器使用传播的非重复值估计结构,以便评估至少在相应的操作(而不是仅基于输入数据的非重复值)执行候选查询树而导致的数据非重复值的数量。 。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号