Document level indexes for efficient processing in multiple tiers of a computer system
    81.
    发明授权
    Document level indexes for efficient processing in multiple tiers of a computer system 有权
    用于计算机系统多层次高效处理的文档级索引

    公开(公告)号:US08762410B2

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

    申请号:US11184301

    申请日:2005-07-18

    IPC分类号: G06F7/00

    CPC分类号: G06F17/30911

    摘要: To improve performance of performing XML operations on an XML document in by a client tier, the client generates an index that indexes the nodes of an XML document. The index may be generated, for example, by and during parsing of the XML document. The index contains similar structures to those maintained by a database server to perform XML operations on collections of XML documents. In lieu of parsing XML document to generate an index, the client may generate indexes based on data retrieved from the indexes at the database server.

    摘要翻译: 为了提高在客户端层对XML文档执行XML操作的性能,客户机生成一个索引,以索引XML文档的节点。 索引可以例如由XML文档解析期间和解析时生成。 该索引包含与由数据库服务器维护的对XML文档集合执行XML操作的类似结构。 代替解析XML文档来生成索引,客户端可以基于从数据库服务器上的索引检索的数据生成索引。

    Mechanism for efficient maintenance of XML index structures in a database system
    82.
    发明授权
    Mechanism for efficient maintenance of XML index structures in a database system 有权
    在数据库系统中有效维护XML索引结构的机制

    公开(公告)号:US08566300B2

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

    申请号:US11286873

    申请日:2005-11-22

    IPC分类号: G06F17/30

    摘要: A method and apparatus for efficiently maintaining XML index structures in a database system is provided. Instead of immediately synchronizing the XML index structures for every change submitted to the database, the changes are stored in a PENDING table. The XML index structures are periodically synchronized, based on certain criteria or at a user's discretion. Between synchronizations, the XML index structures may be in stale mode or current mode. If in stale mode, a request to access indexed information will use the XML index structures to find the desired indexed information without checking the PENDING table. If in current mode, a request to access indexed information will search the XML index structures and also check the PENDING table to determine 1) whether the indexed information has been updated or deleted, and 2) whether information relevant to the request has been inserted or updated.

    摘要翻译: 提供了一种用于在数据库系统中有效维护XML索引结构的方法和装置。 为了提交给数据库的每个更改立即同步XML索引结构,更改将存储在PENDING表中。 XML索引结构根据某些标准或用户自行决定定期同步。 在同步之间,XML索引结构可能处于陈旧模式或当前模式。 如果在陈旧模式下,访问索引信息的请求将使用XML索引结构来查找所需的索引信息,而不检查PENDING表。 如果在当前模式下,访问索引信息的请求将搜索XML索引结构,并检查PENDING表以确定1)索引信息是否被更新或删除,以及2)是否已经插入与该请求相关的信息, 更新。

    Cost-based optimizer for an XML data repository within a database
    83.
    发明授权
    Cost-based optimizer for an XML data repository within a database 有权
    数据库中XML数据存储库的基于成本的优化器

    公开(公告)号:US07930277B2

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

    申请号:US10830211

    申请日:2004-04-21

    IPC分类号: G06F7/00 G06F17/00

    CPC分类号: G06F17/30935

    摘要: Cost-based optimizer functionality for an XML database repository provides means for optimizing the execution of database queries that access XML resources in the database repository. Statistics about XML resources that are stored in the database repository are gathered, stored and utilized by a query optimizer to compute computational costs associated with each of multiple methods of accessing particular XML resources requested in a database query. Hence, the optimizer is able to select the most efficient query execution plan based on the costs of possible access paths. In one embodiment, specific statistics about the hierarchical structure of XML resources stored in the XML database repository are gathered, stored in a relational table in the database management system, and used to compute the selectivity of query predicates and the index cost associated with traversing one or more indexes to access requested XML resources.

    摘要翻译: 用于XML数据库的基于成本的优化器功能提供了优化访问数据库存储库中的XML资源的数据库查询的执行的方法。 存储在数据库存储库中的关于XML资源的统计信息由查询优化器收集,存储和使用,以计算与访问数据库查询中请求的特定XML资源的多种方法中的每一种相关联的计算成本。 因此,优化器能够基于可能的访问路径的成本来选择最有效的查询执行计划。 在一个实施例中,收集存储在XML数据库存储库中的XML资源的层次结构的具体统计信息,存储在数据库管理系统中的关系表中,并用于计算查询谓词的选择性和与遍历一个相关联的索引成本 或更多的索引来访问所请求的XML资源。

    Method and mechanism for efficient storage and query of XML documents based on paths
    85.
    发明授权
    Method and mechanism for efficient storage and query of XML documents based on paths 有权
    基于路径高效存储和查询XML文档的方法和机制

    公开(公告)号:US07478100B2

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

    申请号:US10763355

    申请日:2004-01-23

    IPC分类号: G06F17/30

    CPC分类号: G06F17/30914

    摘要: A method, mechanism, and computer program product for storing, accessing, and managing XML data is disclosed. The approach supports efficient evaluation of XPath queries and also improves the performance of data/fragment extraction. The approach can be applied to schema-less documents. The approach is applicable to all database systems and other servers which support storing and managing XML content. In addition, the approach can be applied to store, manage, and retrieve other types of unstructured or semi-structured data in a database system.

    摘要翻译: 公开了一种用于存储,访问和管理XML数据的方法,机制和计算机程序产品。 该方法支持对XPath查询的高效评估,并且还提高了数据/片段提取的性能。 该方法可以应用于无模式文档。 该方法适用于支持存储和管理XML内容的所有数据库系统和其他服务器。 此外,该方法可以应用于在数据库系统中存储,管理和检索其他类型的非结构化或半结构化数据。

    Efficient query processing of XML data using XML index
    86.
    发明授权
    Efficient query processing of XML data using XML index 有权
    使用XML索引对XML数据进行高效查询处理

    公开(公告)号:US07398265B2

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

    申请号:US10944170

    申请日:2004-09-16

    IPC分类号: G06F17/30

    摘要: A method and apparatus is provided for translating queries, such as path expressions and SQL/XML constructs, into SQL statements to be executed against an XML index, which improves processor time as opposed to applying path expressions directly to the original XML documents to extract the desired information. Simple path expressions, filter expressions, descendant axes, wildcards, logical expressions, relational expressions, literals, and other path expressions are all translated into SQL for efficient querying of an XML index. Similarly, rules for translating SQL/XML constructs into SQL are provided.

    摘要翻译: 提供了一种方法和装置,用于将诸如路径表达式和SQL / XML结构之类的查询转换为针对XML索引执行的SQL语句,这样可以提高处理器时间,而不是将路径表达式直接应用于原始XML文档来提取 所需信息。 简单的路径表达式,过滤器表达式,后代轴,通配符,逻辑表达式,关系表达式,文字和其他路径表达式都被转换为SQL,以便有效地查询XML索引。 同样,提供了将SQL / XML结构转换为SQL的规则。

    Mechanism to efficiently index structured data that provides hierarchical access in a relational database system
    87.
    发明授权
    Mechanism to efficiently index structured data that provides hierarchical access in a relational database system 有权
    在关系数据库系统中有效地索引提供分层访问的结构化数据的机制

    公开(公告)号:US07366708B2

    公开(公告)日:2008-04-29

    申请号:US10260381

    申请日:2002-09-27

    IPC分类号: G06F7/00 G06F17/30

    摘要: Described is a hierarchical index that captures the hierarchical relationship of a hierarchy emulated by a relational database system. The hierarchical index is implemented, using a database table which contains rows that serve as entries of the hierarchical index. Another table has rows that are associated with nodes in the hierarchy. Each entry in the hierarchal index maps to a row that corresponds to a node in the hierarchy. A node in the hierarchy may be a parent node with one or more child nodes. In this case, the corresponding entry in the hierarchical index contains identifiers which identify other entries in the index, where the other entries correspond to rows associated with child nodes of the parent node.

    摘要翻译: 描述了一种层次索引,其捕获由关系数据库系统模拟的层次结构的层次关系。 使用包含用作层次索引条目的行的数据库表来实现层次索引。 另一个表具有与层次结构中的节点相关联的行。 层级索引中的每个条目映射到与层次结构中的节点对应的行。 层次结构中的节点可以是具有一个或多个子节点的父节点。 在这种情况下,分层索引中的相应条目包含标识索引中的其他条目的标识符,其中条目对应于与父节点的子节点相关联的行。

    Streaming validation of XML documents
    88.
    发明申请
    Streaming validation of XML documents 有权
    XML文档的流验证

    公开(公告)号:US20070250766A1

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

    申请号:US11407508

    申请日:2006-04-19

    IPC分类号: G06F15/00

    摘要: A method and apparatus for streaming validation of XML documents is provided. A particular event of a series of events is received. The series of events is generated as an XML document is parsed by a parser, and the received particular event indicates that the parser has encountered a particular part of the XML document. The particular part of the XML document indicated by the particular event is then received. A current validation state for the XML document is determined. The current validation state, which is one of a plurality of validation states for the XML document, indicates a validation type associated with the particular part of the XML document. Based on at least the current validation state, the particular part of the XML document is validated against an XML schema that defines the structure of the XML document.

    摘要翻译: 提供了一种用于XML文档的流验证的方法和装置。 收到一系列事件的特定事件。 一系列事件是由解析器解析为XML文档而生成的,并且接收的特定事件指示解析器遇到了XML文档的特定部分。 然后接收由特定事件指示的XML文档的特定部分。 确定XML文档的当前验证状态。 作为XML文档的多个验证状态之一的当前验证状态指示与XML文档的特定部分相关联的验证类型。 至少基于当前的验证状态,XML文档的特定部分将针对定义XML文档结构的XML模式进行验证。

    Document level indexes for efficient processing in multiple tiers of a computer system
    89.
    发明申请
    Document level indexes for efficient processing in multiple tiers of a computer system 有权
    用于计算机系统多层次高效处理的文档级索引

    公开(公告)号:US20070016604A1

    公开(公告)日:2007-01-18

    申请号:US11184301

    申请日:2005-07-18

    IPC分类号: G06F7/00

    CPC分类号: G06F17/30911

    摘要: To improve performance of performing XML operations on an XML document in by a client tier, the client generates an index that indexes the nodes of an XML document. The index may be generated, for example, by and during parsing of the XML document. The index contains similar structures to those maintained by a database server to perform XML operations on collections of XML documents. In lieu of parsing XML document to generate an index, the client may generate indexes based on data retrieved from the indexes at the database server.

    摘要翻译: 为了提高在客户端层对XML文档执行XML操作的性能,客户机生成一个索引,以索引XML文档的节点。 索引可以例如由XML文档解析期间和解析时生成。 该索引包含与由数据库服务器维护的对XML文档集合执行XML操作的类似结构。 代替解析XML文档来生成索引,客户端可以基于从数据库服务器上的索引检索的数据生成索引。