TP/XA

博客介绍了全球事务,即涉及多个数据库服务器的分布式查询。阐述了全球事务环境的组成部分,包括客户端应用、资源管理器和事务管理器。还介绍了松散耦合和紧密耦合两种模式,以及MTS紧密耦合事务支持的限制,最后提及了一些标志和命令。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

A global transaction is a distributed query where more than one database server is
involved in the query. A global transaction environment has the following parts:
    The client application
    The resource manager (IBM Informix database server)
    The transaction manager (vendor software

 

Loosely coupled mode means that the different database servers coordinate transactions, but do not share resources. The records from all branches of the transactions display as separate transactions in the logical log.
Tightly coupled mode means that the different database servers coordinate transactions and share resources such as locking and logging. The records from all branches of the transactions display as a single transaction in the logical log.

MTS tightly coupled transaction support has the following restrictions:
    Temporary tables are limited to one transaction branch. Different transaction branches within one global transaction cannot share a temporary table.
     Different transaction branches within one global transaction cannot share cursors.
     Different transaction branches within one global transaction cannot share an isolation level or lock-wait mode. The isolation level and lock-wait mode of each transaction branch must be set individually or set to the default level. If you want the same isolation level for all transaction branches, you must use SQL to specify this information for each transaction branch.

 

the H flag in the flags field identifies a heuristic rollback, 
the G flag identifies a global transaction, 
the L flag indicates loosely coupled mode, 
the T flag indicates tightly coupled mode

 

onmode -Z $address

onstat -x

onstat -G

onstat -z

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

请叫我曾阿牛

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值