How data sharing works

This section gives you an overview of how DB2 protects the consistency of shared data and how that data is updated.

How DB2 protects data consistency

Applications can access data from any DB2 subsystem in the data sharing group. Many subsystems can potentially read and write the same data. DB2 uses special data sharing mechanisms for locking and caching to ensure data consistency.

When multiple members of a data sharing group have opened the same table space, index space, or partition, and at least one of them has opened it for writing, the data is said to be of inter-DB2 read-write interest to the members. (Sometimes this book uses the term inter-DB2 interest.) To control access to data that is of inter-DB2 interest, whenever ...

Get Official Introduction to DB2® for z/OS®, The, 2nd Edition 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.