Executing nested subqueries of parallel table functions in the parallel single cursor model
    1.
    发明授权
    Executing nested subqueries of parallel table functions in the parallel single cursor model 有权
    在并行单光标模型中执行并行表函数的嵌套子查询

    公开(公告)号:US07451133B2

    公开(公告)日:2008-11-11

    申请号:US10930433

    申请日:2004-08-30

    IPC分类号: G06F7/00 G06F17/30

    摘要: Techniques are provided for processing a database statement that includes a table function capable of parallel execution, where the input of the table function is specified in a subquery. During compilation of the database statement, a global cursor is generated for the database statement. The global cursor includes a first plan component for executing the table function and a second plan component for generating input for the table function. A “dummy” cursor is then generated. When slaves execute the table function, they call the dummy cursor for input. When a slave calls the dummy cursor for input, the dummy cursor causes a context switch back to the global cursor, so that the second plan component within the first cursor generates the input for the slave.

    摘要翻译: 提供了用于处理数据库语句的技术,该数据库语句包括能够并行执行的表函数,其中在子查询中指定了表函数的输入。 在编译数据库语句时,会为数据库语句生成一个全局游标。 全局光标包括用于执行表功能的第一计划组件和用于生成表功能的输入的第二计划组件。 然后生成“虚拟”光标。 当从站执行表功能时,它们调用虚拟光标进行输入。 当从机调用虚拟光标进行输入时,虚拟光标会使上下文切换回全局光标,以便第一个光标中的第二个计划组件生成从属设备的输入。

    Executing nested subqueries of parallel table functions in the parallel single cursor model
    2.
    发明申请
    Executing nested subqueries of parallel table functions in the parallel single cursor model 有权
    在并行单光标模型中执行并行表函数的嵌套子查询

    公开(公告)号:US20050131880A1

    公开(公告)日:2005-06-16

    申请号:US10930433

    申请日:2004-08-30

    IPC分类号: G06F7/00

    摘要: Techniques are provided for processing a database statement that includes a table function capable of parallel execution, where the input of the table function is specified in a subquery. During compilation of the database statement, a global cursor is generated for the database statement. The global cursor includes a first plan component for executing the table function and a second plan component for generating input for the table function. A “dummy” cursor is then generated. When slaves execute the table function, they call the dummy cursor for input. When a slave calls the dummy cursor for input, the dummy cursor causes a context switch back to the global cursor, so that the second plan component within the first cursor generates the input for the slave.

    摘要翻译: 提供了用于处理数据库语句的技术,该数据库语句包括能够并行执行的表函数,其中在子查询中指定了表函数的输入。 在编译数据库语句时,会为数据库语句生成一个全局游标。 全局光标包括用于执行表功能的第一计划组件和用于生成表功能的输入的第二计划组件。 然后生成“虚拟”光标。 当从站执行表功能时,它们调用虚拟光标进行输入。 当从机调用虚拟光标进行输入时,虚拟光标会使上下文切换回全局光标,以便第一个光标中的第二个计划组件生成从属设备的输入。

    Query duration types
    3.
    发明申请
    Query duration types 有权
    查询持续时间类型

    公开(公告)号:US20050154714A1

    公开(公告)日:2005-07-14

    申请号:US10767501

    申请日:2004-01-29

    IPC分类号: G06F17/30

    摘要: A request to execute a query is received in a database system. In response, the database system determines that a collection of data elements to be returned by the query corresponds to a first data structure not defined within a type dictionary of the database system. The database system obtains attribute values that describe respective data fields within the first data structure, and records, within the type dictionary, a first data type definition that specifies the data fields described by the attribute values.

    摘要翻译: 在数据库系统中接收到执行查询的请求。 作为响应,数据库系统确定要由查询返回的数据元素的集合对应于在数据库系统的类型字典内未定义的第一数据结构。 数据库系统获得描述第一数据结构内的相应数据字段的属性值,并在类型字典内记录指定由属性值描述的数据字段的第一数据类型定义。

    Partitioning of nested tables
    4.
    发明申请
    Partitioning of nested tables 有权
    嵌套表的分区

    公开(公告)号:US20080201296A1

    公开(公告)日:2008-08-21

    申请号:US11707735

    申请日:2007-02-16

    IPC分类号: G06F17/30

    CPC分类号: G06F17/30486 G06F17/30312

    摘要: Techniques for partitioning nested tables are provided. A parent table includes a column for collection items. A nested table is created for storing items that belong to the collection items. The nested table is partitioned to create a plurality of nested table partitions. Each nested table partition is a distinct, separately stored structure within a database. How the nested table is partitioned may, or may not, be based on how the parent table is partitioned. For example, a nested table may be partitioned based on the same criteria in which the parent table is partitioned. As another example, a nested table may be partitioned, whereas the parent table is not partitioned.

    摘要翻译: 提供分区嵌套表的技术。 父表包括收集项列。 创建嵌套表用于存储属于集合项目的项目。 嵌套表被分区以创建多个嵌套表分区。 每个嵌套表分区是一个不同的,单独存储的数据库结构。 嵌套表的分区方式可能是,也可能不是基于父表的分区方式。 例如,嵌套表可以根据父表进行分区的相同标准进行分区。 作为另一示例,嵌套表可以被分区,而父表不被分区。

    TECHNIQUES FOR EFFICIENT QUERIES ON A FILE SYSTEM-LIKE REPOSITORY
    5.
    发明申请
    TECHNIQUES FOR EFFICIENT QUERIES ON A FILE SYSTEM-LIKE REPOSITORY 有权
    对文件系统类似报告的有效查询的技术

    公开(公告)号:US20110119283A1

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

    申请号:US12618356

    申请日:2009-11-13

    IPC分类号: G06F17/30

    CPC分类号: G06F17/30471 G06F17/30477

    摘要: Techniques are provided to achieve performance improvements for path-based access to hierarchical data and for utilizing an extensible indexing framework. Extensible operators may be optimized by evaluating the operators using functions native to the database system instead of using functions defined through an extensible indexing mechanism. Furthermore, the database system may resolve a resource path of a query when the query is compiled, and may store the mapping of the resource path to one or more resources in a cursor for the query execution plan to avoid resolving the resource path each time the cursor is used to run the query. The cursor may be made dependent on the one or more resources to which the resource path refers at compile time. This takes advantage of the observation that the mapping of the resource path to particular resources rarely changes between evaluations of a particular query.

    摘要翻译: 提供了技术来实现基于路径的分层数据访问和利用可扩展索引框架的性能改进。 可以通过使用本机对数据库系统的功能来评估操作员而不是使用通过可扩展索引机制定义的功能来优化可扩展运算符。 此外,当查询被编译时,数据库系统可以解析查询的资源路径,并且可以将资源路径的映射存储到用于查询执行计划的游标中的一个或多个资源,以避免在每次 游标用于运行查询。 光标可以依赖于在编译时资源路径所指的一个或多个资源。 这充分利用了对特定查询的评估之间的资源路径映射到特定资源的观察很少。

    Dynamic return type generation in a database system
    6.
    发明申请
    Dynamic return type generation in a database system 有权
    数据库系统中的动态返回类型生成

    公开(公告)号:US20050154715A1

    公开(公告)日:2005-07-14

    申请号:US10767512

    申请日:2004-01-29

    IPC分类号: G06F7/00 G06F17/30

    摘要: Dynamic return type generation in a database system. A request is received to execute a first function. A second function is executed if the first function is defined to return data in a first type of data structure. When executed, the second function returns formatting information that indicates an arrangement of fields of data within the first type of data structure. The first function is executed to obtain a collection of data formatted according to the first type of data structure, and the collection of data is organized according to the formatting information returned by the second function.

    摘要翻译: 数据库系统中的动态返回类型生成。 接收到执行第一功能的请求。 如果第一个函数定义为返回第一类数据结构中的数据,则执行第二个函数。 当执行时,第二功能返回指示第一类型的数据结构内的数据的排列的格式化信息。 执行第一功能以获得根据第一类型的数据结构格式化的数据的集合,并且根据由第二功能返回的格式化信息来组织数据的收集。

    Techniques for efficient queries on a file system-like repository

    公开(公告)号:US09043308B2

    公开(公告)日:2015-05-26

    申请号:US13351448

    申请日:2012-01-17

    IPC分类号: G06F7/00 G06F17/30

    CPC分类号: G06F17/30471 G06F17/30477

    摘要: Techniques are provided to achieve performance improvements for path-based access to hierarchical data and for utilizing an extensible indexing framework. Extensible operators may be optimized by evaluating the operators using functions native to the database system instead of using functions defined through an extensible indexing mechanism. Furthermore, the database system may resolve a resource path of a query when the query is compiled, and may store the mapping of the resource path to one or more resources in a cursor for the query execution plan to avoid resolving the resource path each time the cursor is used to run the query. The cursor may be made dependent on the one or more resources to which the resource path refers at compile time. This takes advantage of the observation that the mapping of the resource path to particular resources rarely changes between evaluations of a particular query.

    Techniques For Efficient Queries On A File System-Like Repository
    8.
    发明申请
    Techniques For Efficient Queries On A File System-Like Repository 有权
    用于文件系统的存储库上的高效查询的技术

    公开(公告)号:US20120150865A1

    公开(公告)日:2012-06-14

    申请号:US13351448

    申请日:2012-01-17

    IPC分类号: G06F17/30

    CPC分类号: G06F17/30471 G06F17/30477

    摘要: Techniques are provided to achieve performance improvements for path-based access to hierarchical data and for utilizing an extensible indexing framework. Extensible operators may be optimized by evaluating the operators using functions native to the database system instead of using functions defined through an extensible indexing mechanism. Furthermore, the database system may resolve a resource path of a query when the query is compiled, and may store the mapping of the resource path to one or more resources in a cursor for the query execution plan to avoid resolving the resource path each time the cursor is used to run the query. The cursor may be made dependent on the one or more resources to which the resource path refers at compile time. This takes advantage of the observation that the mapping of the resource path to particular resources rarely changes between evaluations of a particular query.

    摘要翻译: 提供了技术来实现基于路径的分层数据访问和利用可扩展索引框架的性能改进。 可以通过使用本机对数据库系统的功能来评估操作员而不是使用通过可扩展索引机制定义的功能来优化可扩展运算符。 此外,当查询被编译时,数据库系统可以解析查询的资源路径,并且可以将资源路径的映射存储到用于查询执行计划的游标中的一个或多个资源,以避免在每次 游标用于运行查询。 光标可以依赖于在编译时资源路径所指的一个或多个资源。 这充分利用了对特定查询的评估之间的资源路径映射到特定资源的观察很少。

    Partitioning of nested tables
    9.
    发明授权
    Partitioning of nested tables 有权
    嵌套表的分区

    公开(公告)号:US07756889B2

    公开(公告)日:2010-07-13

    申请号:US11707735

    申请日:2007-02-16

    IPC分类号: G06F7/00

    CPC分类号: G06F17/30486 G06F17/30312

    摘要: Techniques for partitioning nested tables are provided. A parent table includes a column for collection items. A nested table is created for storing items that belong to the collection items. The nested table is partitioned to create a plurality of nested table partitions. Each nested table partition is a distinct, separately stored structure within a database. How the nested table is partitioned may, or may not, be based on how the parent table is partitioned. For example, a nested table may be partitioned based on the same criteria in which the parent table is partitioned. As another example, a nested table may be partitioned, whereas the parent table is not partitioned.

    摘要翻译: 提供分区嵌套表的技术。 父表包括收集项列。 创建嵌套表用于存储属于集合项目的项目。 嵌套表被分区以创建多个嵌套表分区。 每个嵌套表分区是一个不同的,单独存储的数据库结构。 嵌套表的分区方式可能是,也可能不是基于父表的分区方式。 例如,嵌套表可以根据父表进行分区的相同标准进行分区。 作为另一示例,嵌套表可以被分区,而父表不被分区。

    USER DEFINED QUERY REWRITE MECHANISM
    10.
    发明申请
    USER DEFINED QUERY REWRITE MECHANISM 审中-公开
    用户定义的QUERY REWRITE机制

    公开(公告)号:US20090024570A1

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

    申请号:US11781139

    申请日:2007-07-20

    IPC分类号: G06F17/30

    CPC分类号: G06F16/24547

    摘要: A database statement contains a table function. The database statement is compiled by a database statement compiler. The database statement is rewritten by replacing the table function with a replacement database statement.

    摘要翻译: 数据库语句包含一个表函数。 数据库语句由数据库语句编译器编译。 通过用替换数据库语句替换表函数来重写数据库语句。