首页> 外国专利> Method and apparatus for predicting selectivity of database query join conditions using hypothetical query predicates having skewed value constants

Method and apparatus for predicting selectivity of database query join conditions using hypothetical query predicates having skewed value constants

机译:使用具有偏斜值常数的假设查询谓词预测数据库查询联接条件选择性的方法和装置

摘要

A database management system predicts a selectivity for database query conditions requiring a join of records from different tables. The system identifies at least one skewed value in a field specified in the join condition, and constructs, for each skewed value, a set of hypothetical query predicates in which the field specified in the join condition is replaced with a constant equal to the skewed value. The system then predicts the selectivity for the hypothetical predicates, using any appropriate prediction technique. The selectivities of the hypothetical predicates are used to predict a selectivity for the original query.
机译:数据库管理系统预测需要查询来自不同表的记录的数据库查询条件的选择性。系统在联接条件中指定的字段中识别至少一个偏斜值,并为每个偏斜值构造一组假设查询谓词,其中将在联接条件中指定的字段替换为等于该偏斜值的常量。然后,系统使用任何适当的预测技术来预测假设谓词的选择性。假设谓词的选择性用于预测原始查询的选择性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号