Centralized and distributed wait depth limited concurrency control methods and apparatus
US5193188A · kind A · utility
Assignee
Inventors
Key dates
| Filing date | Feb 25, 1991 |
| Grant date | Mar 9, 1993 |
| Priority date | — |
| Expiry date | Feb 25, 2011 |
Classification
- Technology area (CPC Y)Emerging Cross-Sectional Technologies
- CPC primaryY10S707/99938
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
A wait depth limited concurrency control method for use in a multi-user data processing environment restricts the depth of the waiting tree to a predetermined depth, taking into account the progress made by transactions in conflict resolution. In the preferred embodiment for a centralized transaction processing system, the waiting depth is limited to one. Transaction specific information represented by a real-valued function L, where for each transaction T in the system at any instant in time L(T) provides a measure of the current "length" of the transaction, is used to determine which transaction is to be restarted in case of a conflict between transactions resulting in a wait depth exceeding the predetermined depth. L(T) may be the number of locks currently held by a transaction T, the maximum of the number of locks held by any incarnation of transaction T, including the current one, or the sum of the number of locks held by each incarnation of transaction T up to the current one. In a distributed transaction processing system, L(T) is based on time wherein each global transaction is assigned a starting time, and this starting time is included in the startup message for each subt…
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.