How to Check the User and the SQL text (DML) of an In-doubt Distributed Transaction found in dba_2pc_pending (Doc ID 1327159.1)

Last updated on APRIL 04, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.4 to 11.2.0.4 [Release 10.2 to 11.2]
Information in this document applies to any platform.
INTERNAL Checked for curreny on 10-Dec-2012

Goal

An in-doubt distributed transaction is present in the data dictionary view DBA_2PC_PENDING. How to find the user (schema) who initiated this transaction and the transaction SQL text ?

Solution

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