Distributed Transaction Processing

Distributed transaction processing allows an application to control a UOW across more than one database connection. For example, if you have a requirement to deplete the funds of an account from one database and then transfer those funds to another database, you can do so within the control of a single transaction. This type of processing is called a distributed unit of work (DUOW). When committing this type of transaction, two phases are required to complete the request. The first phase is to ensure that each database is capable of committing its own UOW. For this case, the first database must be able to successfully deplete the funds and the second to add the funds. A transaction monitor is used to coordinate ...

Get DB2® Universal Database™ v8 Application Development Certification Guide, 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.