首页> 外国专利> How to select the binding selectivity in the query optimizer and a relational database management system

How to select the binding selectivity in the query optimizer and a relational database management system

机译:如何在查询优化器和关系数据库管理系统中选择绑定选择性

摘要

A method for choosing join selectivities in a query optimizer in a relational database management system is disclosed which facilitates the estimation of join result sizes by a query optimizer in a relational database system, wherein a new relation R is to be joined with an intermediate relation I, and wherein the selectivity values for each eligible join predicate are known. The method has the steps of determining the equivalence classes for a plurality of join attributes and then computing for each relation an estimate of the cardinality and the number of distinct values in each attribute after all the local predicates have been included. These are used in further computation of join selectivities and join result sizes. The join predicates must then be processed by correctly choosing the join selectivities. The join result sizes can then be correctly calculated.
机译:公开了一种用于在关系数据库管理系统中的查询优化器中选择联接选择性的方法,该方法有助于通过关系数据库系统中的查询优化器来估计联接结果大小,其中,将新关系R与中间关系I联接。 ,其中每个合格连接谓词的选择性值是已知的。该方法具有以下步骤:确定多个联接属性的等价类,然后在已包括所有本地谓词之后,为每个关系计算基数的估计和每个属性中不同值的数量。这些用于进一步计算连接选择性和连接结果大小。然后必须通过正确选择连接选择性来处理连接谓词。然后可以正确计算联接结果的大小。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号