encyclopegia.org

Distributed transaction

A distributed transaction operates within a distributed environment, typically involving multiple nodes across a network depending on the location of the data.[src] A key aspect of distributed transactions is atomicity, which ensures that the transaction is completed in its entirety or not executed at all.[src] It's essential to note that distributed transactions are not limited to databases.[src] The Open Group, a vendor consortium, proposed the X/Open Distributed Transaction Processing Model (X/Open XA), which became a de facto standard for the behavior of transaction model components.[src] Databases are common transactional resources and, often, transactions span a couple of such databases.[src] In this case, a distributed transaction can be seen as a database transaction that must be synchronized (or provide ACID properties) among multiple participating databases which are distributed among different physical locations.[src] The isolation property (the I of ACID) poses a special challenge for multi database transactions, since the (global) serializability property could be violated, even if each database provides it (see also global serializability).[src] In practice most commercial database systems use strong strict two-phase locking (SS2PL) for concurrency control, which ensures global serializability, if all the participating databases employ it.…[src]

A distributed transaction operates within a distributed environment, typically involving multiple nodes across a network depending on the location of the data.[src] A key aspect of distributed transactions is atomicity, which ensures that the transaction is completed in its entirety or not executed at all.[src] It's essential to note that distributed transactions are not limited to databases.[src] The Open Group, a vendor consortium, proposed the X/Open Distributed Transaction Processing Model (X/Open XA), which became a de facto standard for the behavior of transaction model components.[src] Databases are common transactional resources and, often, transactions span a couple of such databases.[src] In this case, a distributed transaction can be seen as a database transaction that must be synchronized (or provide ACID properties) among multiple participating databases which are distributed among different physical locations.[src] The isolation property (the I of ACID) poses a special challenge for multi database transactions, since the (global) serializability property could be violated, even if each database provides it (see also global serializability).[src] In practice most commercial database systems use strong strict two-phase locking (SS2PL) for concurrency control, which ensures global serializability, if all the participating databases employ it.[src] A common algorithm for ensuring correct completion of a distributed transaction is the two-phase commit (2PC).[src] This algorithm is usually applied for updates able to commit in a short period of time, ranging from couple of milliseconds to couple of minutes.[src] There are also long-lived distributed transactions, for example a transaction to book a trip, which consists of booking a flight, a rental car and a hotel.[src] Since booking the flight might take up to a day to get a confirmation, two-phase commit is not applicable here, it will lock the resources for this long.[src] In this case more sophisticated techniques that involve multiple undo levels are used.[src] The way you can undo the hotel booking by calling a desk and cancelling the reservation, a system can be designed to undo certain operations (unless they are irreversibly finished).[src] In practice, long-lived distributed transactions are implemented in systems based on web services.[src] Usually these transactions utilize principles of compensating transactions, Optimism and Isolation Without Locking.[src] The X/Open standard does not cover long-lived distributed transactions.[src] Several technologies, including Jakarta Enterprise Beans and Microsoft Transaction Server fully support distributed transaction standards.[src] ==References== ==Further reading== Gerhard Weikum, Gottfried Vossen, Transactional information systems: theory, algorithms, and the practice of concurrency control and recovery, Morgan Kaufmann, 2002,[src]

27 sentences · 27 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Distributed transaction." encyclopegia.org, 2026, https://encyclopegia.org/wiki/distributed-transaction. Accessed 26 November 2026.

Chicago

"Distributed transaction." encyclopegia.org. Accessed November 26, 2026. https://encyclopegia.org/wiki/distributed-transaction.

APA

encyclopegia.org. (2026). Distributed transaction. Retrieved November 26, 2026, from https://encyclopegia.org/wiki/distributed-transaction

Accessed November 26, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

distributed.net

stub · references available

Distributed Social Networking Protocol

stub · references available

transaction signature

stub · references available

AppleTalk Transaction Protocol

stub · references available

Distributed Computing Environment

stub · references available

Distributed Replicated Block Device

stub · references available

transaction bank

stub · references available

online transaction processing

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1342964393 · 0.5 · snapshot enwiki-001342964393

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.