Efficient path-based operations while searching across versions in a repository
    51.
    发明授权
    Efficient path-based operations while searching across versions in a repository 有权
    高效的基于路径的操作,同时在存储库中的版本中进行搜索

    公开(公告)号:US08015165B2

    公开(公告)日:2011-09-06

    申请号:US11304414

    申请日:2005-12-14

    IPC分类号: G06F17/30

    CPC分类号: G06F17/30235 G06F17/30533

    摘要: A technique and mechanism for efficiently searching across multiple versions of a resource is provided. New operators are provided that take into account the versions of a particular resource. The query engine evaluates the new operators using either an index-based approach or a functional approach. Under an index-based implementation, a hierarchical index is traversed to find a particular resource (or resources) associated with a specified path and the version history identifier associated with the particular resource(s). A version history table containing references to all versions of the particular resource(s) are then obtained. Under the functional implementation, a link table, which contains all paths in a user's workspace, is examined to determine whether the version history identifier of a particular resource matches a version history identifier of a resource specified in the link table and whether the path to the resource in the link table is related to the path specified.

    摘要翻译: 提供了一种有效地搜索资源的多个版本的技术和机制。 提供了新的运算符,以考虑特定资源的版本。 查询引擎使用基于索引的方法或功能方法来评估新的运算符。 在基于索引的实现下,遍历分层索引以找到与指定路径相关联的特定资源(或资源)以及与特定资源相关联的版本历史标识符。 然后获得包含对特定资源的所有版本的引用的版本历史表。 在功能实现下,检查包含用户工作区中的所有路径的链接表,以确定特定资源的版本历史标识符是否与链接表中指定的资源的版本历史标识符是否匹配, 链接表中的资源与指定的路径相关。

    EFFICIENT FILE ACCESS IN A LARGE REPOSITORY USING A TWO-LEVEL CACHE
    52.
    发明申请
    EFFICIENT FILE ACCESS IN A LARGE REPOSITORY USING A TWO-LEVEL CACHE 有权
    使用两级高速缓存的大型报表中的高效文件访问

    公开(公告)号:US20110113036A1

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

    申请号:US12615090

    申请日:2009-11-09

    IPC分类号: G06F17/30 G06F12/00 G06F12/08

    摘要: A two-level cache to facilitate resolving resource path expressions for a hierarchy of resources is described, which includes a system-wide shared cache and a session-level cache. The shared cache is organized as a hierarchy of hash tables that mirrors the structure of a repository hierarchy. A particular hash table in a shared cache includes information for the child resources of a particular resource. A database management system that manages a shared cache may control the amount of memory used by the cache by implementing a replacement policy for the cache based on one or more characteristics of the resources in the repository. The session-level cache is a single level cache in which information for target resources of resolved path expressions may be tracked. In the session-level cache, the resource information is associated with the entire path expression of the associated resource.

    摘要翻译: 描述了用于促进解决资源层级的资源路径表达式的两级缓存,其包括系统范围共享高速缓存和会话级缓存。 共享缓存被组织为映射存储库层次结构的散列表的层次结构。 共享缓存中的特定哈希表包括特定资源的子资源的信息。 管理共享高速缓存的数据库管理系统可以基于存储库中的资源的一个或多个特性来实现对高速缓存的替换策略来控制高速缓存所使用的存储器量。 会话级缓存是单级缓存,其中可以跟踪解析的路径表达式的目标资源的信息。 在会话级缓存中,资源信息与相关资源的整个路径表达式相关联。

    Performing an action in response to a file system event
    53.
    发明授权
    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.

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

    Implementation of backward compatible XML schema evolution in a relational database system
    54.
    发明授权
    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文档是否仍然与新模式兼容。 如果它们是,则可以进行就地模式演进操作。 就地模式操作基本上包括将更新的对象信息附加到底层对象类型,并通过在盘上存储元素映射信息来保留文档中元素的顺序。

    Implementation of backward compatible XML schema evolution
    56.
    发明申请
    Implementation of backward compatible XML schema evolution 有权
    实现向后兼容的XML模式演进

    公开(公告)号:US20080082560A1

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

    申请号:US11540341

    申请日:2006-09-28

    IPC分类号: G06F7/00

    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文档是否仍然与新模式兼容。 如果它们是,则可以进行就地模式演进操作。 就地模式操作基本上包括将更新的对象信息附加到底层对象类型,并通过在盘上存储元素映射信息来保留文档中元素的顺序。

    Efficient support for workspace-local queries in a repository that supports file versioning
    57.
    发明申请
    Efficient support for workspace-local queries in a repository that supports file versioning 有权
    在支持文件版本控制的存储库中高效支持工作区本地查询

    公开(公告)号:US20070150525A1

    公开(公告)日:2007-06-28

    申请号:US11316803

    申请日:2005-12-22

    IPC分类号: G06F17/30

    CPC分类号: G06F17/3023 Y10S707/99954

    摘要: Evaluation of workspace-local queries on a repository that supports versioning is enabled by tracking which versions of resources that are stored in the repository are associated with particular workspaces. A mapping is created and maintained for each workspace and each workspace-enabled table, i.e., a repository table that supports multiple versions of resources in the table. The mapping, such as a bit vector, is indexed by resource identifier. A set bit indicates that a particular resource version that corresponds to the bit is associated with the particular workspace. Therefore, the mapping indicates which rows in the workspace-enabled table are in the particular workspace. Index-based and functional evaluation schemes may utilize the per workspace, per table mapping to evaluate queries on the versioned repository. A new operator (IN_WORKSPACE) is introduced, through which an evaluation routine is invoked to determine whether or not a particular row maps to a particular workspace.

    摘要翻译: 通过跟踪存储在存储库中的哪些版本的资源与特定工作空间相关联,可以对支持版本控制的存储库上的工作区本地查询进行评估。 为每个工作空间和每个启用工作区的表创建和维护映射,即支持表中多个版本资源的存储库表。 诸如位向量的映射由资源标识符索引。 一组位表示与该位相对应的特定资源版本与特定工作空间相关联。 因此,映射指示工作区启用的表中哪些行在特定工作空间中。 基于索引和功能评估方案可以利用每个工作空间,每个表映射来评估版本化存储库中的查询。 引入了一个新的运算符(IN_WORKSPACE),通过该运算符调用一个评估程序来确定特定行是否映射到特定的工作区。

    Techniques for transaction semantics for a database server performing file operations
    59.
    发明申请
    Techniques for transaction semantics for a database server performing file operations 有权
    用于执行文件操作的数据库服务器的事务语义的技术

    公开(公告)号:US20060136509A1

    公开(公告)日:2006-06-22

    申请号:US11013889

    申请日:2004-12-16

    IPC分类号: G06F17/30

    摘要: A method and apparatus for reverting a resource to a prior state in time is provided. Changes are committed to a resource at a particular point in time. After the particular point in time, a request, which may be a file system operation request, to revert the resource to a state prior to the particular point in time is received at a database server. In response to the request, the resource is reverted to the state prior to the particular point in time. The current state of the resource ceases to reflect the plurality of changes. Advantageously, if a requestor creates an incorrect version of a resource, the changes made to a schema-based resource are not compatible with the schema, or the changes of multiple requesters are not compatible with each other, the resource may be reverted to the earlier point in time.

    摘要翻译: 提供了一种用于将资源恢复到先前状态的方法和装置。 更改在特定时间点致力于资源。 在特定时间点之后,在数据库服务器处接收到可能是文件系统操作请求的将资源恢复到特定时间点之前的状态的请求。 响应于该请求,资源被恢复到特定时间点之前的状态。 资源的当前状态不再反映多种变化。 有利的是,如果请求者创建资源的不正确版本,对基于模式的资源所做的更改与模式不兼容,或者多个请求者的更改彼此不兼容,则该资源可能还原为较早 时间点。

    Techniques for providing locks for file operations in a database management system
    60.
    发明申请
    Techniques for providing locks for file operations in a database management system 审中-公开
    在数据库管理系统中提供文件操作锁的技术

    公开(公告)号:US20060136508A1

    公开(公告)日:2006-06-22

    申请号:US11013519

    申请日:2004-12-16

    IPC分类号: G06F17/30

    CPC分类号: G06F16/1774

    摘要: A method and apparatus for performing file system operation locks at a database server is provided. A request to perform a file operation on a portion of a file managed by a database server is received at the database server. In response to receiving the request, the database server grants a lock that covers only a portion of the file that is involved in the file operation. For example, the database server may grant a lock that covers a range of bytes on the file, where the range of bytes is less than the entire file. Thereafter, the database server performs the file operation on the file. The file operation may be a NFS operation.

    摘要翻译: 提供了一种用于在数据库服务器执行文件系统操作锁定的方法和装置。 在数据库服务器处接收对由数据库服务器管理的文件的一部分执行文件操作的请求。 响应于接收到该请求,数据库服务器授予仅覆盖文件操作中涉及的文件的一部分的锁。 例如,数据库服务器可以授予覆盖文件范围的字节的锁,其中字节的范围小于整个文件。 此后,数据库服务器对文件执行文件操作。 文件操作可能是NFS操作。