Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

2. Once confirm that no transactions are pending on the source database and all the tables to be replicated are idle, get the current SCN. 

No Format
bgColorCCC
SQL>select current_scn from v$database;
CURRENT_SCN
-----------
1094745Lock and copy the data initially one-by-one or at a single SCN?
one-by-one : Lock tables one by one and capture SCN
single-scn : One SCN for all tables
ddl-only   : Only DDL script for target objects
resetlogs  : Use SCN from last resetlogs operation (standby activation, rman
incomplete recovery)                                                            (one-by-one/single-scn/ddl-only/resetlogs) [single-scn] 
What data instantiation script to create?
dp_networklink : Data Pump with network link. No export datafile is created
(APPLY.sh)
dp_exp         : Data Pump with export datafile. Creates an export datafile
(APPLY.sh)
exp            : Pre-datapump exp/imp with export datafile (APPLY.sh)
ddl_file       : DDL file created (APPLY.sql)
ddl_run        : DDL is automatically executed on target
load           : All replicated data is created and loaded automatically 
none                                                                            (dp_networklink/dp_exp/exp/ddl_file/ddl_run/load/none) [dp_networklink] load
Do you want to (re-)create the tables on target or keep them (they are already  created)? (create/keep) [keep] create   
Note

You can either lock the table or ensure in other ways (like application downtime) that no transactions are pending on the tables as of the SCN because pending and non-committed transactions would be lost.

...