My Oracle Support Banner

Query Over DBLINK Waiting For "'inactive transaction branch" (Doc ID 2060008.1)

Last updated on SEPTEMBER 19, 2022

Applies to:

Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A 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


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.