Page refreshing procedure using two locking granularities to ensure
cache coherency in a multisystem database processing environment having
a high-speed shared electronic store
    3.
    发明授权
    Page refreshing procedure using two locking granularities to ensure cache coherency in a multisystem database processing environment having a high-speed shared electronic store 失效
    使用两个锁定粒度的页面刷新过程来确保具有高速共享电子商店的多系统数据库处理环境中的高速缓存一致性

    公开(公告)号:US5546579A

    公开(公告)日:1996-08-13

    申请号:US236798

    申请日:1994-05-02

    IPC分类号: G06F9/46 G06F12/08 G06F13/364

    摘要: A method for ensuring data coherence while detecting whether the locally cached copy of a data page is invalid and responsively refreshing the locally cached page from a Shared Electronic Store (SES) in a multisystem shared disk environment. Locally cached data pages may become invalid in a multisystem shared disk environment because of transactions executed by other systems for the common database. Thus, whenever a transaction in a database management system (DBMS) instance desires to read or update a record in a locally cached data page, the DBMS must first verify validity for the locally cached copy and, for stale or invalid copies, must re-read and re-register the latest version in the SES. This invention provides a procedure for the necessary verification and refreshing steps that relies on page latching to serialize the combination of local multiuser and global multisystem activities. The procedure of this invention supports both record and page locking granularities.

    摘要翻译: 一种在检测数据页的本地缓存副本是否无效并且在多系统共享磁盘环境中从共享电子商店(SES)中响应性地刷新本地缓存页面的方法。 由于公共数据库的其他系统执行的事务,本地缓存的数据页可能在多系统共享磁盘环境中无效。 因此,每当数据库管理系统(DBMS)实例中的事务需要读取或更新本地缓存的数据页面中的记录时,DBMS必须首先验证本地缓存的副本的有效性,并且对于陈旧或无效的副本, 在SES中阅读并重新注册最新版本。 本发明提供了一种依赖于页面锁定来序列化本地多用户和全局多系统活动的组合的必要的验证和刷新步骤的过程。 本发明的过程支持记录和页面锁定粒度。

    Efficient destaging of updated local cache pages for a transaction in a
multisystem and multiprocess database management system with a
high-speed shared electronic store
    4.
    发明授权
    Efficient destaging of updated local cache pages for a transaction in a multisystem and multiprocess database management system with a high-speed shared electronic store 失效
    对具有高速共享电子商店的多系统和多进程数据库管理系统中的事务进行更新的本地缓存页的有效降级

    公开(公告)号:US5574902A

    公开(公告)日:1996-11-12

    申请号:US236284

    申请日:1994-05-02

    IPC分类号: G06F11/14 G06F13/14

    摘要: An efficient procedure for determining the set of buffer pool database pages that must be externalized to stable storage and for scheduling their write I/O's before release of a committing transaction's locks. In a multisystem database management system (DBMS) with high-speed shared external storage (SES) environment, a DBMS instance may follow "force-at-commit" protocol for a database that has intersystem read/write interest or may alternatively follow a "no-force-at-commit" policy when operating with a database for which only one system has interest. By introducing the concept of a series of unique ordinal numbers (ORD#) for each database assigned to buffer pool data pages whenever the page state changes from clean to dirty within a single DBMS instance, this procedure maintains a transaction page list (TPL) for each transaction in ORD# order. Because the dirty page list (DPL) pages are queued in ORD# sequence and each TPL includes all modified pages associated with the transaction, a merge scan with DPL entries can be performed for each TPL at the commit time of the corresponding transaction. This searches the DPL in a single pass with minimal DPL latch contention. The TPL pages requiring destaging are distributed to two processing lists; a first list for immediate force to SES and a second list of "in-use" pages that are forced to SES if necessary upon release of existing process latches.

    摘要翻译: 确定缓冲池数据库页面集合的有效过程,必须将其外部化为稳定存储,并在发布提交事务的锁之前调度其写入I / O。 在具有高速共享外部存储(SES)环境的多系统数据库管理系统(DBMS)中,对于具有系统间读/写兴趣的数据库,DBMS实例可以遵循“强制提交”协议,或者可选地遵循“ 使用只有一个系统感兴趣的数据库进行操作时,无需提交“策略”。 通过在单个DBMS实例中页面状态从干净变为脏的情况下,引入分配给缓冲池数据页的每个数据库的一系列唯一序数(ORD#)的概念,该过程维护一个事务页面列表(TPL),用于 每个交易在ORD#订单。 因为脏页面列表(DPL)页面以ORD#序列排队,并且每个TPL包括与事务相关联的所有修改的页面,可以在相应的事务的提交时间为每个TPL执行具有DPL条目的合并扫描。 这将在DPL中以最小的DPL锁定争用进行一次通过。 需要降级的TPL页面分发到两个处理列表; 第一个立即强制执行SES的列表和第二个“使用中”页面列表,如果必要,在发布现有的进程锁存器时被迫使用SES。

    Method for managing database recovery from failure of a shared store in
a system including a plurality of transaction-based systems of the
write-ahead logging type
    5.
    发明授权
    Method for managing database recovery from failure of a shared store in a system including a plurality of transaction-based systems of the write-ahead logging type 失效
    用于从系统中的共享存储器的故障中管理数据库恢复的方法,包括多个基于事务的预写记录类型的系统

    公开(公告)号:US5280611A

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

    申请号:US790241

    申请日:1991-11-08

    摘要: In a multi-system data sharing complex, a database system can write updated pages to a shared electronic store for a fast write. Other database systems can obtain pages written to the shared store for further modification without the pages first being written to stable storage. However, pages are eventually written to the stable storage in a castout process. Recovery of a database from failure of the shared store is bounded by determination of a recovery boundary which, when applied to the union of database system transaction logs, establishes a point in front of which are found log records of modifications to pages which were in the shared store when it failed. These log records are applied to page versions obtained from stable storage to recover from failure of the shared store.

    摘要翻译: 在多系统数据共享复合体中,数据库系统可以将更新的页面写入共享电子商店以进行快速写入。 其他数据库系统可以获得写入共享存储区的页面,以便进一步修改,而无需首先将页面写入稳定存储。 但是,页面最终会在castout进程中写入稳定存储。 通过确定恢复边界来限制数据库的恢复,该恢复边界在应用于数据库系统事务日志的并集时建立一个前面的点,找到对位于 共享存储失败时。 这些日志记录应用于从稳定存储获得的页面版本,以从共享存储的故障中恢复。

    Computer program product and method for database management system supporting multiple temporary tables
    6.
    发明授权
    Computer program product and method for database management system supporting multiple temporary tables 有权
    用于数据库管理系统的计算机程序产品和方法,支持多个临时表

    公开(公告)号:US07774372B2

    公开(公告)日:2010-08-10

    申请号:US11749658

    申请日:2007-05-16

    IPC分类号: G06F7/00 G06F17/30 G06G7/48

    摘要: A computer system and a relational database management system (RDMS) computer program product are described for interfacing a number of concurrently running database sessions with a large database in which a plurality of local temporary object database descriptors are used in lieu of a single global temporary object database descriptor where the global and each of the local temporary object database descriptors include identifiers for temporary objects, each of the local temporary object database descriptors is associated with a single database session and each of the global database descriptors is shared among multiple database sessions.

    摘要翻译: 描述了计算机系统和关系数据库管理系统(RDMS)计算机程序产品,用于将多个并行运行的数据库会话与大数据库进行接口,其中使用多个本地临时对象数据库描述符来代替单个全局临时对象 数据库描述符,其中全局和每个本地临时对象数据库描述符包括临时对象的标识符,每个本地临时对象数据库描述符与单个数据库会话相关联,并且每个全局数据库描述符在多个数据库会话之间共享。

    Piecemeal list prefetch
    7.
    发明授权
    Piecemeal list prefetch 失效
    分片列表预取

    公开(公告)号:US08380680B2

    公开(公告)日:2013-02-19

    申请号:US12821801

    申请日:2010-06-23

    CPC分类号: G06F17/3048

    摘要: Prefetching data using a piecemeal list prefetching method. This is achieved by various means, including building a plurality of data pages, sorting the plurality of data pages into sequential data pages and a list of non-sequential pages, prefetching the sequential data pages using a first prefetching technique, and prefetching the non-sequential list of data pages using a second prefetching technique.

    摘要翻译: 使用零碎的列表预取方法预取数据。 这通过各种手段实现,包括构建多个数据页,将多个数据页排序成顺序数据页和非顺序页的列表,使用第一预取技术预取顺序数据页, 使用第二预取技术的数据页顺序列表。

    Automatic Maintenance of a Set of Indexes with Different Currency Characteristics in a Database Management System
    8.
    发明申请
    Automatic Maintenance of a Set of Indexes with Different Currency Characteristics in a Database Management System 审中-公开
    在数据库管理系统中自动维护一组具有不同货币特征的索引

    公开(公告)号:US20120016881A1

    公开(公告)日:2012-01-19

    申请号:US13082174

    申请日:2011-04-07

    IPC分类号: G06F17/30

    CPC分类号: G06F16/22

    摘要: Methods and apparatus, including computer program products, for maintaining a set of indexes in a database management system (DBMS) having at least one table. A current, stale or deferred status is defined for at least a part of the indexes, resulting in at least a part of a set of current, stale, or deferred indexes in the DBMS. Current indexes are maintained by refreshing a current index synchronously with a table change relating to the current index. Stale indexes are maintained by refreshing a stale index continuously and asynchronously to table modifications of tables relating to the stale index based on log information relating to the modifications. Deferred indexes are maintained by building a deferred index in response to a query to a table relating to the deferred index, thereby bringing the deferred index in accordance with the current query time status to the table relating to the deferred index.

    摘要翻译: 用于在具有至少一个表的数据库管理系统(DBMS)中维护一组索引的方法和装置,包括计算机程序产品。 为至少一部分索引定义当前,过期或延迟状态,导致DBMS中至少一部分当前,过时或延迟索引的一部分。 通过与当前索引相关的表更改同步刷新当前索引来维护当前索引。 通过基于与修改相关的日志信息,连续地和不同步地刷新与陈旧索引相关的表的表修改来维持陈旧索引来维持陈旧的索引。 通过建立延迟索引以响应于与延迟索引相关的表的查询来维护延迟索引,从而将根据当前查询时间状态的延迟索引带到与延迟索引相关的表。

    SYSTEM AND METHOD FOR MANAGING TEMPORARY STORAGE SPACE OF A DATABASE MANAGEMENT SYSTEM
    9.
    发明申请
    SYSTEM AND METHOD FOR MANAGING TEMPORARY STORAGE SPACE OF A DATABASE MANAGEMENT SYSTEM 审中-公开
    用于管理数据库管理系统的临时存储空间的系统和方法

    公开(公告)号:US20080243966A1

    公开(公告)日:2008-10-02

    申请号:US11695459

    申请日:2007-04-02

    IPC分类号: G06F17/30

    CPC分类号: G06F16/221 G06F16/2379

    摘要: A method and system to manage temporary storage space of a relational database management system by receiving a data segment allocation request from an application, allocating a data segment to the application, marking the data segment as allocated in a space map page, and indicating a usage status of the data segment. The method also includes receiving a mass delete command from the application, indicating reception of the mass delete command in a table-related control block, and marking the data segment as unavailable in the space map page. The method may also include indicating reception of the mass delete commit command in the table-related control block to enable the application to reuse the data segment.

    摘要翻译: 一种用于通过从应用接收数据段分配请求来管理关系数据库管理系统的临时存储空间的方法和系统,向应用分配数据段,标记在空间映射页中分配的数据段,并指示使用 数据段的状态。 该方法还包括从应用程序接收大量删除命令,指示在表相关控制块中接收到质量删除命令,并将该数据段标记为在空间地图页面中不可用。 该方法还可以包括指示在表相关控制块中接收质量删除提交命令以使应用能够重用该数据段。

    Fast system level recovery
    10.
    发明授权
    Fast system level recovery 有权
    快速系统级恢复

    公开(公告)号:US07107292B1

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

    申请号:US09687450

    申请日:2000-10-13

    IPC分类号: G06F17/30

    摘要: When recovering data in a database, initially, a database log, which records activities related to a database, is scanned. One or more individual objects that are to be recovered to a target time with reference to a backup time are identified.

    摘要翻译: 在数据库中恢复数据时,最初扫描记录与数据库相关的活动的数据库日志。 识别要参考备份时间恢复到目标时间的一个或多个单独对象。