首页> 外国专利> Optimizing access plan for queries with a nested loop join

Optimizing access plan for queries with a nested loop join

机译:使用嵌套循环连接优化查询的访问计划

摘要

A method, computing system and computer program product are provided. A nested loop join access plan for a query is executed and processed records of a most outer table of a nested loop join that satisfy local predicates are counted. When a count of the processed records is not less than a threshold value, a cost to complete execution of the nested loop join access plan and a cost of executing a new access plan based on recalculated filter factors for local predicates of the query are compared. When the cost to complete is less, execution of the nested loop join access plan is resumed to complete running of the query. When the cost of executing the new access plan is less, the new access plan is executed to rerun the query. A result of the query is provided.
机译:提供了一种方法,计算系统和计算机程序产品。执行用于查询的嵌套循环加入访问计划和处理满足本地谓词的嵌套环路连接的大多数外部表的记录。当处理的记录的计数不小于阈值时,比较嵌套循环连接接入计划的成本和基于用于局部近验证的重新计算的滤波器因子来执行新的访问计划的成本。完成成本较少时,恢复执行嵌套循环加入访问计划以完成查询运行。当执行新访问计划的成本较少时,执行新的访问计划以重新运行查询。提供了查询的结果。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号