Apparatus, system, and method for ensuring query execution plan stability in a database management system
    1.
    发明授权
    Apparatus, system, and method for ensuring query execution plan stability in a database management system 失效
    用于确保数据库管理系统中查询执行计划稳定性的装置,系统和方法

    公开(公告)号:US07644063B2

    公开(公告)日:2010-01-05

    申请号:US11840703

    申请日:2007-08-17

    IPC分类号: G06F17/30

    CPC分类号: G06F17/30474

    摘要: An apparatus, system, and method are disclosed for ensuring query execution plan stability in a database management system. The present invention binds a static database query to a new query execution plan (QEP) that produces the same result set as an original QEP bound to the static database query. Next, the present invention identifies one of the original QEP and the new QEP as a primary QEP and automatically collects execution statistics for the original QEP and the new QEP. Finally, the present invention automatically selects one of the original QEP and the new QEP as the primary QEP in response to completion of the automatic collection of execution statistics, the primary QEP selected such that the automatically selected QEP provides optimal execution performance based on performance criteria in comparison to the automatically unselected QEP, the primary QEP selected based on the execution statistics.

    摘要翻译: 公开了一种用于确保数据库管理系统中的查询执行计划稳定性的装置,系统和方法。 本发明将静态数据库查询绑定到新的查询执行计划(QEP),该计划产生与绑定到静态数据库查询的原始QEP相同的结果集。 接下来,本发明将原始QEP和新QEP中的一个标识为主QEP,并自动收集原始QEP和新QEP的执行统计信息。 最后,本发明响应于完成执行统计的自动收集而自动选择原始QEP和新QEP中的一个作为主QEP,选择主QEP使得自动选择的QEP基于性能标准提供最佳执行性能 与自动未选择的QEP相比,基于执行统计信息选择主要QEP。

    APPARATUS, SYSTEM, AND METHOD FOR ENSURING QUERY EXECUTION PLAN STABILITY IN A DATABASE MANAGEMENT SYSTEM
    2.
    发明申请
    APPARATUS, SYSTEM, AND METHOD FOR ENSURING QUERY EXECUTION PLAN STABILITY IN A DATABASE MANAGEMENT SYSTEM 失效
    用于在数据库管理系统中实现查询执行计划稳定性的装置,系统和方法

    公开(公告)号:US20090049012A1

    公开(公告)日:2009-02-19

    申请号:US11840703

    申请日:2007-08-17

    IPC分类号: G06F17/30

    CPC分类号: G06F17/30474

    摘要: An apparatus, system, and method are disclosed for ensuring query execution plan stability in a database management system. The present invention binds a static database query to a new query execution plan (QEP) that produces the same result set as an original QEP bound to the static database query. Next, the present invention identifies one of the original QEP and the new QEP as a primary QEP and automatically collects execution statistics for the original QEP and the new QEP. Finally, the present invention automatically selects one of the original QEP and the new QEP as the primary QEP in response to completion of the automatic collection of execution statistics, the primary QEP selected such that the automatically selected QEP provides optimal execution performance based on performance criteria in comparison to the automatically unselected QEP, the primary QEP selected based on the execution statistics.

    摘要翻译: 公开了一种用于确保数据库管理系统中的查询执行计划稳定性的装置,系统和方法。 本发明将静态数据库查询绑定到新的查询执行计划(QEP),该计划产生与绑定到静态数据库查询的原始QEP相同的结果集。 接下来,本发明将原始QEP和新QEP中的一个标识为主QEP,并自动收集原始QEP和新QEP的执行统计信息。 最后,本发明响应于完成执行统计的自动收集而自动选择原始QEP和新QEP中的一个作为主QEP,选择主QEP使得自动选择的QEP基于性能标准提供最佳执行性能 与自动未选择的QEP相比,基于执行统计信息选择主要QEP。

    Query execution plan efficiency in a database management system
    3.
    发明授权
    Query execution plan efficiency in a database management system 有权
    在数据库管理系统中查询执行计划效率

    公开(公告)号:US08060495B2

    公开(公告)日:2011-11-15

    申请号:US12255520

    申请日:2008-10-21

    IPC分类号: G06F17/30

    CPC分类号: G06F17/30463

    摘要: An apparatus, system, and method are disclosed for improving query execution plan efficiency in a database management system. The present invention binds both static database queries and dynamic database queries to new query execution plans (QEPs) that produce the same result set as a former QEP bound to the database queries. Next, the present invention identifies one of the former QEPs and the new QEP as an active QEP and automatically collects execution statistics for one of the former QEPs and the new QEP. Finally, the present invention automatically selects one of the former QEPs and the new QEP as the active QEP in response to completion of the automatic collection of execution statistics, the active QEP selected such that the automatically selected QEP provides optimal execution performance based on performance criteria in comparison to the automatically unselected QEP, the active QEP selected based on the execution statistics.

    摘要翻译: 公开了一种用于提高数据库管理系统中的查询执行计划效率的装置,系统和方法。 本发明将静态数据库查询和动态数据库查询绑定到新的查询执行计划(QEP),该查询执行计划(QEP)产生与数据库查询绑定的前一个QEP相同的结果集。 接下来,本发明将前一个QEP和新的QEP之一识别为活动QEP,并自动收集前一个QEP和新的QEP之一的执行统计信息。 最后,本发明响应于完成执行统计的自动收集而自动选择前者QEP和新QEP中的一个作为活动QEP,选择活动QEP使得自动选择的QEP基于性能标准提供最佳执行性能 与自动未选择的QEP相比,基于执行统计信息选择活动QEP。

    QUERY EXECUTION PLAN EFFICIENCY IN A DATABASE MANAGEMENT SYSTEM
    4.
    发明申请
    QUERY EXECUTION PLAN EFFICIENCY IN A DATABASE MANAGEMENT SYSTEM 有权
    查询执行数据库管理系统中的计划效率

    公开(公告)号:US20100114868A1

    公开(公告)日:2010-05-06

    申请号:US12255520

    申请日:2008-10-21

    IPC分类号: G06F17/30 G06F7/00

    CPC分类号: G06F17/30463

    摘要: An apparatus, system, and method are disclosed for improving query execution plan efficiency in a database management system. The present invention binds both static database queries and dynamic database queries to new query execution plans (QEPs) that produce the same result set as a former QEP bound to the database queries. Next, the present invention identifies one of the former QEPs and the new QEP as an active QEP and automatically collects execution statistics for one of the former QEPs and the new QEP. Finally, the present invention automatically selects one of the former QEPs and the new QEP as the active QEP in response to completion of the automatic collection of execution statistics, the active QEP selected such that the automatically selected QEP provides optimal execution performance based on performance criteria in comparison to the automatically unselected QEP, the active QEP selected based on the execution statistics.

    摘要翻译: 公开了一种用于提高数据库管理系统中的查询执行计划效率的装置,系统和方法。 本发明将静态数据库查询和动态数据库查询绑定到新的查询执行计划(QEP),该查询执行计划(QEP)产生与数据库查询绑定的前一个QEP相同的结果集。 接下来,本发明将前一个QEP和新的QEP之一识别为活动QEP,并自动收集前一个QEP和新的QEP之一的执行统计信息。 最后,本发明响应于完成执行统计的自动收集而自动选择前者QEP和新QEP中的一个作为活动QEP,选择活动QEP使得自动选择的QEP基于性能标准提供最佳执行性能 与自动未选择的QEP相比,基于执行统计信息选择活动QEP。

    Method and system for disjunctive single index access
    5.
    发明授权
    Method and system for disjunctive single index access 有权
    分离单索引访问的方法和系统

    公开(公告)号:US07725448B2

    公开(公告)日:2010-05-25

    申请号:US11848868

    申请日:2007-08-31

    IPC分类号: G06F17/30

    CPC分类号: G06F17/30454

    摘要: A method for performing disjunctive single-index access on a database is disclosed. The method includes a query engine determining whether a first OR predicate and a second OR predicate map to a shared index. Responsive to the query engine determining that the first OR predicate and the second OR predicate map to the shared index, the first OR predicate and the second OR predicate are ordered in an ascending sequence. A first range of the first OR predicate is queued. A first row of the shared index is probed for the first range of the first OR predicate. Whether the first row is disqualified by the first OR predicate is determined. Responsive to determining that the first row is not disqualified by the first OR predicate, the row is reported in a result reporting structure. Responsive to determining that the row is disqualified by the first OR predicate, whether the first range of the first OR predicate overlaps a second range of the second OR predicate is determined, and, responsive to determining that the first range of the first OR predicate overlaps the second range of the second OR predicate, the row is checked against second range of the second or predicate.

    摘要翻译: 公开了一种在数据库上执行分离单索引访问的方法。 该方法包括查询引擎,确定第一OR谓词和第二OR谓词映射到共享索引。 响应于查询引擎确定第一OR谓词和第二OR谓词映射到共享索引,第一OR谓词和第二OR谓词以升序排列。 第一个OR谓词的第一个范围排队。 共享索引的第一行被探测到第一个OR谓词的第一个范围。 确定第一行是否被第一个OR谓词取消资格。 响应于确定第一行不被第一个OR谓词取消资格,该行将在结果报告结构中报告。 响应于确定该行被第一OR谓词取消资格,确定第一OR谓词的第一范围是否与第二OR谓词的第二范围重叠,并且响应于确定第一OR谓词的第一范围重叠 第二个OR谓词的第二个范围,该行是针对第二个或谓词的第二个范围进行检查的。

    METHOD AND SYSTEM FOR DISJUNCTIVE SINGLE INDEX ACCESS
    6.
    发明申请
    METHOD AND SYSTEM FOR DISJUNCTIVE SINGLE INDEX ACCESS 有权
    用于单独索引访问的方法和系统

    公开(公告)号:US20090063397A1

    公开(公告)日:2009-03-05

    申请号:US11848868

    申请日:2007-08-31

    IPC分类号: G06F17/30

    CPC分类号: G06F17/30454

    摘要: A method for performing disjunctive single-index access on a database is disclosed. The method includes a query engine determining whether a first OR predicate and a second OR predicate map to a shared index. Responsive to the query engine determining that the first OR predicate and the second OR predicate map to the shared index, the first OR predicate and the second OR predicate are ordered in an ascending sequence. A first range of the first OR predicate is queued. A first row of the shared index is probed for the first range of the first OR predicate. Whether the first row is disqualified by the first OR predicate is determined. Responsive to determining that the first row is not disqualified by the first OR predicate, the row is reported in a result reporting structure. Responsive to determining that the row is disqualified by the first OR predicate, whether the first range of the first OR predicate overlaps a second range of the second OR predicate is determined, and, responsive to determining that the first range of the first OR predicate overlaps the second range of the second OR predicate, the row is checked against second range of the second or predicate.

    摘要翻译: 公开了一种在数据库上执行分离单索引访问的方法。 该方法包括查询引擎,确定第一OR谓词和第二OR谓词映射到共享索引。 响应于查询引擎确定第一OR谓词和第二OR谓词映射到共享索引,第一OR谓词和第二OR谓词以升序排列。 第一个OR谓词的第一个范围排队。 共享索引的第一行被探测到第一个OR谓词的第一个范围。 确定第一行是否被第一个OR谓词取消资格。 响应于确定第一行不被第一个OR谓词取消资格,该行将在结果报告结构中报告。 响应于确定该行被第一OR谓词取消资格,确定第一OR谓词的第一范围是否与第二OR谓词的第二范围重叠,并且响应于确定第一OR谓词的第一范围重叠 第二个OR谓词的第二个范围,该行是针对第二个或谓词的第二个范围进行检查的。