Method and apparatus providing optimistic locking of shared computer resources
Abstract
Techniques for concurrent access to a resource object, such as a database object, include generating a lock data structure for a particular resource object. The lock data structure includes data values for a resource object identification, a lock type, and a version number. The version number is related to a number of changes to the resource object since the lock data structure was generated. By carrying a lock version number in a lock data structure managed by a lock manager, improved optimistic locking is provided in a database. In particular, the approach enables introduction of optimistic locking to a legacy database without requiring burdensome changes to a database table schema.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 31 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for managing access to a resource, the method comprising the computer-implemented steps of: receiving a request for access to a particular resource to make an update to the particular resource; generating a lock associated with the particular resource, wherein the lock comprises a first value for a version number that is equal to a value for a version number associated with the particular resource and is related to whether the particular resource has been updated, and wherein the first value for the version number is stored in the lock rather than in a database including data and attr
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (31)
Non-Patent Literature (5)
- Abstracts of Some of C. Mohan's Papers and Patents, Updated on Sep. 1, 2000, http://www.almaden.ibm.com/u/mohan/aries-papers.html, printed Jul. 23, 2001, 31 pages.
- Anne-Marie Kermarrec, et al., "A Recoverable Distributed Shared Memory Integrating Coherence and Recoverability," Jun. 27, 1995, IEEE, XP 000597800, pp. 289-298.
- C. Mohan, et al., "A Case Study of Problems in Migrating to Distributed Computing: Data Base Recovery Using Multiple Logs in the Shared Disks Environment", IBM Research Report RJ 7343 (68824), Database Technology Institute, IBM Almaden Research Center, Mar. 7, 1990, 20 pages.
- C. Mohan, et al., "Data Base Recovery in Shared Disks and Client-Server Architectures", IBM Research Report RJ 8685 (78247), Data Base Technology Institute, IBM Almaden Research Center, Mar. 1992, 20 pages.
- C. Mohan, et al., "Efficient Locking and Caching of Data in the Multisystem Shared Disks Transaction Environment", IBM Research Report RJ 8301 (75662), Data Base Technology Institute, IBM Almaden Research Center, Aug. 21, 1991, 20 pages.