November 2002
Intermediate to advanced
624 pages
15h 9m
English
More than one application process might request access to the same data at the same time. Locking is used to maintain data integrity under such conditions, preventing, for example, two application processes from updating the same row of data simultaneously. For more information, refer to Chapter 16, “Locking and Concurrency.”
DB2 implicitly acquires locks to prevent uncommitted changes made by one application process from being perceived by any other. DB2 implicitly releases all locks it has acquired on behalf of an application process when that process ends, but an application process can also explicitly request that locks be released sooner.
A commit operation releases locks acquired by the ...
Read now
Unlock full access