My Oracle Support Banner

How to find the actual SQL statement with the v$logstdby_transaction.primary_xid (Doc ID 1301409.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Server - Enterprise Edition - Version: to - Release: 10.2 to 11.2
Information in this document applies to any platform.


The intention of this note is to provide a way to find out what is the actual SQL statement that is running in the Primary database where that primary_xid is identified from the logical standby database.

This should work if:
1) The SQL statement is not age out; and
2) Active session history has captured the information.


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.