首页>
外国专利>
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.
展开▼