0% found this document useful (0 votes)
207 views3 pages

Difference Between Classical Integrated

In this document , we discuss in detail the difference between the classical and integrated replication. How to setup classical replication and how to setup integerated replication
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)
207 views3 pages

Difference Between Classical Integrated

In this document , we discuss in detail the difference between the classical and integrated replication. How to setup classical replication and how to setup integerated replication
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/ 3

Classical

================

paramter file
=============

EXTRACT extsrc01
USERID gg_owner, password gg_owner
EXTTRAIL ./dirdat/aa
TABLE SYSMAN.MGMT_AUDIT_LOGS;

ggsci > add extract extsrc01, tranlog, begin now

Intergrated

EXTRACT extsrc01
USERID gg_owner, password gg_owner
LOGALLSUPCOLS UPDATERECORDFORMAT COMPACT
TRANLOGOPTIONS INTEGRATEDPARAMS (max_sga_size 200, parallelism 2)
EXTTRAIL ./dirdat/aa
TABLE SYSMAN.MGMT_AUDIT_LOGS;

Add extract

ggsci > add extract extsrc01, integrated tranlog, begin now

ggsci > dblogin userid gg_owner, password gg_owner


ggsci > add extract extsrc01, integrated tranlog, begin now
ggsci > register extract extsrc01 database

Replicat
=================

Classical

REPLICAT replcat1
userid ggs_admin, password ggs_admin
DISCARDFILE ./ dirdsc/ replcat1. dsc, PURGE
ASSUMETARGETDEFS
MAP SYSMAN.MGMT_AUDIT_LOGS TARGET SYSMAN.MGMT_AUDIT_LOGS;

ggsci > dblogin userid ggs_owner, password ggs_owner


ggsci > add replicat rep01 , exttrail ./dirdat/bb

Integrated

REPLICAT replcat1
DBOPTIONS INTEGRATED PARAMS( parallelism 6)
userid ggs_admin, password ggs_admin
DISCARDFILE ./ dirdsc/ replcat1. dsc, PURGE
ASSUMETARGETDEFS
MAP SYSMAN.MGMT_AUDIT_LOGS TARGET SYSMAN.MGMT_AUDIT_LOGS;

ggsci > dblogin userid ggs_owner, password ggs_owner

ggsci > add replicat rep01 integerated exttrail ./dirdat/bb

ggsci > register replicat rep01 database

Upgarde classical extract to integrated


=======================================

1) Stop extract
2) Register extract
3) Check if the classical extract is ready for upgrade
4) Upgrade

1)ggsci> stop extract extsrc01


2)ggsci> register extract extsrc01 database
3)ggsci> info extract extsrc01 upgrade
4)ggsci> ALTER EXTRACT EXTSRC01, UPGRADE INTEGRATED TRANLOG

Upgarde classical replicat to integrated


=======================================

For upgrading to integrated replicat , please make sure that the following
parameters are added to extract

LOGALLSUPCOLS
UPDATERECORDFORMAT COMPACT

1) Stop replicat
2) Register replicat
3) Upgrade to integrated
4) Start replicat

1) ggsci > stop replicat rep01


2) GGSCI > register replicat rep01 database
3) ggsci > alter replicat rep01, integrated
4) GGSCI > start replicat rep01

You might also like