Method and apparatus for dynamic lock granularity escalation and
de-escalation in a computer system
    11.
    发明授权
    Method and apparatus for dynamic lock granularity escalation and de-escalation in a computer system 失效
    计算机系统中动态锁粒度递增和解除升级的方法和装置

    公开(公告)号:US6144983A

    公开(公告)日:2000-11-07

    申请号:US94214

    申请日:1998-06-09

    IPC分类号: G06F9/46 G06F9/00 G06F15/00

    CPC分类号: G06F9/52 Y10S707/99938

    摘要: A method and apparatus for dynamic lock granularity escalation and de-escalation in a computer system is provided. Upon receiving a request for a resource, a scope of a previously granted lock is modified. According to one embodiment, hash lock de-escalation is employed. In hash lock de-escalation, the scope of the previously granted lock held on a set of resources is reduced by de-escalating the previously granted lock from a coarser-grain lock to one or more finer-grain locks on members of the set. According to another embodiment, hash lock escalation is employed. In hash lock escalation, the scope of previously granted locks held on one or more members of the set of resources are released and promoted into a coarser-grain lock that covers the set of resources as well as the requested resource.

    摘要翻译: 提供了一种用于计算机系统中动态锁粒度升级和降级的方法和装置。 在接收到对资源的​​请求后,修改先前授予的锁的范围。 根据一个实施例,使用散列锁解除升级。 在哈希锁解除升级中,通过将先前授予的锁从粗粒锁定降级到集合成员上的一个或多个更细粒度的锁,减少了保存在一组资源上的先前授权的锁的范围。 根据另一个实施例,采用散列锁升级。 在哈希锁升级中,在资源集合的一个或多个成员上保留的先前授予的锁的范围被释放并被提升为覆盖所述一组资源以及所请求的资源的粗粒度锁。

    Method and apparatus for reporting errors in a computer system
    12.
    发明授权
    Method and apparatus for reporting errors in a computer system 失效
    用于报告计算机系统中的错误的方法和装置

    公开(公告)号:US6138253A

    公开(公告)日:2000-10-24

    申请号:US865333

    申请日:1997-05-29

    申请人: George Buzsaki

    发明人: George Buzsaki

    IPC分类号: G06F11/07 G06F11/32 G06F11/00

    摘要: A mechanism is provided for reporting errors in a computer system. The mechanism detecting an error in the computer system. The mechanism identifies a first error message associated with the error and a second error message associated with the error. The first error message and the second error message are then reported by the mechanism. The error messages provide different details regarding the error such that the first error message provides a general description of the error and the second error message provides a detailed description of the error. The mechanism is capable of displaying the first error message and the second error message on the computer system. The first error message can be associated with a first software module and the second error message can be associated with a second software module. An error message stack is used to store the first error message and the second error message.

    摘要翻译: 提供了一种用于报告计算机系统中的错误的机制。 检测计算机系统中的错误的机制。 该机制识别与该错误相关联的第一错误消息和与错误相关联的第二错误消息。 然后,该机制报告第一个错误消息和第二个错误消息。 错误消息提供关于错误的不同细节,使得第一错误消息提供错误的一般描述,并且第二错误消息提供错误的详细描述。 该机制能够在计算机系统上显示第一错误消息和第二错误消息。 第一错误消息可以与第一软件模块相关联,并且第二错误消息可以与第二软件模块相关联。 使用错误消息堆栈来存储第一个错误消息和第二个错误消息。

    Uniform object model having methods and additional features for
integrating objects defined by different foreign object type systems
into a single type system
    13.
    发明授权
    Uniform object model having methods and additional features for integrating objects defined by different foreign object type systems into a single type system 失效
    具有用于将由不同外部对象类型系统定义的对象集成到单一类型系统中的方法和附加特征的统一对象模型

    公开(公告)号:US6134559A

    公开(公告)日:2000-10-17

    申请号:US67061

    申请日:1998-04-27

    IPC分类号: G06F9/45 G06F9/46 G06F17/30

    摘要: A uniform object model integrates objects defined by foreign type systems into a single integrated object oriented system. The type system for the integrated object oriented system supports a superset of features from foreign object systems. The uniform object model approach converts foreign objects into uniform object model objects defined by the integrated type system and layers onto the uniform object model objects additional members supported by the integrated type system. Adapters integrate foreign objects and data sources into the integrated object oriented system by implementing foreign objects as full fledged objects of the system. The foreign object adapters are bi-directional such that objects, registered in the system, are exposed to foreign object systems. During run time, clients obtain a connection to the data source adapter, which supports the target data source, to execute transactions in the target data source. When executing transactions in the target data source, the data source adapter operates as an object access mechanism by generating an object populated with data from the target data source. The data source adapters support a single predetermined dialect of a query language, regardless of the target data source, and generate a query statement compatible with the target data source. The data source adapters also support persistence of objects in the data sources.

    摘要翻译: 统一对象模型将由外部类型系统定义的对象集成到单一的集成面向对象系统中。 集成面向对象系统的类型系统支持异物系统的特征超集。 统一对象模型方法将外部对象转换为由集成类型系统和层定义的统一对象模型对象到统一对象模型对象由集成类型系统支持的附加成员。 适配器将异物和数据源集成到集成的面向对象系统中,通过将异物作为系统的完整对象来实现。 异物适配器是双向的,使得在系统中注册的对象暴露于异物系统。 在运行时间内,客户端获取与支持目标数据源的数据源适配器的连接,以在目标数据源中执行事务。 当在目标数据源中执行事务时,数据源适配器通过生成填充有来自目标数据源的数据的对象来作为对象访问机制来操作。 数据源适配器支持查询语言的单一预定方言,而不管目标数据源如何,并生成与目标数据源兼容的查询语句。 数据源适配器还支持数据源中对象的持久性。

    Incremental maintenance of materialized views containing one-to-one
lossless joins
    14.
    发明授权
    Incremental maintenance of materialized views containing one-to-one lossless joins 失效
    增量维护包含一对一无损连接的物化视图

    公开(公告)号:US6134543A

    公开(公告)日:2000-10-17

    申请号:US109782

    申请日:1998-07-02

    IPC分类号: G06F17/30

    摘要: A method and apparatus are provided for performing incremental refreshes to materialized views defined by one-to-one lossless joins. Each base table of the materialized view is selected to be processed as the current "selected table". During the processing, if the selected table is the right table of an outer join, then selected columns of rows of the materialized view are set to NULL based on rows of the selected table that have been updated or deleted in the selected table after a prior refresh operation. Then, NULL values in selected columns of the materialized view are updated to reflect new values caused by updates and inserts into the selected table that occurred after the prior refresh operation. If the selected table is not the right table of an outer join, then rows from the materialized view are deleted based on rows of the selected table that have been updated or deleted in the selected table after the prior refresh operation. Then, rows are inserted into the materialized view based on updates and inserts into the selected table that occurred after the prior refresh operation. The incremental refresh techniques are "memoryless" in that they do not require a record of the sequence of changes that were made subsequent to the prior refresh operation. Techniques are described for performing the incremental refresh steps through the use of database commands and queries.

    摘要翻译: 提供了一种方法和装置,用于对由一对一无损连接定义的物化视图执行增量刷新。 选择物化视图的每个基表作为当前的“选择的表”进行处理。 在处理期间,如果所选择的表是外连接的右表,则根据所选表格中所选择的表的行在所选表格中的行之后,将物化视图的所选行列设置为NULL 刷新操作。 然后,物化视图的选定列中的NULL值将被更新,以反映由更新引入的新值,并插入到先前刷新操作之后发生的所选表中。 如果所选表格不是外连接的右表,则根据在先前刷新操作之后的所选表格中已更新或删除的所选表格的行,将删除物化视图中的行。 然后,根据在先前刷新操作之后发生的所选表格中的更新和插入,将行插入物化视图。 增量刷新技术是“无记忆”,因为它们不需要在先前刷新操作之后进行的变化序列的记录。 描述了通过使用数据库命令和查询执行增量刷新步骤的技术。

    Multithreaded client application storing a separate context for each
transaction thus allowing threads to resume transactions started by
other client threads
    15.
    发明授权
    Multithreaded client application storing a separate context for each transaction thus allowing threads to resume transactions started by other client threads 失效
    多线程客户端应用程序为每个事务存储单独的上下文,从而允许线程恢复由其他客户端线程启动的事务

    公开(公告)号:US6119145A

    公开(公告)日:2000-09-12

    申请号:US858616

    申请日:1997-02-28

    摘要: A multithreaded client application initiates multiple database operations associated with at least one transaction. The client application allocates and stores a separate runtime context for each of the database transactions. These transaction runtime contexts are also distinct from the state information, or runtime context, of the thread initiating a particular operation of the transaction. As a result, operations started by a thread that terminates may be continued, or resumed, by a subsequent thread without having to reperform previously executed operations. The duration of the transactions' runtime context is thus decoupled from the duration of the thread's runtime context. Special syntax and routines are provided for explicitly allocating a runtime context and deallocating a runtime context.

    摘要翻译: 多线程客户端应用程序启动与至少一个事务关联的多个数据库操作。 客户端应用程序为每个数据库事务分配并存储单独的运行时上下文。 这些事务运行时上下文也不同于启动事务的特定操作的线程的状态信息或运行时上下文。 结果,由终止的线程开始的操作可以由后续线程继续或恢复,而不必重新执行先前执行的操作。 因此,事务运行时上下文的持续时间与线程的运行时上下文的持续时间相分离。 提供了特殊的语法和例程,用于明确分配运行时上下文并释放运行时上下文。

    Apparatus and method for null representation in database object storage
    16.
    发明授权
    Apparatus and method for null representation in database object storage 失效
    数据库对象存储中的零表示的装置和方法

    公开(公告)号:US6112210A

    公开(公告)日:2000-08-29

    申请号:US962416

    申请日:1997-10-31

    IPC分类号: G06F17/30

    摘要: An apparatus and process for storing representations of information objects having null values in a database are disclosed. A null object is established in memory associated with an information-bearing object. The null object has an attribute null value corresponding to each data-bearing attribute of the information-bearing object. Each attribute null value is set to a value indicating whether the corresponding attribute of the information-bearing object is null, not null, or not capable of having a null value. The null object also has an atomic null value that indicates whether the entire information-bearing object is null. When the information-bearing object is to be accessed, the null object is first accessed to determine whether the entire information-bearing object or any attributes thereof are null. Accordingly, unnecessary retrieval and manipulation of the information-bearing object is avoided.

    摘要翻译: 公开了一种在数据库中存储具有空值的信息对象的表示的装置和过程。 在与信息承载对象相关联的存储器中建立空对象。 空对象具有对应于信息承载对象的每个数据承载属性的属性空值。 每个属性空值被设置为一个值,该值指示信息承载对象的相应属性是否为空,不为空,或不能具有空值。 空对象还具有一个原子空值,指示整个信息承载对象是否为空。 当要访问信息承载对象时,首先访问空对象以确定整个信息承载对象或其任何属性是否为空。 因此,避免了对信息承载对象的不必要的检索和操作。

    Method for processing host language source code containing embedded
database language statements
    17.
    发明授权
    Method for processing host language source code containing embedded database language statements 有权
    处理含有嵌入式数据库语言语言的主机语言源代码的方法

    公开(公告)号:US6108660A

    公开(公告)日:2000-08-22

    申请号:US305354

    申请日:1999-05-04

    IPC分类号: G06F9/46 G06F9/45

    摘要: A method and apparatus for passing runtime contexts between threads in a multithreading application is provided. A precompiler is provided which allows programmers to declare and use runtime contexts in the same manner as other conventional variable types are declared and used. Special syntax and routines are provided for explicitly allocating a runtime context and deallocating a runtime context, thus decoupling the duration of a runtime context from the duration of the thread that initiated the operations whose states are stored in the runtime context. Consequently, operations started by a thread that terminates may be continued by a subsequent thread without having to re-perform previously executed operations. Precompiler directives are provided to explicitly state which runtime contexts will be used for certain operations. A single thread can therefore use one or more runtime contexts.

    摘要翻译: 提供了一种用于在多线程应用程序中的线程之间传递运行时上下文的方法和装置。 提供了一个预编译器,允许程序员以与其他常规变量类型声明和使用相同的方式来声明和使用运行时上下文。 提供了特殊语法和例程,用于明确分配运行时上下文并释放运行时上下文,从而将运行时上下文的持续时间与发起其状态存储在运行时上下文中的操作的线程的持续时间相分离。 因此,可以由后续线程继续由终止的线程开始的操作,而不必重新执行先前执行的操作。 提供预编译器指令以明确地说明哪些运行时上下文将用于某些操作。 因此,单个线程可以使用一个或多个运行时上下文。

    Method, article of manufacture, and apparatus for generating a
multi-dimensional record layout mapping
    18.
    发明授权
    Method, article of manufacture, and apparatus for generating a multi-dimensional record layout mapping 失效
    方法,制品和用于生成多维记录布局映射的装置

    公开(公告)号:US6108657A

    公开(公告)日:2000-08-22

    申请号:US865574

    申请日:1997-05-29

    IPC分类号: G06F17/30

    摘要: A record management system is provided for generating a multi-dimensional view for different measures. A set of records is retrieved in response to a set of queries. The records include dimension values and measure values, which are associated with the measures. The set of records is maintained in a master table. The record management system generates a record structure foundation, including a query map and a master table index. The record management system then employs the record structure foundation to generate a multi-dimensional layout mapping for the measures that are to be represented in the view. The record structure foundation and measure values in the master table are used to convert the layout mapping into the desired multi-dimensional view. The record management system includes data storage units for implementing the master table, query map, master table index, and layout mapping. These data storage units are coupled to a set of processing engines, which include a control engine, query engine, index engine, and layout engine that provide for performing operations that result in the generation of a multi-dimensional view.

    摘要翻译: 提供了一种记录管理系统,用于生成用于不同措施的多维视图。 响应于一组查询检索一组记录。 记录包括与度量相关联的维度值和度量值。 记录集保存在主表中。 记录管理系统生成记录结构基础,包括查询映射和主表索引。 记录管理系统然后采用记录结构基础为视图中要表示的措施生成多维布局映射。 主表中的记录结构基础和度量值用于将布局映射转换为所需的多维视图。 记录管理系统包括用于实现主表,查询映射,主表索引和布局映射的数据存储单元。 这些数据存储单元耦合到一组处理引擎,其包括控制引擎,查询引擎,索引引擎和布局引擎,其提供导致生成多维视图的执行操作。

    Method and apparatus for copying data that resides in a database
    19.
    发明授权
    Method and apparatus for copying data that resides in a database 失效
    复制驻留在数据库中的数据的方法和装置

    公开(公告)号:US06105030A

    公开(公告)日:2000-08-15

    申请号:US32095

    申请日:1998-02-27

    IPC分类号: G06F17/30

    摘要: A consistent set of data is supplied to a software application from databases. When a particular set of data is identified, a first process is requested to obtain a snapshot time from a database server associated with the first database. The snapshot time causes all subsequent reads of the first database by the first process to return data that reflects a database state associated with the snapshot time. A first set of data in the first database is locked in order to produce a copy of data from a first database. After locking the first set of data, a plurality of processes are requested to obtain snapshot times from a database server associated with the first database. The snapshot times cause all subsequent reads of the first database by the plurality of processes to return data from the first database as of the snapshot times.

    摘要翻译: 从数据库向软件应用程序提供一致的数据集。 当识别出特定的一组数据时,请求第一进程从与第一数据库相关联的数据库服务器获得快照时间。 快照时间使第一个数据库的所有后续读取由第一个进程返回反映与快照时间相关联的数据库状态的数据。 锁定第一数据库中的第一组数据以便产生来自第一数据库的数据副本。 在锁定第一组数据之后,请求多个进程以从与第一数据库相关联的数据库服务器获得快照时间。 快照次数导致多个进程的第一数据库的所有后续读取从快照时间起第一数据库返回数据。

    Hierarchical query feedback in an information retrieval system
    20.
    发明授权
    Hierarchical query feedback in an information retrieval system 失效
    信息检索系统中的分层查询反馈

    公开(公告)号:US6094652A

    公开(公告)日:2000-07-25

    申请号:US95515

    申请日:1998-06-10

    申请人: Mohammad Faisal

    发明人: Mohammad Faisal

    IPC分类号: G06F17/30 G06F17/00

    摘要: An information retrieval system generates hierarchical query feedback to a user to facilitate the user in reformulating the query. The information retrieval system, which supports both text and theme queries, includes a knowledge base comprising a plurality of nodes of terminology, arranged hierarchically, that reflect associations among the terminology. For the hierarchical query feedback terms, the information retrieval system selects terminology that broadens and narrows the query terms by selecting parent nodes and child nodes, respectively, of the nodes for terminology that corresponds to the terms of the query. The information retrieval system also selects terminology that is generally related to the query terms by selecting nodes of the knowledge base that are cross linked to the nodes for terminology that corresponds to the terms of the query. Normalization processing, which generates canonical forms for query processing, and a content processing system, which generates themes for theme queries, are also disclosed.

    摘要翻译: 信息检索系统向用户生成分层查询反馈以方便用户重新构建查询。 支持文本和主题查询的信息检索系统包括知识库,其包括多个术语节点,分层排列,反映术语之间的关联。 对于层次查询反馈项,信息检索系统选择通过分别选择与查询条款对应的术语的节点的父节点和子节点来扩大和缩小查询项的术语。 信息检索系统还通过选择与节点交叉链接的知识库的节点来选择通常与查询项相关的术语,用于与查询的条款相对应的术语。 还公开了生成用于查询处理的规范形式的规范化处理以及生成用于主题查询的主题的内容处理系统。