Streams Replication Working or Not? [message #255868] |
Thu, 02 August 2007 03:36 |
Arju
Messages: 1554 Registered: June 2007 Location: Dhaka,Bangladesh. Mobile:...
|
Senior Member |
|
|
I have two database db1 and db2. I want to data replication of prod7 schema from db1 to db2. Both prod schema contains almost same data(a little different) I have done this.
[hide]
1.CONFIGURING STREAM ADMINISTRATOR.(both database)
2.CREATE DATABASE LINK(both databse)
3.SPECIFY SUPPLIMENT LOGGING(source database)
4 ENABLE FORCE LOGGING(source database)
5.CREATING CAPTURE PROCESS(source database)
After creating this process whenever I query it will show.
SQL> select capture_name,queue_name,queue_owner,start_scn,status,capture_type from dba_capture;
CAPTURE_NAME QUEUE_NAME QUEUE_OWNER START_SCN STATUS CAPTURE_TY
------------------------------ ------------------------------ ------------------------------ ----------
STREAMS_CAPTURE STREAMS_CAPTURE_Q STRMADMIN 3823913 DISABLED LOCAL
6.CREATING ANYDATA QUEUE(both database)
7.CREATING PROPAGATION(source database)
8 CREATING APPLY PROCESS(destinatin database)
9.PERFORMING INSTANTIATION
SQL>DECLARE
iscn NUMBER;
BEGIN
iscn := DBMS_FLASHBACK.GET_SYSTEM_CHANGE_NUMBER@TERMINUS.NET;
DBMS_APPLY_ADM.SET_SCHEMA_INSTANTIATION_SCN(
source_schema_name => 'PROD7',
source_database_name => 'TERMINUS.NET',
instantiation_scn => iscn,
recursive => true);
END;
/
Can anyone please tell me what to do now.
Anything, any comment any suggestion is expected.
|
|
|
|
|