Parallel population of an XML index
    112.
    发明申请
    Parallel population of an XML index 有权
    XML索引的并行总体

    公开(公告)号:US20070299811A1

    公开(公告)日:2007-12-27

    申请号:US11472837

    申请日:2006-06-21

    IPC分类号: G06F17/30

    摘要: Populating an XML index is parallelized, providing both inter-document and intra-document parallelism, by using multiple pull-type parser processes to parse respective XML documents in parallel and to call respective ‘instances’ of the function that generates the index entries based on parsed XML node information. The function is configured to operate according to a cursor-type interface model, whereby each function instance can operate on one node at a time in a controlled pull manner rather than in an uncontrolled streaming manner. Hence, the index load procedure flow can be in the control of an application or routine, via the pull parsers, rather than in the control of a serial stream-based parser.

    摘要翻译: 通过使用多个拉类型解析器进程并行解析相应的XML文档并调用基于生成索引条目的函数的相应“实例”,来填充XML索引并行化,提供文档间和文档内并行性 解析XML节点信息。 该功能被配置为根据光标类型接口模型进行操作,由此每个功能实例可以以受控的拉动方式而不是以不受控制的流式方式一次在一个节点上操作。 因此,索引加载过程流程可以通过拉式解析器控制应用程序或例程,而不是控制基于串行流的解析器。

    Mechanism for abridged indexes over XML document collections
    113.
    发明申请
    Mechanism for abridged indexes over XML document collections 审中-公开
    XML文档集合中缩略索引的机制

    公开(公告)号:US20070250527A1

    公开(公告)日:2007-10-25

    申请号:US11407663

    申请日:2006-04-19

    IPC分类号: G06F7/00

    CPC分类号: G06F16/83

    摘要: Techniques are provided for indexing XML documents using abridged indexes. According to one embodiment, a value index is created for each node of an XML documents as specified by one or more criteria. The criteria are used to determine one or more paths of XML documents. For each path specified, a abridged index is created and maintained. When processing a query in a DBMS that utilizes abridged indexes the abridged indexes are used instead the XML index, provided the abridged index can satisfy the query. Use of the abridged indexes improves the efficiency of XPath queries performance.

    摘要翻译: 提供了使用缩略索引对XML文档进行索引的技术。 根据一个实施例,为由一个或多个标准指定的XML文档的每个节点创建值索引。 这些标准用于确定XML文档的一个或多个路径。 对于指定的每个路径,创建并维护一个缩略索引。 当在使用节点索引的DBMS中处理查询时,使用缩略索引代替XML索引,前提是缩略索引可以满足查询。 使用简化的索引可以提高XPath查询性能的效率。

    Direct loading of opaque types
    114.
    发明申请
    Direct loading of opaque types 有权
    直接加载不透明类型

    公开(公告)号:US20050050058A1

    公开(公告)日:2005-03-03

    申请号:US10648577

    申请日:2003-08-25

    IPC分类号: G06F7/00 G06F17/30

    CPC分类号: G06F17/30286

    摘要: Techniques and systems are disclosed for storing instances of an opaque type in a database according to a direct path loading approach. According to one aspect, an opaque type implementor registers, with a loader application, routines that the opaque type implementor implements. In response, the loader application associates the opaque type with the routines. The loader application reads data that comprises instances of the opaque type. The loader application determines which routines are associated with the opaque type. The loader application invokes the routines, which create an array for storing instances of the opaque type and populate the array with values specified in the data. The loader application converts the array into a data stream that conforms to the format of the database's data blocks. The loader application then streams the data to a database server, which writes the data directly into data blocks in the database.

    摘要翻译: 公开了根据直接路径加载方法在数据库中存储不透明类型的实例的技术和系统。 根据一个方面,不透明类型的实现者使用加载器应用程序来注册不透明类型实现者实现的例程。 作为响应,加载程序应用程序将不透明类型与例程相关联。 加载程序应用程序读取包含不透明类型实例的数据。 加载程序应用程序确定哪些程序与不透明类型相关联。 加载程序应用程序调用例程,它创建一个数组来存储不透明类型的实例,并使用数据中指定的值填充数组。 加载程序应用程序将阵列转换为符合数据库数据块格式的数据流。 然后,加载器应用程序将数据流传输到数据库服务器,数据库服务器将数据直接写入数据库中的数据块。

    Method and system for improving response time of a query for a partitioned database object
    115.
    发明授权
    Method and system for improving response time of a query for a partitioned database object 有权
    用于改进对分区数据库对象的查询的响应时间的方法和系统

    公开(公告)号:US06795817B2

    公开(公告)日:2004-09-21

    申请号:US09872670

    申请日:2001-05-31

    IPC分类号: G06F1730

    摘要: A method and mechanism to improve the response time of a query that is executed against a partitioned database object. Only a subset or portion of the partitions are accessed during each pass through the partitions, in which only the retrieved portions of the partitions are processed, and in which results can be immediately returned for the query. Processing only a subset of a partition in a given pass permits each partition to be processed multiple times, rather than requiring a first partition to be entirely processed before processing a second partition. In one approach, the query includes a statement to order the result set for a query against a partitioned database object that contains a local index.

    摘要翻译: 一种改进针对分区数据库对象执行的查询的响应时间的方法和机制。 在每次通过分区期间只访问分区的子集或部分,其中仅处理所检索的分区的部分,并且可以立即为查询返回哪些结果。 在给定通过中仅处理分区的子集允许每个分区被多次处理,而不是要求在处理第二个分区之前完全处理第一个分区。 在一种方法中,查询包括一个语句,用于针对包含本地索引的分区数据库对象对查询的结果集进行排序。

    Mechanism for sharing ancillary data between a family of related functions
    117.
    发明授权
    Mechanism for sharing ancillary data between a family of related functions 有权
    在一系列相关功能之间共享辅助数据的机制

    公开(公告)号:US06421666B1

    公开(公告)日:2002-07-16

    申请号:US09436046

    申请日:1999-11-08

    IPC分类号: G06F700

    摘要: A method and apparatus are provided for accessing ancillary data, and for generating and accessing ancillary data more efficiently. Ancillary data is generated during execution of the operator routine of a primary operator. The ancillary data is stored in a shared content and may be accessed through ancillary operators associated with the primary operator. Metadata is used to define a primary operator and ancillary operators associated with the primary operator. A DBMS, for example, receives a statement that includes a primary and at least one of its ancillary operators, and executes routines that implement the primary operator and the ancillary operator. During execution of the routine the implements the primary operator, ancillary data is generated and stored in shared content. During the execution of the routine that implements the ancillary operator, the ancillary data is retrieved from the shared content and is used. This mechanism enables efficient execution of a family of related functions over all the records in a dataset. The sharing of context avoids redundant computation and enables use of ancillary data.

    摘要翻译: 提供了一种用于访问辅助数据以及更有效地生成和访问辅助数据的方法和装置。 在主操作员的操作员程序的执行期间生成辅助数据。 辅助数据存储在共享内容中,并且可以通过与主操作符相关联的辅助运算符来访问。 元数据用于定义与主运营商关联的主运营商和辅助运营商。 例如,DBMS接收包含主要和至少其中一个辅助运算符的语句,并执行实现主操作符和辅助运算符的例程。 在执行例程期间,实现主操作员,辅助数据生成并存储在共享内容中。 在执行辅助运算符的例程执行期间,辅助数据从共享内容中检索并被使用。 该机制使得能够在数据集中的所有记录上有效地执行相关功能的一系列。上下文的共享避免了冗余计算,并且能够使用辅助数据。

    In-place evolution of XML schemes
    119.
    发明授权
    In-place evolution of XML schemes 有权
    XML模式的就地演进

    公开(公告)号:US08219569B2

    公开(公告)日:2012-07-10

    申请号:US10648749

    申请日:2003-08-25

    IPC分类号: G06F7/00 G06F17/30

    CPC分类号: G06F17/30297 G06F17/30908

    摘要: A method and system for the in-place evolution of XML schemas is disclosed. To automatically evolve an existing XML schema, a schema evolver receives both an existing XML schema and an XML document as input. The XML document indicates changes to be made to the existing XML schema. Based on the existing XML schema and the XML document, the schema evolver evolves the existing XML schema into a new XML schema that incorporates the changes indicated in the XML document. According to one aspect, the schema evolver generates one or more SQL statements based on the new XML schema. The SQL statements, when executed by a database server, cause the database server to evolve database structures that were based on the formerly existing XML schema so that the database structures conform to the new XML schema. This is accomplished “in place,” without copying the data in the database structures.

    摘要翻译: 公开了一种用于XML模式的就地演化的方法和系统。 为了自动演进现有的XML模式,模式演进器接收现有的XML模式和XML文档作为输入。 XML文档指示对现有XML模式进行的更改。 基于现有的XML架构和XML文档,架构演进者将现有的XML架构演变为新的XML架构,其中包含XML文档中指示的更改。 根据一个方面,模式演进者基于新的XML模式生成一个或多个SQL语句。 SQL语句在由数据库服务器执行时,会导致数据库服务器发展基于以前存在的XML模式的数据库结构,以便数据库结构符合新的XML模式。 这完成了“到位”,而不复制数据库结构中的数据。

    Streaming XML patch
    120.
    发明授权
    Streaming XML patch 有权
    流式XML补丁

    公开(公告)号:US08082493B2

    公开(公告)日:2011-12-20

    申请号:US11401609

    申请日:2006-04-10

    IPC分类号: G06F17/27

    CPC分类号: G06F17/2247 G06F17/2211

    摘要: A technique for differencing XML documents is provided. An edit graph is generated for computing the cost of possible edits that may be applied to a first XML document in order to generate a second XML document. A hash value is assigned to nodes included in the axes of the edit graph, where one axis includes nodes in the first XML document and the other axis includes nodes in the second XML document. The hash value may be generated based on a particular node's name and attributes, and the hash value of the name and attributes of each child node of the particular node. A technique for patching an XML document is also provided. Events are generated for each node in the input document and for at least one operation specified in the edit script. The edit script is applied to the input document by performing one or more operations specified in the operation events on one or more node events.

    摘要翻译: 提供了一种差异XML文档的技术。 生成编辑图形,用于计算可能应用于第一XML文档以生成第二XML文档的可能编辑的成本。 将哈希值分配给包含在编辑图形的轴中的节点,其中一个轴包括第一个XML文档中的节点,另一个轴包含第二个XML文档中的节点。 可以基于特定节点的名称和属性以及特定节点的每个子节点的名称和属性的哈希值来生成哈希值。 还提供了一种用于修补XML文档的技术。 为输入文档中的每个节点和编辑脚本中指定的至少一个操作生成事件。 编辑脚本通过执行一个或多个节点事件上的操作事件中指定的一个或多个操作来应用于输入文档。