首页> 外国专利> Cardinality estimation for optimization of recursive or iterative database queries by databases

Cardinality estimation for optimization of recursive or iterative database queries by databases

机译:基数估计,用于通过数据库优化递归或迭代数据库查询

摘要

An execution plan for executing one or more iterations of recursive database queries can be generated in accordance with one aspect of the invention. For example, in accordance with one embodiment of the invention, one or more cardinalities (results or size of results, including intermediate results) associated with one or more iterations can be estimated. This estimation can, for example, by performed by using a sampling or sampling-based algorithm.;In addition, a plan generated for execution of one or more iteration of a recursive query can be modified or replaced by comparing the actual cardinality with its estimation. As a result, the first one or more iterations may be executed using a first plan but the subsequent one or more iterations may use a modified or different execution plan.
机译:根据本发明的一方面,可以生成用于执行递归数据库查询的一个或多个迭代的执行计划。例如,根据本发明的一个实施例,可以估计与一个或多个迭代相关联的一个或多个基数(结果的结果或大小,包括中间结果)。例如,可以通过使用采样或基于采样的算法来执行此估计。此外,可以通过将实际基数与其估计值进行比较来修改或替换为执行递归查询的一个或多个迭代而生成的计划。 。结果,可以使用第一计划来执行第一一个或多个迭代,但是随后的一个或多个迭代可以使用修改的或不同的执行计划。

著录项

  • 公开/公告号US9720966B2

    专利类型

  • 公开/公告日2017-08-01

    原文格式PDF

  • 申请/专利权人 TERADATA US INC.;

    申请/专利号US201213721901

  • 发明设计人 AHMAD SAID GHAZAL;DAWIT SEID;

    申请日2012-12-20

  • 分类号G06F17/30;

  • 国家 US

  • 入库时间 2022-08-21 13:43:49

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号