Summary

In this chapter, we have discussed how concurrency and serialization is controlled. To protect the data as it is being modified, rules are established and the changes and grouped into units of work. The data updated is made permanent by the COMMIT statement, or removed by the ROLLBACK statement. The rules of concurrency are determined by the isolation level, the lock size, and the rules of lock duration.

DB2 will implement the isolation level semantics of data access by implicitly acquiring locks on behalf of applications. Applications can decide to lock a resource for exclusive or share modes. The resources that can be locked are the row, page, table, table space, or partition.

If a requested lock is more restrictive, and another application ...

Get DB2® Universal Database for OS/390® Version 7.1 Certification Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.