CHAPTER 9Distributed Transactions andData-Distribution Strategies
A distributed transaction (XA) system allows different databases, and even different database engines, to participate in a single global transaction. As a result, you can update an employee record in DB2, update user preferences in Berkeley DB, and update payroll information in Oracle, all as part of a single, global distributed transaction.
This chapter will first discuss distributed transactions. You'll learn how to build a simple global transaction manager (GTM) and use it to execute transactions across multiple Berkeley DB environments. I'll then compare database replication with distributed transactions. Replication creates exact copies of databases, and as such, it is conceptually ...
Get The Berkeley DB Book 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.