Method and apparatus for reducing data locking time by removing a lock when journal data is written into a main memory journal queue
Abstract
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.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 52.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
An on line transaction processing method comprising the steps of: requesting to update data on a data base having a plurality of data files which must not be inconsistent; executing, in response to said requesting step, operations of reserving an exclusive occupation for a piece of data, updating the data and collecting a journal on updating of the data on a plurality of pieces of data, constituting one transaction, on said plurality of data files in sequence; storing the journal collected in said executing step in a unit of transactions into a volatile memory; releasing the exclusive oc
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 52 total)
References Cited — Backward Prior Art (5)
Non-Patent Literature (2)
- Gray, J., "Notes on Data Base Operating Systems", Operating Systems, an Advanced Course, 1977 pp. 394-481.
- Gray, J., Notes on Data Base Operating Systems , Operating Systems, an Advanced Course , 1977 pp. 394 481.