首页> 外国专利> SELECTIVITY-BASED OPTIMIZED-QUERY-PLAN CACHING

SELECTIVITY-BASED OPTIMIZED-QUERY-PLAN CACHING

机译:基于选择性的优化查询计划培训

摘要

Optimized query plans are partitioned into equivalence groups that each include equivalence classes. Each equivalence group corresponds to a particular compiled, normalized, and parameterized query plan prior to optimization. Each equivalence class within an equivalence group corresponds to a different query plan corresponding to the particular compiled, normalized, and parameterized query plan represented by the equivalence group that has been optimized with respect to the selectivity of one or more predicate clauses of the query that is compiled to produce the particular compiled, normalized, and parameterized query plan. Optimized query plans are cached according to their respective equivalence groups and equivalence classes. When a query, similar to a query already compiled, optimized, and cached, is subsequently received and compiled, a selectivity for a predicate of the compiled query is computed, allowing the database management system to retrieve a cached query plan optimized for a similar query with similar selectivity.
机译:将优化的查询计划划分为等效组,每个等效组均包括等效类。每个对等组对应于优化之前的特定编译,规范化和参数化查询计划。对等组中的每个对等类对应于一个不同的查询计划,该查询计划对应于由对查询的一个或多个谓词子句的选择性进行优化的对等组表示的特定编译,规范化和参数化查询计划生成特定的已编译,规范化和参数化查询计划。优化查询计划根据它们各自的等效组和等效类进行缓存。当随后接收并编译类似于已编译,优化和缓存的查询的查询时,将计算对已编译查询的谓词的选择性,从而使数据库管理系统可以检索针对类似查询优化的缓存查询计划具有相似的选择性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号