首页> 外国专利> Approximating relation sizes using field dependencies

Approximating relation sizes using field dependencies

机译:使用字段依赖关系近似关系大小

摘要

A method and system is provided for computing an approximation of the number of distinct results of a query over a relational data source. The approximation uses information about dependencies between fields of relations, in particular the number of distinct values of a field for each possible value of another field. This information can be obtained by analysis of the data stored in the relational data source, or may be specified as annotations to a database schema. An approximation of the number of results is and the dependencies between fields of each part of the query are computed. The approximation can be used to reorder parts of a query, by using the estimated size of parts to guide reordering. The approximation can further be used to determine which parts of a query are relevant to the evaluation of a subquery, which can be used to guide the magic sets transformation.
机译:提供了一种用于在关系数据源上计算查询的不同结果的数量的近似值的方法和系统。该近似使用关于关系字段之间的依赖性的信息,特别是对于另一个字段的每个可能值,一个字段的不同值的数量。可以通过分析存储在关系数据源中的数据来获取此信息,或者可以将其指定为数据库模式的注释。结果数的近似值为,并计算查询每个部分的字段之间的依存关系。通过使用估计的部分大小来指导重新排序,可以将近似值用于对查询的部分进行重新排序。该近似还可以用于确定查询的哪些部分与子查询的评估有关,该子查询可以用于指导魔术集转换。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号