0% found this document useful (0 votes)
116 views1 page

Resync Table GG

The document provides steps to resynchronize a single table between a source and target database using Oracle Data Pump export and import utilities (expdp and impdp): 1. Stop the existing replication process. Remove or exclude the problematic table. Restart the process. 2. Create a new replication process dedicated to the table. Truncate the table on the target. 3. Export the table from the source with a flashback SCN parameter. Import the table dump on the target. 4. Start the new replication process for the table, specifying an after SCN parameter to begin replication after the export SCN.

Uploaded by

tareqfrak
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
116 views1 page

Resync Table GG

The document provides steps to resynchronize a single table between a source and target database using Oracle Data Pump export and import utilities (expdp and impdp): 1. Stop the existing replication process. Remove or exclude the problematic table. Restart the process. 2. Create a new replication process dedicated to the table. Truncate the table on the target. 3. Export the table from the source with a flashback SCN parameter. Import the table dump on the target. 4. Start the new replication process for the table, specifying an after SCN parameter to begin replication after the export SCN.

Uploaded by

tareqfrak
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

1.

remove the table from the replicate process


2. stop the replicat and add it again
3. do scn export and import of the table
4. add replicate process for this table and start it after the scn of the export
5. stop the extract and make sure the pump and the two replicate rach the EOF
6. remove the new replicat process
7. add the table back to the old process

================
Steps to resync one single table using expdp/impdp
***************************************************************

1. Stop the Replicat Process.


2. Comment or Remove or Exclude the problematic table from the Replicat Parameter
file.
3. Start the Replicat Process.
4. Create a new Replicat Process dedicated to this table.
5. Truncate the Table on the Target Side.
Check the current scn of the database using the below command,

select current_scn from v$database;

6. Export the table from source with the following parameter in the EXPDP
flashback_scn=<CURRENT_SCN_from_Above_Query>
7. Import the Table dump in the Target.
8. Start the New Replicat Process with the below command,

start replicat <Replicat_Name>, aftercsn <CURRENT_SCN_from_Above_Query>

After importing the table in Target Side, if you don't want to start with a new
replicat and if you need to start with a older one itself, please follow the below
KM note.,

How to add new tables for OGG replication in the current running extract and
replicat ? ( Doc ID 1332674.1 )
==========================

expdp temp_user/temp_user directory=DATA_PUMP_DIR dumpfile=att_log.dmp


logfile=att_log.log tables=ICIS.HR_ATT_LOG_DATA flashback_scn=620058571

impdp temp_user/temp_user directory=DATA_PUMP_DIR dumpfile=att_log.dmp


logfile=att_log.log tables=ICIS.HR_ATT_LOG_DATA

start replicat R_ATT01J, aftercsn 620058571

You might also like