Method of maintaining consistency of cached data in a database system
Abstract
A method of maintaining the consistency of cached data in a client-server database system. Three new locks--a cache lock, a pending lock and an out-of-date lock--are added to a two-lock concurrency control system. A new long-running envelope transaction holds a cache lock on each object cached by a given client. A working transaction of the client works only with the cached object until commit time. If a second client's working transaction acquires an "X" lock on the object the cache lock is changed to a pending lock; if the transaction thereafter commits the pending lock is changed to an out-of-date lock. If the first client's working transaction thereafter attempts to commit, it waits for a pending lock to change; it aborts if it encounters an out-of-date lock; and otherwise it commits.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 157.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method of maintaining consistency of cached data in a computerized database system of the kind that includes (a) a server having a lock manager that provides share and exclusive locks, a database memory, and a plurality of objects stored in the database memory and (b) a remotely located cache memory for storing objects for use by a first client application, each object in the cache memory corresponding with an object in the database memory, the method comprising: acquiring a cache lock on an object in the database memory that is copied into the cache, this step being per
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 157 total)
References Cited — Backward Prior Art (11)
Non-Patent Literature (4)
- "Integrated Concurrency-Coherency Controls for Multisystem Data Sharing", by Dias, D. M., Balakrishna, R. I., Robinson, J. T. and Yu, P. S.; IEEE Transactions on Software Eng., vol. 15, No. 4, Apr. 1989, pp. 437-448.
- "VAXclusters: A Closely-Coupled Distributed System", by Kronenberg, N. P., Levy, H. M., Strecker, W. D.; ACM Transactions on Computer Systems, vol. 4, No. 2, May 1986, pp. 130-146.
- Integrated Concurrency Coherency Controls for Multisystem Data Sharing , by Dias, D. M., Balakrishna, R. I., Robinson, J. T. and Yu, P. S.; IEEE Transactions on Software Eng., vol. 15, No. 4, Apr. 1989, pp. 437 448.
- VAXclusters: A Closely Coupled Distributed System , by Kronenberg, N. P., Levy, H. M., Strecker, W. D.; ACM Transactions on Computer Systems, vol. 4, No. 2, May 1986, pp. 130 146.