Setting Up Replication Agent and Oracle to use ra_dumptran and ra_helpop
Troubleshoot using ra_dumptran and
ra_helpop.
Go to $ORACLE_HOME/rdbms/admin.
Log in as a “sys as sysdba” user.
Execute the Oracle LogMiner installation script:
@dbmslm.sql
After LogMiner is installed, create a public synonym
so that you do not have to log in as the owner to execute LogMiner
functions:
CREATE PUBLIC SYNONYM DBMS_LOGMNR FOR
SYS.DBMS_LOGMNR;
Note:
This step is required if you are using Oracle 10g.
Grant these privileges to pds_username:
EXECUTE_CATALOG_ROLE
SELECT ON V_$LOGMNR_CONTENTS
SELECT ON V_$LOGMNR_LOGS
SELECT ANY TRANSACTION
Note:
The
ra_migrate command verifies that
these privileges have been granted to pds_username. If these privileges have not been granted
at the time ra_migrate is invoked, a
warning message is returned and logged in the Replication Agent log
file.
Use ra_dumptran and ra_helpop according
to instructions provided in the Replication Agent Reference
Manual.