Query Over DBLINK Waiting For "'inactive transaction branch"

(Doc ID 2060008.1)

Last updated on JULY 21, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 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
         in_wait=1 iflags=0x5a8


 No changes


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms