Previous Topic: Area ContentionNext Topic: Minimizing Contention


Entity Occurrence Contention

Record locks

CA IDMS/DB sets record locks on entity occurrences accessed by transactions operating under the central version. Record locks are never maintained for transactions operating in local mode, since concurrent update is prevented by physical area locks.

Locks can be set implicitly by the central version or explicitly by the programmer, as described below:

Functions

Record locks perform four functions:

Increased contention

Record locks can sometimes increase contention among programs that require access to database resources. In some instances, conditions that result from the use of record locks can even cause abnormal termination of transactions executing under the central version. The following conditions can occur: