Infrastructure for performing file operations by a database server
    41.
    发明授权
    Infrastructure for performing file operations by a database server 有权
    用于由数据库服务器执行文件操作的基础设施

    公开(公告)号:US07627574B2

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

    申请号:US11014354

    申请日:2004-12-16

    IPC分类号: G06F17/30

    摘要: A method and apparatus for processing a file system operation at a database server is provided. A request to perform a file system operation on a resource stored in a database is received at a database system. The request may be implemented using the NFS protocol. The request may include state identification data that identifies state information associated with the request. State information associated with the request is retrieved within the database system based on the state identification data. State information is information that describes the operational state of the requestor for a particular file. The request is then processed based, at least in part, on the state identification. File system operations may be processed a database management system to access any data, such as a file, relational data, and object-relational data.

    摘要翻译: 提供了一种在数据库服务器处理文件系统操作的方法和装置。 在数据库系统中接收对存储在数据库中的资源执行文件系统操作的请求。 请求可以使用NFS协议实现。 该请求可以包括标识与请求相关联的状态信息的状态标识数据。 基于状态识别数据在数据库系统内检索与请求相关联的状态信息。 状态信息是描述特定文件的请求者的操作状态的信息。 然后,至少部分地基于状态标识处理该请求。 文件系统操作可以由数据库管理系统处理以访问任何数据,例如文件,关系数据和对象关系数据。

    Supporting replication among a plurality of file operation servers
    42.
    发明授权
    Supporting replication among a plurality of file operation servers 有权
    支持多个文件操作服务器之间的复制

    公开(公告)号:US07409397B2

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

    申请号:US11172674

    申请日:2005-06-30

    IPC分类号: G06F17/30

    摘要: A method and apparatus for performing network file system (NFS) operations across a plurality of servers is provided. At a first server, a filehandle for a particular file is generated based, at least in part, on an identifier that uniquely identifies the particular file relative to all other files within a file system repository. The file system repository may be implemented in a database. The identifier may also be stored in the database. The first server sends a client the filehandle. The client may thereafter send another request for the performance of a file operation, containing the filehandle, to a different server. The second server may read the filehandle and use the identifier to locate the file within the repository against which to perform the file operation without receiving, from the first server, information that associates the filehandle with the file.

    摘要翻译: 提供了一种用于在多个服务器上执行网络文件系统(NFS)操作的方法和装置。 在第一服务器上,至少部分地基于唯一地标识特定文件相对于文件系统存储库内的所有其他文件的标识符生成特定文件的文件句柄。 文件系统存储库可以在数据库中实现。 标识符也可以存储在数据库中。 第一台服务器向客户端发送文件句柄。 然后,客户端可以向包含文件句柄的文件操作执行另一请求,到不同的服务器。 第二服务器可以读取文件句柄并且使用标识符来定位要在其中执行文件操作的存储库内的文件,而不从第一服务器接收将文件句柄与该文件相关联的信息。

    Label-aware B-tree-like index for efficient queries in a versioning system
    43.
    发明申请
    Label-aware B-tree-like index for efficient queries in a versioning system 有权
    用于在版本控制系统中进行高效查询的标签感知B树状索引

    公开(公告)号:US20070143363A1

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

    申请号:US11313526

    申请日:2005-12-20

    IPC分类号: G06F17/30

    摘要: A mechanism for querying a label-aware index in the context of versioning is provided. The key of the label-aware index is a composite key and includes a unique label identifier, corresponding to a specific label, and the key of the original index, which key itself may be a composite key. The label-aware index may be implemented as an index-organized table. The label-aware index is organized on disk first by the label identifier and then by the original index key so that queries of versions of resources within a particular label are as efficient as queries on an index of an unversioned repository with the same number of resources.

    摘要翻译: 提供了一种用于在版本控制的上下文中查询标签感知索引的机制。 标签感知索引的密钥是复合密钥,并且包括对应于特定标签的唯一标签标识符和原始索引的密钥,该密钥本身可以是复合密钥。 标签感知索引可以被实现为索引组织表。 标签感知索引首先由标签标识符组织,然后由原始索引键组织,以便特定标签内的资源版本的查询与具有相同数量资源的未版本化存储库的索引上的查询一样有效 。

    Supporting replication among a plurality of file operation servers
    44.
    发明申请
    Supporting replication among a plurality of file operation servers 有权
    支持多个文件操作服务器之间的复制

    公开(公告)号:US20070005604A1

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

    申请号:US11172674

    申请日:2005-06-30

    IPC分类号: G06F17/30

    摘要: A method and apparatus for performing network file system (NFS) operations across a plurality of servers is provided. At a first server, a filehandle for a particular file is generated based, at least in part, on an identifier that uniquely identifies the particular file relative to all other files within a file system repository. The file system repository may be implemented in a database. The identifier may also be stored in the database. The first server sends a client the filehandle. The client may thereafter send another request for the performance of a file operation, containing the filehandle, to a different server. The second server may read the filehandle and use the identifier to locate the file within the repository against which to perform the file operation without receiving, from the first server, information that associates the filehandle with the file.

    摘要翻译: 提供了一种用于在多个服务器上执行网络文件系统(NFS)操作的方法和装置。 在第一服务器上,至少部分地基于唯一地标识特定文件相对于文件系统存储库内的所有其他文件的标识符生成特定文件的文件句柄。 文件系统存储库可以在数据库中实现。 标识符也可以存储在数据库中。 第一台服务器向客户端发送文件句柄。 然后,客户端可以向包含文件句柄的文件操作执行另一请求,到不同的服务器。 第二服务器可以读取文件句柄并且使用标识符来定位要在其中执行文件操作的存储库内的文件,而不从第一服务器接收将文件句柄与该文件相关联的信息。

    Sharing state information among a plurality of file operation servers
    45.
    发明申请
    Sharing state information among a plurality of file operation servers 有权
    在多个文件操作服务器间共享状态信息

    公开(公告)号:US20070005603A1

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

    申请号:US11172472

    申请日:2005-06-29

    IPC分类号: G06F17/30

    摘要: A method and apparatus for sharing state information among a plurality of servers is provided. A first server receives a request to perform a file operation, such as a NFS file system operation. Thereafter, the first server updates state information to reflect a change in state associated with processing the request. The first server then causes state update information, which identifies the change in state that was made at the first server, to be propagated to a second server. The second server updates state information, stored at the second server, to reflect the change in state associated with processing the request at the first server. Advantageously, a client may send a series of stateful file operations to either the first server or the second server, even if processing any one of the stateful file operation requests requires knowledge of the state of processing prior requests in the series of requests.

    摘要翻译: 提供了一种用于在多个服务器之间共享状态信息的方法和装置。 第一服务器接收执行诸如NFS文件系统操作之类的文件操作的请求。 此后,第一服务器更新状态信息以反映与处理请求相关联的状态变化。 然后,第一服务器导致状态更新信息,其标识在第一服务器处进行的状态的改变,以被传播到第二服务器。 第二服务器更新存储在第二服务器处的状态信息,以反映与在第一服务器处理请求相关联的状态变化。 有利地,客户机可以向第一服务器或第二服务器发送一系列有状态的文件操作,即使处理有状态文件操作请求中的任何一个需要知道在一系列请求中处理先前请求的状态。

    Techniques for supporting application-specific access controls with a separate server
    46.
    发明授权
    Techniques for supporting application-specific access controls with a separate server 有权
    使用单独的服务器支持应用程序特定访问控制的技术

    公开(公告)号:US07020653B2

    公开(公告)日:2006-03-28

    申请号:US10364610

    申请日:2003-02-10

    IPC分类号: G06R17/30

    摘要: Techniques for supporting access controls on application-specific operations performed by an application include receiving first data at a server distinct from the application. The first data describes a first set of privileges for performing a first set of application-specific operations. Second data is also received at the server. The second data associates a first user of the application with a privilege in the first set of privileges. In response to receiving a request at the server from the application, it is determined whether a particular user may have the application perform a particular application-specific operation based on the first data and the second data. The request indicates the particular user and the particular application-specific operation. A response is sent to the application. The response indicates whether the particular user may have the application perform the particular application-specific operation.

    摘要翻译: 用于支持由应用执行的特定于应用的操作的访问控制的技术包括在不同于该应用的服务器处接收第一数据。 第一个数据描述了执行第一组应用程序特定操作的第一组权限。 服务器也收到第二个数据。 第二数据将应用程序的第一用户与第一组权限中的特权相关联。 响应于从应用程序在服务器处接收到请求,确定特定用户是否可以使应用程序基于第一数据和第二数据执行特定的特定应用程序操作。 该请求指示特定用户和特定应用程序特定的操作。 响应发送到应用程序。 响应指示特定用户是否可以使应用程序执行特定的应用程序特定操作。

    Technique to gather statistics on very large hierarchical collections in a scalable and efficient manner
    47.
    发明授权
    Technique to gather statistics on very large hierarchical collections in a scalable and efficient manner 有权
    以可扩展和高效的方式收集关于非常大的分层收藏的统计数据的技术

    公开(公告)号:US09582525B2

    公开(公告)日:2017-02-28

    申请号:US12555198

    申请日:2009-09-08

    IPC分类号: G06F7/00 G06F17/30

    CPC分类号: G06F17/30306

    摘要: Techniques are provided for efficiently collecting statistics for hierarchically-organized collections of data. A database system leverages container-level modification time stamps and stored subtree-level change information to gather statistical information from only those resources in a hierarchical collection for which the statistics have changed since the last time that statistics were gathered for the collection. A lockless data structure is also described for storing the subtree-level change information in which an identifier corresponding to each subtree in a collection containing a changed resource may be stored. This data structure may be a table that is distinct from one or more tables representing the collection. In one embodiment of the invention, the immediate parent resource of a particular modified resource may be omitted from the subtree table by leveraging modification time stamps while gathering statistics based on tracked subtree-level information.

    摘要翻译: 提供了技术来高效地收集分层组织的数据集合的统计数据。 数据库系统利用容器级修改时间戳和存储的子树级别更改信息,从上次收集统计信息以来统计信息已经更改的分层收集中的那些资源中收集统计信息。 还描述了一种无锁数据结构,用于存储子树级别改变信息,其中可以存储与包含改变的资源的集合中的每个子树对应的标识符。 该数据结构可以是与表示集合的一个或多个表不同的表。 在本发明的一个实施例中,可以通过在基于跟踪的子树级别信息收集统计信息的同时利用修改时间戳从子树表中省略特定修改资源的直接父资源。

    Automatic Denormalization For Analytic Query Processing In Large-Scale Clusters
    48.
    发明申请
    Automatic Denormalization For Analytic Query Processing In Large-Scale Clusters 有权
    用于大规模集群中的分析查询处理的自动非规范化

    公开(公告)号:US20140067791A1

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

    申请号:US13605903

    申请日:2012-09-06

    IPC分类号: G06F17/30

    摘要: A system and method for improving performance of join operations is disclosed. The method in one embodiment includes building a graph of vertices and edges, which represent the tables and join conditions for a particular database schema. The method then traverses the graph to find a set of candidate join operations. The method further includes selecting from the set of subset of join operations that makes the best use of a given amount of memory, which means finding a collection of denormalizations which when residing in memory provide the most benefit and the least cost for the given amount of memory. The method then deploys the denormalizations so that current queries in a query processing system can use them instead of actually performing the joins.

    摘要翻译: 公开了一种用于提高连接操作性能的系统和方法。 一个实施例中的方法包括构建顶点和边的图,其表示特定数据库模式的表和连接条件。 然后,该方法遍历图形以找到一组候选连接操作。 该方法还包括从充分利用给定量的存储器的连接操作的集合集合中进行选择,这意味着找到一种非规范化集合,其在驻留在存储器中时提供最大的收益,并且给定量的 记忆。 然后,该方法部署非规范化,以便查询处理系统中的当前查询可以使用它们,而不是实际执行连接。

    Efficient way to evaluate uncorrelated path-based row sources with XML storage
    49.
    发明授权
    Efficient way to evaluate uncorrelated path-based row sources with XML storage 有权
    用XML存储来评估不相关的基于路径的行源的有效方式

    公开(公告)号:US08239373B2

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

    申请号:US12467984

    申请日:2009-05-18

    IPC分类号: G06F17/30

    CPC分类号: G06F17/30932

    摘要: The approaches described herein provide an efficient way to process certain kinds of queries that retrieve XML data stored in an object-relational database. A technique determines whether a query comprises a plurality of iteration expressions that exhibit a particular relationship to one another, and if so, re-writes the query and produces an optimized query execution plan. The query execution plan specifies an XPath-based row source with caching enabled. A very small cache structure is used, and reference locators are stored in the cache that point into binary-encoded data rather than copying XMLType data into the cache. Row data may be cached on the first use of the path-based row source and re-used in subsequent requests for rows. Once there is a subsequent request for rows from the optimized path-based row source, the cache may be reorganized to efficiently produce the rows of the row source.

    摘要翻译: 本文描述的方法提供了处理检索存储在对象关系数据库中的XML数据的某些类型的查询的有效方式。 技术确定查询是否包括彼此具有特定关系的多个迭代表达式,如果是,则重写该查询并产生优化的查询执行计划。 查询执行计划指定启用缓存的基于XPath的行源。 使用非常小的缓存结构,参考定位器存储在缓存中,指向二进制编码数据,而不是将XMLType数据复制到缓存中。 行数据可以在首次使用基于路径的行源缓存,并在后续的行请求中重新使用。 一旦从优化的基于路径的行源中获得行的后续请求,则可以重新组织高速缓存以有效地产生行源的行。

    TECHNIQUES FOR FAST AND SCALABLE XML GENERATION AND AGGREGATION OVER BINARY XML
    50.
    发明申请
    TECHNIQUES FOR FAST AND SCALABLE XML GENERATION AND AGGREGATION OVER BINARY XML 有权
    用于二进制XML的快速和可扩展的XML生成和聚合的技术

    公开(公告)号:US20110184969A1

    公开(公告)日:2011-07-28

    申请号:US12692549

    申请日:2010-01-22

    IPC分类号: G06F17/30

    CPC分类号: G06F17/30938

    摘要: Techniques for fast and scalable generation and aggregation of XML data are described. In an example embodiment, an XML query that requests data from XML documents is received. The XML query is evaluated to determine one or more XML results. For each particular XML result, evaluating the XML query comprises: instantiating a particular data structure that represents the particular XML result, where the particular data structure is encoded in accordance with tags specified in the XML query but does not store the tags; and storing, in the particular data structure, one or more locators that respectively point to one or more fragments in the XML documents, where the particular data structure stores the one or more locators but does not store the one or more fragments. On demand, in response to a request indicating the particular XML result, a serialized representation of the particular XML result is generated based at least on the particular data structure.

    摘要翻译: 描述了用于快速和可扩展的XML数据生成和聚合的技术。 在示例实施例中,接收从XML文档请求数据的XML查询。 评估XML查询以确定一个或多个XML结果。 对于每个特定的XML结果,评估XML查询包括:实例化表示特定XML结果的特定数据结构,其中特定数据结构根据XML查询中指定的标签进行编码,但不存储标签; 以及在所述特定数据结构中存储分别指向所述XML文档中的一个或多个片段的一个或多个定位符,其中所述特定数据结构存储所述一个或多个定位符,但不存储所述一个或多个片段。 根据需要,响应于指示特定XML结果的请求,至少基于特定数据结构生成特定XML结果的序列化表示。