首页> 外国专利> MULTI-STEP QUERY EXECUTION IN SQL SERVER

MULTI-STEP QUERY EXECUTION IN SQL SERVER

机译:SQL Server中的多步查询执行

摘要

Methods, systems, and computer program products are provided that construct and execute multi-step query plans in a database application. A database application accepts a query such as, for example, a graph query. The database application generates a physical query plan comprising a set of execution steps that perform the query. The set of execution steps comprises at least an initial step, an intermediate step and a final step. The database executes the query by passing control to the initial step that, when complete, passes execution control to some other step. The intermediate step executes and when complete, may pass execution control to any other step including itself. Steps may be configured to communicate arbitrary data between steps. The generated query plan may also comprise multiple multi-step sequences, and such sequences may be configured to execute in the alternative based on intermediate query results, or a parameter included in the query.
机译:提供了在数据库应用程序中构造和执行多步骤查询计划的方法,系统和计算机程序产品。数据库应用程序接受诸如图形查询之类的查询。数据库应用程序生成包括一组执行查询的执行步骤的物理查询计划。该组执行步骤至少包括初始步骤,中间步骤和最终步骤。数据库通过将控制权传递给初始步骤来执行查询,该步骤完成后将执行控制权传递给其他步骤。中间步骤执行,完成后,可以将执行控制权传递给其他任何步骤,包括自身。步骤可以配置为在步骤之间传递任意数据。所生成的查询计划还可以包括多个多步骤序列,并且这样的序列可以被配置为基于中间查询结果或查询中包括的参数来替代地执行。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号