首页> 外国专利> Method and apparatus for reducing data locking time by removing a lock when journal data is written into a main memory journal queue

Method and apparatus for reducing data locking time by removing a lock when journal data is written into a main memory journal queue

机译:通过将日志数据写入主存储器日志队列时取消锁定来减少数据锁定时间的方法和设备

摘要

A data management system, which is equipped with a data file and a journal file and adapted to reserve the exclusive occupation for data and then update the data, is characterized by releasing the exclusive occupation of data prior to writing of a journal to the journal file and of corresponding updated data to the data file. When data on a data base is updated, the exclusive occupation states of data to be updated are reserved first and then updating of the data is executed on a data buffer placed on a main memory and journals on the updating of the data are collected. The collected journals are entered into a first-in first-out journal queue in units of transactions. The exclusive occupation states of data on a corresponding transaction is released after corresponding journals have been stored in the journal queue. The journals stored in the journal queue are written to the journal file in units of transactions in the order in which they are entered into the queue. Subsequently updated data is written to the data file. The data in the data file is restored using the journal file when a system failure occurs in the data base.
机译:一种数据管理系统,其配备有数据文件和日记文件,并且适于保留数据的专有占用权,然后更新数据,其特征在于,在将日记写到日记文件之前释放数据的专有占用权并将相应的更新数据保存到数据文件中。当更新数据库上的数据时,首先保留要更新的数据的排他占用状态,然后在放置在主存储器上的数据缓冲区上执行数据的更新,并收集有关数据更新的日志。收集的日记帐将以事务为单位输入先进先出日记帐队列。在将相应的日记帐存储在日记帐队列中之后,释放相应事务中数据的排他占用状态。存储在日记帐队列中的日记帐以事务单位的顺序写入事务日志文件,顺序是将其输入队列。随后将更新的数据写入数据文件。当数据库中发生系统故障时,将使用日志文件还原数据文件中的数据。

著录项

  • 公开/公告号US5386554A

    专利类型

  • 公开/公告日1995-01-31

    原文格式PDF

  • 申请/专利权人 KABUSHIKI KAISHA TOSHIBA;

    申请/专利号US19910700862

  • 发明设计人 MASAHARU NOZAKI;

    申请日1991-05-16

  • 分类号G06F15/40;

  • 国家 US

  • 入库时间 2022-08-22 04:05:30

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号