SQL to Compare Streams Replicated Table Objects between Source and Target Sites
(Doc ID 858554.1)
Last updated on MARCH 12, 2021
Applies to:Oracle Database - Enterprise Edition - Version 220.127.116.11 to 18.104.22.168 [Release 9.2 to 12.1]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.
***Checked for relevance on 05-JAN-2013***
The purpose of this document is to provide several SQL scripts to allow the
Stream Database Administrator (usually the STRMADMIN user) to verify
structural differences between a replicated table object on the SOURCE
and that of its corresponding table object within the replication environment
at any other DESTINATION.
The reasoning behind the scripts being read-only anonymous SQL is due to the fact that these will be used on production databases and if this was in the form of a package then some customers have to go through rigorous change control and testing before ANY addition / change to the live set-up can be implemented. This is not what we want for this as they are problem solving scripts and need to be used on an adhoc basis.
To run these scripts ,the names of the replicated table object and the Global Name of the remote database should be known. The global name will always be the database link required to access the Destination from the source due to the need within replication of having the GLOBAL_NAMES parameter set to TRUE.
Each script should be run locally on the SOURCE. If a hard copy is required then the Set OUTPUT option should be used.
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