O'Reilly logo

The Berkeley DB Book by Himanshu Yadava

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required