Document level indexes for efficient processing in multiple tiers of a computer system
    41.
    发明授权
    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
    42.
    发明授权
    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)是否已经插入与该请求相关的信息, 更新。

    Performing an action in response to a file system event
    43.
    发明授权
    Performing an action in response to a file system event 有权
    执行响应文件系统事件的操作

    公开(公告)号:US08176007B2

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

    申请号:US13026131

    申请日:2011-02-11

    IPC分类号: G06F7/00

    CPC分类号: G06F17/30067 G06F9/542

    摘要: A method and apparatus for performing an action in response to a file system event is provided. According to one aspect, sets of “event listeners” are associated with a file hierarchy and/or the nodes thereof. Each event listener contains a set of “event handlers.” Each event handler corresponds to a separate type of event that may occur relative to the file hierarchy's nodes. When an event is going to occur relative to the hierarchy or a node thereof, all event listeners that are associated with that hierarchy/node are inspected to determine whether those event listeners contain any event handlers that correspond to the event's type. Those event handlers that correspond to the event's type are placed in an ordered list of event handlers to be invoked. As the event handlers in the list are invoked, programmatic mechanisms that correspond to those event handlers are executed to perform customized user-specified actions.

    摘要翻译: 提供了一种用于响应于文件系统事件执行动作的方法和装置。 根据一个方面,“事件监听器”的集合与文件层级和/或其节点相关联。 每个事件监听器包含一组“事件处理程序”。每个事件处理程序对应于可能相对于文件层次结构节点发生的单独的事件类型。 当相对于层级或其节点将发生事件时,检查与该层级/节点相关联的所有事件监听器,以确定这些事件监听器是否包含与事件类型相对应的任何事件处理程序。 与事件类型相对应的事件处理程序被放置在要调用的事件处理程序的有序列表中。 在列表中的事件处理程序被调用时,执行与那些事件处理程序相对应的程序化机制来执行定制的用户指定的操作。

    Cost-based optimizer for an XML data repository within a database
    45.
    发明授权
    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资源。

    Performing an action in response to a file system event
    46.
    发明授权
    Performing an action in response to a file system event 有权
    执行响应文件系统事件的操作

    公开(公告)号:US07921076B2

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

    申请号:US11014502

    申请日:2004-12-15

    IPC分类号: G06F7/00

    CPC分类号: G06F17/30067 G06F9/542

    摘要: A method and apparatus for performing an action in response to a file system event is provided. According to one aspect, sets of “event listeners” are associated with a file hierarchy and/or the nodes thereof. Each event listener contains a set of “event handlers.” Each event handler corresponds to a separate type of event that may occur relative to the file hierarchy's nodes. When an event is going to occur relative to the hierarchy or a node thereof, all event listeners that are associated with that hierarchy/node are inspected to determine whether those event listeners contain any event handlers that correspond to the event's type. Those event handlers that correspond to the event's type are placed in an ordered list of event handlers to be invoked. As the event handlers in the list are invoked, programmatic mechanisms that correspond to those event handlers are executed to perform customized user-specified actions.

    摘要翻译: 提供了一种用于响应于文件系统事件执行动作的方法和装置。 根据一个方面,“事件监听器”的集合与文件层级和/或其节点相关联。 每个事件监听器包含一组“事件处理程序”。每个事件处理程序对应于可能相对于文件层次结构节点发生的单独的事件类型。 当相对于层级或其节点将发生事件时,检查与该层级/节点相关联的所有事件监听器,以确定这些事件监听器是否包含与事件类型相对应的任何事件处理程序。 与事件类型相对应的事件处理程序被放置在要调用的事件处理程序的有序列表中。 在列表中的事件处理程序被调用时,执行与那些事件处理程序相对应的程序化机制来执行定制的用户指定的操作。

    Mechanism for improving performance on XML over XML data using path subsetting
    47.
    发明授权
    Mechanism for improving performance on XML over XML data using path subsetting 有权
    使用路径子集提高XML数据的性能的机制

    公开(公告)号:US07885980B2

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

    申请号:US11401613

    申请日:2006-04-10

    IPC分类号: G06F17/30

    CPC分类号: G06F17/30938 G06F17/30321

    摘要: Techniques are provided for indexing XML documents using path subsetting. According to one embodiment, a PATH table created for storing one row for each indexed node of the XML documents using user-defined criteria. The user-defined criteria are used to determine which nodes of XML documents to included in The PATH TABLE. The PATH table row for a node includes (1) information for locating the XML document that contains the node, (2) information that identifies the path of the node, and (3) information that identifies the position of the node within the hierarchical structure of the XML document that contains the node. Use of the user defined criteria is transparent to any query improves DML indexes overhead costs.

    摘要翻译: 提供了使用路径子集对XML文档进行索引的技术。 根据一个实施例,创建用于使用用户定义的标准为XML文档的每个索引节点存储一行的PATH表。 用户定义的标准用于确定要包含在PATH TABLE中的XML文档的哪些节点。 节点的PATH表行包括(1)用于定位包含节点的XML文档的信息,(2)标识节点路径的信息,以及(3)标识分层结构中节点位置的信息 的包含节点的XML文档。 使用用户定义的条件对任何查询都是透明的,改善了DML索引的开销成本。

    Implementation of backward compatible XML schema evolution in a relational database system
    48.
    发明授权
    Implementation of backward compatible XML schema evolution in a relational database system 有权
    在关系数据库系统中实现向后兼容的XML模式演进

    公开(公告)号:US07870163B2

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

    申请号:US11540341

    申请日:2006-09-28

    IPC分类号: G06F17/30

    CPC分类号: G06F17/2247

    摘要: In-place XML schema evolution occurs by evaluating an existing XML schema in a database system to see if it is compatible with a new XML schema. To determine if the old schema is compatible with the new schema, a lock-step traversal is performed on the two schemas. Each instruction in the old schema is compared to instructions in the new schema. Detected differences between the two schemas are evaluated to determine if existing XML documents are still compatible with the new schema. If they are, then an in-place schema evolution operation can take place. The in-place schema operation basically, involves appending the updated object information to the underlying object type and preserving the order of elements in a document by storing element mapping information on disk.

    摘要翻译: 通过评估数据库系统中的现有XML模式来查看是否与新的XML模式兼容,就会发生就地XML模式演进。 为了确定旧模式是否与新模式兼容,在两个模式上执行锁步遍历。 将旧模式中的每个指令与新模式中的指令进行比较。 对两个模式之间的检测差异进行评估,以确定现有XML文档是否仍然与新模式兼容。 如果它们是,则可以进行就地模式演进操作。 就地模式操作基本上包括将更新的对象信息附加到底层对象类型,并通过在盘上存储元素映射信息来保留文档中元素的顺序。

    Techniques for performing file operations involving a link at a database management system
    50.
    发明授权
    Techniques for performing file operations involving a link at a database management system 有权
    用于执行涉及数据库管理系统中的链接的文件操作的技术

    公开(公告)号:US07610304B2

    公开(公告)日:2009-10-27

    申请号:US11294894

    申请日:2005-12-05

    IPC分类号: G06F17/30 G06F15/16

    摘要: A method and apparatus for performing file system operations involving a link is provided. A request to perform a file system operation involving a link is received from a client at a database server. The link may establish a relationship a source resource has to a target resource. The source resource and the target resource may be stored within a repository implemented by a storage medium, such as a database. The database server may perform the file system operation by storing, in the database, one or more link records that identifies the link between the first resource and the second resource. File system operations, such as a NFS file system operation, which involve links may be performed at a database management system.

    摘要翻译: 提供一种用于执行涉及链接的文件系统操作的方法和装置。 从数据库服务器的客户端接收到执行涉及链接的文件系统操作的请求。 该链接可以建立源资源与目标资源的关系。 源资源和目标资源可以存储在由诸如数据库的存储介质实现的存储库中。 数据库服务器可以通过在数据库中存储标识第一资源和第二资源之间的链接的一个或多个链接记录来执行文件系统操作。 可以在数据库管理系统中执行涉及链接的诸如NFS文件系统操作的文件系统操作。