Databases

Distributed transaction

A transaction that changes data in 2 or more databases: either all commit, or all undo.

Example

A purchase charges in the payments database and lowers stock in another: 2 databases, 1 transaction.

Test yourself: Distributed transaction

Distributed transactions

What is a distributed transaction?

Lessons that use it

More databases terms

All terms →

Arki, the beaver mascot

Your next interview starts with 5 minutes today.

Free on iOS and Android. Start from zero, no account needed.