首页> 外国专利> Method of optimizing a query having an existi subquery and a not-exists subquery

Method of optimizing a query having an existi subquery and a not-exists subquery

机译:优化具有existi子查询和不存在子查询的查询的方法

摘要

For SQL query, program storage device storage optimization program is provided for Optimizing Queries for a kind of optimisation technique. It includes & ldquo that whether it includes WHERE clause that inquiry is analyzed to determine it; EXISTS” With a Ge & ldquo subqueries; NOT EXISTS” Subquery, EXISTS-equivalent subqueries, Boolean factor. Two subqueries of test are carried out if it is, sorting out. Then, compensation predicate is applied to one of them, to carry out QGM conversion queries. One sub- query block is stacked on another subquery block, to eliminate a subquery. The process allows more efficiently transformed query to carry out than original query, while providing identical result. Then the inquiry executes the relational database from above-mentioned in order to efficient retrieval data in a computer.
机译:对于SQL查询,程序存储设备存储优化程序提供了用于优化查询的一种优化技术。它包括“是否包含查询分析确定它的WHERE子句”;存在'带有Ge子查询;不存在”子查询,等效于EXISTS的子查询,布尔因子。如果有,则进行两个子测试,以进行筛选。然后,将补偿谓词应用于其中之一,以执行QGM转换查询。一个子查询块堆叠在另一个子查询块上,以消除子查询。与原始查询相比,该过程可以更有效地执行转换后的查询,同时提供相同的结果。然后查询执行上述关系数据库,以便有效地在计算机中检索数据。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号