首页> 外国专利> Optimization of SQL queries using filtering predicates

Optimization of SQL queries using filtering predicates

机译:使用过滤谓词优化SQL查询

摘要

A technique for optimizing execution of a query that accesses data stored on a data store connected to a computer. Query predicates involving different data types are identified. A second query predicate is generated which includes matching data types, and if necessary, converted operators. The second query predicate with the matching data types and/or converted operators is executed to obtain a subset of records using an index manager or data manager. The subset of records is converted to the data types of the remaining query predicates. The first query predicate is applied against the subset of records to obtain a result, and the remaining query predicates of the original query are applied to the result of the first query predicate and any other additional converted query predicates to obtain a final result.
机译:一种用于优化查询执行的技术,该查询访问存储在连接到计算机的数据存储上的数据。确定涉及不同数据类型的查询谓词。生成第二个查询谓词,其中包括匹配的数据类型,并在必要时包含转换后的运算符。使用索引管理器或数据管理器执行具有匹配数据类型和/或转换后的运算符的第二查询谓词,以获得记录的子集。记录的子集将转换为其余查询谓词的数据类型。将第一查询谓词应用于记录的子集以获得结果,并将原始查询的其余查询谓词应用于第一查询谓词和任何其他附加的转换查询谓词的结果以获得最终结果。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号