Page refreshing procedure using two locking granularities to ensure
cache coherency in a multisystem database processing environment having
a high-speed shared electronic store
    21.
    发明授权
    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中阅读并重新注册最新版本。 本发明提供了一种依赖于页面锁定来序列化本地多用户和全局多系统活动的组合的必要的验证和刷新步骤的过程。 本发明的过程支持记录和页面锁定粒度。

    Sysplex shared data coherency method
    22.
    发明授权
    Sysplex shared data coherency method 失效
    Sysplex共享数据一致性方法

    公开(公告)号:US5537574A

    公开(公告)日:1996-07-16

    申请号:US860805

    申请日:1992-03-30

    摘要: A method for controlling coherence of data elements sharable among a plurality of independently-operating CPCs (central processing complexes) in a multi-system complex (called a parallel sysplex) which contains sysplex DASDds (direct access storage devices) and a high-speed SES (shared electronic storage) facility. Sysplex shared data elements are stored in the sysplex DASD under a unique sysplex data element name, which is used for sysplex coherence control. Any CPC may copy any sysplex data element into a local cache buffers (LCB) in the CPC's main storage, where it has an associated sysplex validity bit. The copying CPC executes a sysplex coherence registration command which requests a SES processor to verify that the data element name already exists in the SES cache, and to store the name of the data element in a SES cache entry if found in the SES cache. Importantly, the registration command communicates to SES the CPC location of the validity bit for the LCB containing that data element copy. Each time another copy of the data element is stored in any CPC LCB, a registration command is executed to store the location of that copy's CPC validity bit into a local cache register (LCR) associated with its data element name. In this manner, each LCR accumulates all CPC locations for all LCB validity bits for all valid copies of the associated data element in the sysplex -- for maintaining data coherency throughout the sysplex.

    摘要翻译: 一种用于控制在多系统复合体(称为并行系统复合体)中的多个独立操作的CPC(中央处理复合体)之间可共享的数据元素的相干性的方法,其包含系统复合DASDds(直接访问存储设备)和高速SES (共享电子存储)设施。 Sysplex共享数据元素以独特的sysplex数据元素名称存储在系统复合DASD中,用于进行系统复合相干控制。 任何CPC都可以将任何sysplex数据元素复制到CPC的主存储器中的本地缓存缓冲区(LCB)中,其中具有相关联的系统复合有效性位。 复制CPC执行系统复合一致性注册命令,该命令请求SES处理器验证数据元素名称是否已经存在于SES缓存中,并且如果在SES缓存中存在,则将数据元素的名称存储在SES缓存条目中。 重要的是,注册命令与SES通信包含该数据元素副本的LCB的有效位的CPC位置。 每当数据元素的另一副本存储在任何CPC LCB中时,执行注册命令以将该副本的CPC有效位的位置存储到与其数据元素名称相关联的本地高速缓存寄存器(LCR)中。 以这种方式,每个LCR对于sysplex中相关联的数据元素的所有有效副本累积所有LCB有效位的所有CPC位置,以保持整个系统复杂度的数据一致性。

    Method to off-load host-based DBMS predicate evaluation to a disk
controller
    23.
    发明授权
    Method to off-load host-based DBMS predicate evaluation to a disk controller 失效
    用于将基于主机的DBMS谓词评估卸载到磁盘控制器的计算机程序产品

    公开(公告)号:US5495601A

    公开(公告)日:1996-02-27

    申请号:US989447

    申请日:1992-12-11

    IPC分类号: G06F12/00 G06F11/14 G06F17/30

    摘要: A method is disclosed for a database system for [off-loading] off-loading, to disk [controller] controller, the extraction of committed [data involving the] data. The system first [picking] picks a Commit.sub.-- LSN value and [insuring] insures all the data modified prior to the Commit.sub.-- LSN value is processed following the DBMS policy of reducing some disk I/Os or not for the modified pages cached in the system. If the policy is not to do disk I/Os for such [pages] pages, then the system places the identifiers of those pages in an ignore list. Otherwise, the system writes those pages to disk and empties the ignore list. [After which] Afterwards, the system forwards the ignore list and the Commit.sub.--LSN along with information regarding the data to be processed to the controller. The controller performs the off-load function by reading from disk every page identified by the system except those in the ignore [list] list, and [determining] determining, for each [page] page, if the page's Page.sub.-- LSN value is less than the Commit.sub.-- LSN. If it [is] is, then the controller processes the page and adds any qualifying data from that page to a defined answer set. Otherwise, the controller adds the Page.sub.-- ID for that page to a defined exception list. The controller than passes the answer set and the exception list to the system. The system processes the pages identified in the exception list and those in the ignore list. The system consolidates these answers with the answer set returned by the controller for presentation to the user.

    摘要翻译: 公开了一种用于[卸载]卸载的数据库系统的方法,到磁盘[控制器]控制器,提取已提交的涉及数据的数据。 系统首先[pick]选择一个Commit-LSN值,并且[确保]确保在Commit-LSN值之前修改的所有数据被处理,遵循减少某些磁盘I / O的DBMS策略,而不是缓存在 系统。 如果策略不为这些[页]页面执行磁盘I / O,则系统将这些页面的标识符放置在忽略列表中。 否则,系统将这些页面写入磁盘并清空忽略列表。 [之后]之后,系统将忽略列表和Commit-LSN以及要处理的数据的信息与控制器进行转发。 控制器通过从除了[list]列表中的系统之外的系统识别的每个页面读取磁盘来执行卸载功能,以及[确定]对于每个[page]页面,如果页面的Page-LSN值较小 比Commit-LSN。 如果是,则控制器处理页面,并将该页面中的任何限定数据添加到定义的答案集。 否则,控制器将该页面的Page-ID添加到定义的异常列表中。 控制器将答案集和异常列表传递给系统。 系统处理异常列表中标识的页面和忽略列表中的页面。 系统将这些答案与控制器返回的回答集合合并,以呈现给用户。