博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
inactive transaction branch
阅读量:6539 次
发布时间:2019-06-24

本文共 1454 字,大约阅读时间需要 4 分钟。

inactive transaction branch等待事件是由于dblink连接超时导致的,当多个dblink同时连接远程数据库做相同的工作时,等待的dblink如果等待时间过长就会触发此等待事件。

 

解决方法:

select spid from v$process where addr in (select paddr from v$session where sid=
);

使用SQL查出session的进程ID,并杀掉进程

kill -9 

 

文档 ID 1983151.1

The wait event "inactive transaction branch" are related to externally  coordinated transaction branches, typically from XA clients.

 A wait on this event typically means that the XA client/s have  asked different sessions to work on the same transaction  branch concurrently.

 eg:   Session 1 starts a transaction TX branch B1
       session 1 attaches to TX B1 and does some work
       Concurrently session 2 asks to attach to TX B1
          - session 2 cannot attach to TX B1 as it is
            still attached to session 1 so session 2
            waits on "inactive transaction branch"
 Usually the steps would either be serialized by the  clients OR would be using separate transaction branches
You should check the client application logic for concurrent operations issued  on the same transaction branch

文档 ID 21354456.8

This bug is only relevant when using Real Application Clusters (RAC)

A distributed transaction in a RAC database could wait forever for 'inactive transaction branch'.
Rediscovery Notes
If the wait event is 'inactive transaction branch' and the stack shows the wating session is in k2gInsert, it is this bug.
Workaround
Kill the waiting process and restart it.

转载于:https://www.cnblogs.com/priestess-zhao/p/8267803.html

你可能感兴趣的文章
PHP中HASH函数的优化技巧
查看>>
MD5加密
查看>>
RSA算法实例
查看>>
Dubbo源码之服务端并发控制——ExecuteLimitFilter
查看>>
ant
查看>>
微信,想要说爱你,却没有那么容易!
查看>>
有关sqlite与sql
查看>>
MapXtreme 2005 学习心得 概述(一)
查看>>
php进一法取整、四舍五入取整、忽略小数等的取整数方法大全
查看>>
Hibernate的拦截器和监听器
查看>>
游戏中学习Bash技能
查看>>
ubuntu 12.04系统托盘不显示ibus输入法图标的解决方法
查看>>
WSDP
查看>>
Memory Management
查看>>
The Packaging Process in Yocto/OE
查看>>
JQUERY 对 表格中的数据重排序
查看>>
程序员常用借口指南
查看>>
关于PXE网络安装linux系统中碰到的个别问题
查看>>
awk 常用方法
查看>>
Android网络框架实现之【Retrofit+RxJava】
查看>>