Xa distributed transactions

Source: Internet
Author: User
Xa distributed transactions

Xa

The XA protocol is first proposed by Tuxedo and presented to the X/open organization as the interface standard for the Resource Manager (database) and transaction manager. Currently, major database manufacturers such as Oracle, Informix, DB2, and Sybase provide support for XA. The XA protocol uses a two-phase commit method to manage distributed transactions. The XA interface provides a standard interface for communication between the resource manager and the transaction manager. The XA protocol consists of two sets of functions, beginning with Xa_ and beginning with Ax_.

Introduction edit depends on context, XA has multiple meanings. The XA in our common database connection transaction refers to the specification of distributed transaction processing proposed by X/open organization. The XA specification primarily defines the interface between the transaction manager (Transaction Manager) and the local Resource manager. Some say that XA is the abbreviation of eXtended Architecture, In fact, I think this is just a coincidence. EXtended Architecture is a driver architecture for CD ROM. Action edit the following function to enable the transaction manager to perform operations on the resource Manager: 1) Xa_open,xa_close: Establish and close the connection to the resource manager. 2) Xa_start,xa_end: Start and end a local transaction. 3) Xa_prepare,xa_commit,xa_rollback: Pre-commit, commit, and rollback a local transaction. 4) Xa_recover: Rolls back a transaction that has been pre-committed. 5) Ax_ begins with a function that allows the resource manager to dynamically register in the transaction manager and can operate on XID (TRANSACTION IDS). 6) Ax_reg,ax_unreg; allow one resource manager to dynamically register or unregister in a single TMS (TRANSACTION MANAGER SERVER)

Xa distributed transactions

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.