Last updated on JULY 21, 2017
Applies to:Oracle Database - Enterprise Edition - Version 220.127.116.11 and later
Information in this document applies to any platform.
Query over Database link hangs. Even if we kill the local and remote sessions, the sessions hangs on wait event "inactive transaction branch".
Long running queries using Database Links hangs in wait event "inactive transaction branch"
The error stack at level 3 is taken on the process waiting process
SQL> connect / as sysdba
SQL> oradebug setospid <os pid>
SQL> oradebug unlimit
SQL> oradebug dump errorstack 3
The trace file is generated at the trace directory of the diag location
Call stack shows the below :
Trace file shows the below waits :
Current Wait Stack:
0: waiting for 'inactive transaction branch'
branch#=0x0, waited=0x0, =0x0
wait_id=2509497 seq_num=19168 snap_id=1
wait times: snap=0.001882 sec, exc=0.001882 sec, total=0.001882 sec
wait times: max=1.000000 sec, heur=38 min 15 sec
wait counts: calls=1 os=1
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms