首页> 外国专利> Buffer fix procedure supporting both detection-based and avoidance-based cache coherency control scheme in a multisystem shared disk environment

Buffer fix procedure supporting both detection-based and avoidance-based cache coherency control scheme in a multisystem shared disk environment

机译:在多系统共享磁盘环境中支持基于检测和基于避免的缓存一致性控制方案的缓冲区修复过程

摘要

PURPOSE: A buffer installation method is provided to select an optimal cache consistency maintenance policy between a detection and an avoidance based scheme by using a feature of the DBMS where a concurrency control is performed on a basis of the unit of a table, a block or a record. CONSTITUTION: The method comprises several steps. A buffer manager searches for a corresponding buffer entry in a buffer if a buffer installation is requested(S101). A buffer lock mode for processing a current request is calculated by using an SMTBM(Scheme Mode To Buffer lock mode Matrix)(S102). If the determined buffer lock mode is more enough rather than the buffer lock mode which a current buffer has already obtained, the buffer installation request is immediately approved(S108). But if the obtained lock mode is less than the requested buffer mode or a currently loaded block version does not satisfy a requested version(S103, S104), a buffer lock is requested to a global lock manager(S105), and the buffer lock is waited for until receiving a block is successful(S106). If the receiving the block is successful, the buffer installation is approved(S108) and otherwise, the block is read from a disc(S107).
机译:用途:提供一种缓冲区安装方法,以通过使用基于表,块或表的单位进行并发控制的DBMS功能在检测和基于避免的方案之间选择最佳的高速缓存一致性维护策略。一个记录。组成:该方法包括几个步骤。如果请求安装缓冲器,则缓冲器管理器在缓冲器中搜索相应的缓冲器条目(S101)。通过使用SMTBM(方案模式到缓冲器锁定模式矩阵)来计算用于处理当前请求的缓冲器锁定模式(S102)。如果所确定的缓冲器锁定模式比当前缓冲器已经获得的缓冲器锁定模式足够,则立即批准缓冲器安装请求(S108)。但是,如果获得的锁定模式小于请求的缓冲模式,或者当前加载的块版本不满足请求的版本(S103,S104),则向全局锁定管理器请求缓冲锁定(S105),并且该缓冲锁定为等待直到成功接收到块为止(S106)。如果成功接收到该块,则批准缓冲器安装(S108),否则,从光盘读取该块(S107)。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号