首页> 外国专利> Optimizing database query execution by extending the relational algebra to include non-standard join operators

Optimizing database query execution by extending the relational algebra to include non-standard join operators

机译:通过扩展关系代数来优化数据库查询执行,以包括非标准加入运算符

摘要

A method is executed at a computer system to retrieve data from a database. Upon receiving a database query, a database engine of the computer system parses the query to form an operator tree including a plurality of join operators. For each of the plurality of clauses, the database engine adds to the operator tree a respective node that specifies a mark join operator, a single join operator, an inner join operator, or an outer join operator. Specifically, the database engine adds the mark join operator when the respective clause includes one of a predetermined set of predicate subqueries, and adds the single join operator when the respective clause includes a scalar subquery. The database engine performs one or more optimization passes on the operator tree to form an optimized execution plan, and executes the optimized execution plan to retrieve a result set from the database.
机译:在计算机系统中执行方法以从数据库检索数据。在接收到数据库查询时,计算机系统的数据库引擎解析查询以形成包括多个连接运算符的操作员树。对于多个子句中的每一个,数据库引擎增加给操作员树,相应的节点指定标记加入操作员,单个加入操作员,内连接操作员或外连接操作员。具体地,当相应的子句包括预定的一组谓词子查询之一时,数据库引擎添加标记加入运算符,并且当相应的子句包括标量子查询时,添加单个加入操作员。数据库引擎在操作员树上执行一个或多个优化传递以形成优化的执行计划,并执行优化的执行计划以检索从数据库中设置的结果集。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号