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 失效
    用于在数据库管理系统中实现查询执行计划稳定性的装置,系统和方法

    公开(公告)号: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
    2.
    发明授权
    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
    3.
    发明申请
    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
    4.
    发明授权
    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
    5.
    发明申请
    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谓词的第二个范围,该行是针对第二个或谓词的第二个范围进行检查的。

    System and method for an adaptive list prefetch
    6.
    发明授权
    System and method for an adaptive list prefetch 失效
    用于自适应列表预取的系统和方法

    公开(公告)号:US08185701B2

    公开(公告)日:2012-05-22

    申请号:US12025801

    申请日:2008-02-05

    IPC分类号: G06F13/00 G06F13/28

    CPC分类号: G06F17/30442

    摘要: A method, system, and computer program product are provided for retrieving records into a main memory. A first number of gaps and a first total gap size are received for a list of records from a database subsystem. A determination is made of a first average gap size using the first number of gaps and the first total gap size. A determination is made as to whether the first average gap size is greater than a prestaging threshold value. Responsive to the first average gap size being equal to or less than the prestaging threshold value, a prestaging flag is set for the list of records. Then, the list of records is retrieved into the main memory using prestaging.

    摘要翻译: 提供了一种用于将记录检索到主存储器中的方法,系统和计算机程序产品。 从数据库子系统收到记录的第一个数量和第一个总间隙大小。 使用第一数量的间隙和第一总间隙尺寸确定第一平均间隙尺寸。 确定第一平均间隙大小是否大于预定阈值。 响应于第一平均间隙尺寸等于或小于预定阈值,为记录列表设置预置标记。 然后,使用前置记录将记录列表检索到主存储器中。

    Database table look-up
    7.
    发明授权
    Database table look-up 有权
    数据库表查找

    公开(公告)号:US08359316B2

    公开(公告)日:2013-01-22

    申请号:US12714617

    申请日:2010-03-01

    IPC分类号: G06F7/00

    CPC分类号: G06F17/30584

    摘要: Techniques for database table look-up are provided. The techniques include storing one or more column attributes of a database table in a data structure, wherein the data structure also comprises a record identification (RID) column of a table, one or more predicate columns corresponding to the RID column, and a sequence number column that is associated with one or more updated records, generating a key using one or more portions from one or more of the one or more predicate columns, using the key to partition the data structure, wherein partitioning the data structure comprises partitioning the one or more predicate columns for evaluation, and evaluating the one or more predicate columns against the data structure for each matching predicate column-data structure partition.

    摘要翻译: 提供数据库表查找技术。 这些技术包括将数据库表的一个或多个列属性存储在数据结构中,其中数据结构还包括表的记录标识(RID)列,对应于RID列的一个或多个谓词列,以及序列号 列,其与一个或多个更新的记录相关联,使用所述密钥对所述数据结构进行分区,使用所述一个或多个谓词列中的一个或多个的一个或多个部分生成密钥,其中分割所述数据结构包括将所述一个或多个 用于评估的更多谓词列,并针对每个匹配谓词列数据结构分区的数据结构评估一个或多个谓词列。

    System and Method for an Adaptive List Prefetch
    8.
    发明申请
    System and Method for an Adaptive List Prefetch 失效
    自适应列表预取的系统和方法

    公开(公告)号:US20090198738A1

    公开(公告)日:2009-08-06

    申请号:US12025801

    申请日:2008-02-05

    IPC分类号: G06F12/00 G06F17/30

    CPC分类号: G06F17/30442

    摘要: A method, system, and computer program product are provided for retrieving records into a main memory. A first number of gaps and a first total gap size are received for a list of records from a database subsystem. A determination is made of a first average gap size using the first number of gaps and the first total gap size. A determination is made as to whether the first average gap size is greater than a prestaging threshold value. Responsive to the first average gap size being equal to or less than the prestaging threshold value, a prestaging flag is set for the list of records. Then, the list of records is retrieved into the main memory using prestaging.

    摘要翻译: 提供了一种用于将记录检索到主存储器中的方法,系统和计算机程序产品。 从数据库子系统收到记录的第一个数量和第一个总间隙大小。 使用第一数量的间隙和第一总间隙尺寸确定第一平均间隙尺寸。 确定第一平均间隙大小是否大于预定阈值。 响应于第一平均间隙尺寸等于或小于预定阈值,为记录列表设置预置标记。 然后,使用前置记录将记录列表检索到主存储器中。

    Database Table Look-up
    9.
    发明申请
    Database Table Look-up 有权
    数据库表查找

    公开(公告)号:US20110213775A1

    公开(公告)日:2011-09-01

    申请号:US12714617

    申请日:2010-03-01

    IPC分类号: G06F17/30

    CPC分类号: G06F17/30584

    摘要: Techniques for database table look-up are provided. The techniques include storing one or more column attributes of a database table in a data structure, wherein the data structure also comprises a record identification (RID) column of a table, one or more predicate columns corresponding to the RID column, and a sequence number column that is associated with one or more updated records, generating a key using one or more portions from one or more of the one or more predicate columns, using the key to partition the data structure, wherein partitioning the data structure comprises partitioning the one or more predicate columns for evaluation, and evaluating the one or more predicate columns against the data structure for each matching predicate column-data structure partition.

    摘要翻译: 提供数据库表查找技术。 这些技术包括将数据库表的一个或多个列属性存储在数据结构中,其中数据结构还包括表的记录标识(RID)列,对应于RID列的一个或多个谓词列,以及序列号 列,其与一个或多个更新的记录相关联,使用所述密钥对所述数据结构进行分区,使用所述一个或多个谓词列中的一个或多个的一个或多个部分生成密钥,其中分割所述数据结构包括将所述一个或多个 用于评估的更多谓词列,并针对每个匹配谓词列数据结构分区的数据结构评估一个或多个谓词列。

    Encoded data processing
    10.
    发明授权
    Encoded data processing 失效
    编码数据处理

    公开(公告)号:US08756208B2

    公开(公告)日:2014-06-17

    申请号:US13545522

    申请日:2012-07-10

    IPC分类号: G06F17/00 G06F17/30

    摘要: Techniques for encoded data processing which allow for continuous data processing as encoded data changes. Data is decomposed into one or more blocks with each block containing at least one data record. At least one data record within a given block is encoded with a first encoding process selected from one or more encoding processes. The first encoding process is associated with the given data block. Techniques evaluate whether or not to implement an encoding change for a given block when updating a given data record in the given block. Responsive to the evaluation, the given block is re-encoded with a second encoding process. Responsive to the re-encoding, the association of the given block is updated. A map is formed to convert the given data record encoded with the first encoding process to the second encoding process so as to preserve comparative relationships of the given data record.

    摘要翻译: 用于编码数据处理的技术,其允许作为编码数据的连续数据处理改变。 数据被分解为一个或多个块,每个块包含至少一个数据记录。 使用从一个或多个编码过程中选择的第一编码过程对给定块内的至少一个数据记录进行编码。 第一编码过程与给定的数据块相关联。 技术评估在给定块中更新给定数据记录时是否实现给定块的编码更改。 响应于评估,给定的块用第二编码过程重新编码。 响应于重新编码,给定块的关联更新。 形成地图以将用第一编码处理编码的给定数据记录转换为第二编码处理,以便保持给定数据记录的比较关系。