Adaptive query execution plan enhancement
    2.
    发明授权
    Adaptive query execution plan enhancement 失效
    自适应查询执行计划增强

    公开(公告)号:US08645356B2

    公开(公告)日:2014-02-04

    申请号:US13431981

    申请日:2012-03-28

    IPC分类号: G06F7/00 G06F17/30

    摘要: An adaptive query execution plan enhancement is provided by: selecting a sample of literal sets from an execution history of a query statement; determining a plurality of access paths by applying each literal set in the sample to the query statement; for each given access path of the plurality of access paths, determining a total execution cost by applying each literal set in the sample to the given access path; and selecting a preferred access path from the plurality of access paths based on the total execution costs for each given access path. A plurality of preferred access paths for a plurality of query statements in an application workload is collected and may be presented as a query execution plan enhancement recommendation to users.

    摘要翻译: 通过以下方式提供自适应查询执行计划增强:从查询语句的执行历史中选择文字集合的样本; 通过将样本中的每个文字集合应用于查询语句来确定多个访问路径; 对于所述多个访问路径中的每个给定访问路径,通过将所述样本中的每个文字集合应用于所述给定访问路径来确定总执行成本; 以及基于每个给定访问路径的总执行成本从多个访问路径中选择优选的访问路径。 收集用于应用工作负载中的多个查询语句的多个优选访问路径,并且可以将其作为查询执行计划增强推荐呈现给用户。

    System for executing a query having multiple distinct key columns
    3.
    发明授权
    System for executing a query having multiple distinct key columns 失效
    用于执行具有多个不同键列的查询的系统

    公开(公告)号:US08041726B2

    公开(公告)日:2011-10-18

    申请号:US12212431

    申请日:2008-09-17

    IPC分类号: G06F17/30 G06F7/00

    摘要: A system and computer readable medium for executing a query to access data stored in a database, wherein the query includes a plurality of DISTINCT keys, is disclosed. The system and computer readable medium includes a capture module for identifying each of the plurality of DISTINCT keys in the query and a sort module coupled to the capture module for determining if more than one sort is needed to execute the query, performing a first DISTINCT operation on a first DISTINCT key of the plurality of DISTINCT keys, storing data fetched from the first DISTINCT operation in a master workfile only if more than one sort process is needed to execute the query, and utilizing the master workfile to perform subsequent DISTINCT operations on the other of the plurality of DISTINCT keys.

    摘要翻译: 一种用于执行查询以访问存储在数据库中的数据的系统和计算机可读介质,其中所述查询包括多个DISTINCT键。 所述系统和计算机可读介质包括用于识别所述查询中的所述多个DISTINCT密钥中的每一个的捕获模块和耦合到所述捕获模块的分类模块,用于确定是否需要多于一种排序来执行所述查询,执行第一DISTINCT操作 在多个DISTINCT密钥的第一DISTINCT密钥上,仅当需要多于一个排序处理来执行查询时,将从第一个DISTINCT操作获取的数据存储在主工作文件中,并且利用主工作文件执行后续的DISTINCT操作 多个DISTINCT键中的其他键。

    Database Table Look-up
    4.
    发明申请
    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列的一个或多个谓词列,以及序列号 列,其与一个或多个更新的记录相关联,使用所述密钥对所述数据结构进行分区,使用所述一个或多个谓词列中的一个或多个的一个或多个部分生成密钥,其中分割所述数据结构包括将所述一个或多个 用于评估的更多谓词列,并针对每个匹配谓词列数据结构分区的数据结构评估一个或多个谓词列。

    Statistics management
    5.
    发明授权
    Statistics management 失效
    统计管理

    公开(公告)号:US07984024B2

    公开(公告)日:2011-07-19

    申请号:US12140994

    申请日:2008-06-17

    IPC分类号: G06F7/00 G06F17/00

    摘要: Disclosed is a technique for maintaining statistics. A query is received. Column group generation is performed to form one or more column groups. Column group refinement is performed based on statistics data generated for a previously received query. A statistics check is automatically performed. A statistics collection command is generated to obtain statistics.

    摘要翻译: 公开了一种维护统计的技术。 接收到查询。 执行列组生成以形成一个或多个列组。 基于针对先前接收到的查询生成的统计数据执行列组细化。 统计检查自动执行。 生成统计信息收集命令,获取统计信息。

    Off-loading star join operations to a storage server
    6.
    发明授权
    Off-loading star join operations to a storage server 失效
    卸载明星加入操作到存储服务器

    公开(公告)号:US07885953B2

    公开(公告)日:2011-02-08

    申请号:US11866907

    申请日:2007-10-03

    IPC分类号: G06F17/30 G06F7/00

    CPC分类号: G06F17/30498

    摘要: A method, storage server, and computer readable medium for off-loading star-join operations from a host information processing system to a storage server. At least a first and second set of keys from a first and second dimension table, respectively are received from a host system. Each of the first and second set of keys is associated with at least one fact table. A set of locations associated with a set of foreign key indexes are received from the host system. A set of fact table indexes are traversed. At least a first set of Row Identifiers (“RIDs”) associated with the first set of keys and at least a second set of RIDs associated with the second set of keys are identified. An operation is performed on the first and second sets of RIDs to identify an intersecting set of RIDs. The intersecting set of RIDs are then stored.

    摘要翻译: 一种用于从主机信息处理系统到存储服务器的卸载星形连接操作的方法,存储服务器和计算机可读介质。 分别从主机系统接收来自第一和第二维度表的至少第一和第二组密钥。 第一组和第二组中的每一个与至少一个事实表相关联。 从主机系统接收与一组外键索引相关联的一组位置。 遍历一组事实表索引。 识别与第一组密钥相关联的至少第一组行标识符(“RID”)和与第二组密钥相关联的至少第二组RID。 对第一和​​第二组RID执行操作以识别RID的交叉集合。 然后存储相交的RID集合。

    QUERY EXECUTION PLAN EFFICIENCY IN A DATABASE MANAGEMENT SYSTEM
    7.
    发明申请
    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。

    Apparatus, system, and method for ensuring query execution plan stability in a database management system
    8.
    发明授权
    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
    10.
    发明申请
    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。