Selective pessimistic locking for a concurrently updateable database
Abstract
Software and a method selectively apply a pessimistic concurrency control for each database update that conflicts with another database update. The method includes determining whether a database update conflicts with another database update, applying an optimistic concurrency control for each database update that does not conflict with another database update, and applying a pessimistic concurrency control for each database update that does conflict with another database update. This provides a selective locking concurrency control that selectively applies transaction serialization and locking only when transaction conflicts are detected. As a result, the selective locking concurrency control avoids livelock transaction failures and provides deterministic transaction completion without the computational expense of a conventional pessimistic concurrency control.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 58.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A concurrent transaction updating method for concurrently updating a database, comprising: determining whether a database update conflicts with another database update; applying an optimistic concurrency control for each database update that does not conflict with another database update; and applying a pessimistic concurrency control for each database update that does conflict with another database update, the pessimistic concurrency control being applied in a replay of each database update that conflicts with another database update.
- Claim 2Depends on #1
The method of claim 1 in which each database update that conflicts with another database update undergoes only one replay.
- Claim 3Depends on #1
The method of claim 1 in which the pessimistic concurrency control applies a lock to the database during the database up
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 58 total)
References Cited — Backward Prior Art (6)
Non-Patent Literature (1)
- Almarode, Jay and Bretl, Robert, Reduced-Conflict Objects, JOOP -Journal of Object Oriented Programming, Jan., 1998, pp. 40-44.