Query plan selection control using run-time association mechanism
    1.
    发明授权
    Query plan selection control using run-time association mechanism 失效
    使用运行时关联机制的查询计划选择控制

    公开(公告)号:US07640230B2

    公开(公告)日:2009-12-29

    申请号:US11098949

    申请日:2005-04-05

    IPC分类号: G06F17/30

    摘要: A system and method for creation, modification and/or use of plan guide(s) is provided. Plan guide(s) can be employed to optimize the performance of query(ies) when it is not possible and/or desirable to change the text of the query directly. Plan guides can be useful, for example, when a small subset of queries in a database application deployed from a third-party vendor is not performing as expected. Plan guides influence optimization of queries by attaching query hints to them. In accordance with an aspect of the subject invention, a query plan execution system is provided. The system includes an execution component, a query optimizer, and, a plan cache. Plan guides and other associated metadata are stored in a plan guide metadata store.

    摘要翻译: 提供了一种用于创建,修改和/或使用计划指南的系统和方法。 当不可能和/或希望直接更改查询文本时,可以使用计划指南来优化查询的性能。 计划指南可能是有用的,例如,当从第三方供应商部署的数据库应用程序中的一小部分查询未按预期执行时。 计划指南通过将查询提示附加到他们来影响查询的优化。 根据本发明的一个方面,提供一种查询计划执行系统。 该系统包括一个执行组件,一个查询优化器和一个计划缓存。 计划指南和其他关联的元数据存储在计划指南元数据存储中。