SlideShare a Scribd company logo
1 of 19
Oracle Golden Gate
Oracle GoldenGate isa comprehensive software package forreal-timedataintegrationandreplication
inheterogeneousITenvironments. The productsetenableshighavailabilitysolutions,real-time data
integration,transactionalchange datacapture,datareplication,transformations,andverification
betweenoperationalandanalytical enterprise systems. Inadditiontothe Oracle GoldenGate core
platformforreal-time datamovement,Oracle providesthe ManagementPackforOracle GoldenGate—
a visual managementandmonitoringsolutionforOracle GoldenGate deployments—aswell asOracle
GoldenGate Veridata,whichallowshigh-speed,high-volumecomparisonbetweentwoin-use databases.
As inthe followingtable are supportedbythe database technologyof Oracle GoldenGate solutions.
Business-critical systemsmustofferthe highestavailability, ensure fastandeasyaccessto the right
data, andquicklyadaptto changingbusinessandITdemands.Withtransactionvolume increasingatan
exponential rate asmore and more businessprocessesare conductedonline,manyorganizationsneeda
bettersolutiontocollectanddeliverimmediateaccesstothe tremendousamountof enterprise data.
GoldenGate Installation:
[root@ANAR1 /]# mkdir /ggs
[root@ANAR1 /]# chown oracle:oinstall /ggs
Primary Database:
- Oracle- IBM DB2
- Microsoft SQL Server
- Sysbase ASE
- Teradata
- Enscribe
- SQL/MP
- SQL/MX
[root@ANAR1 /]# cp /V26185-01.zip /ggs/V26185-01.zip
Aftercopying:
[root@ANAR1 /]# su - oracle
[oracle@ANAR1 ~]$ cd /ggs
[oracle@ANAR1 ~]$ unzip V26185-01.zip
[oracle@ANAR1 ~]$ tar -xvf
ggs_redhatAS40_x64_ora10g_64bit_v10.4.0.19_002.tar
Afteropeningthe package cannowno longerpart of the configurationforthe goldengate.
[oracle@ANAR1 ~]$ export PATH=$PATH:/ggs
[oracle@ANAR1 ~]$ export GGATE=/ggs
[oracle@ANAR1 ~]$ export
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib:$GGATE
[oracle@ANAR1 ~]$ cd
[oracle@ANAR1 ~]$ vi .bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then . ~/.bashrc fi
# User specific environment and startup programs
export ORACLE_HOME=/oracle/product/10.2.0/db_1 export
ORACLE_SID=test export NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P9
alias oh='cd $ORACLE_HOME;pwd' export
ORACLE_PATH=$ORACLE_BASE/common/oracle/sql:.:$ORACLE_HOME/rdbms/a
dmin # Each RAC node must have a unique ORACLE_SID. (i.e. orcl1,
orcl2,...) export
PATH=.:${JAVA_HOME}/bin:${PATH}:$HOME/bin:$ORACLE_HOME/bin export
PATH=${PATH}:/usr/bin:/usr/sbin/:/bin:/usr/X11R6/bin:/usr/local/b
in export PATH=${PATH}:$ORACLE_BASE/common/oracle/bin export
ORACLE_TERM=xterm export TNS_ADMIN=$ORACLE_HOME/network/admin
export ORA_NLS10=$ORACLE_HOME/nls/data #export
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib:/usr/bin/java:/
usr/lib64 export LD_LIBRARY_PATH=/oracle/product/10.2.0/db_1/lib/
#export
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/lib:/usr/lib:/usr/local/lib:/
usr/bin/java:/usr/lib64 #export CLASSPATH=$ORACLE_HOME/jre
#export CLASSPATH=${CLASSPATH}:$ORACLE_HOME/jlib #export
CLASSPATH=${CLASSPATH}:$ORACLE_HOME/rdbms/jlib #export
CLASSPATH=${CLASSPATH}:$ORACLE_HOME/network/jlib #export
THREADS_FLAG=native export TEMP=/tmp export TMPDIR=/tmp
GG_HOME=/ggs; export GG_HOME export GGATE=/ggs export
PATH=$PATH:/ggs export
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib:$GGATE alias
gg='cd /ggs'
NowI can go to the GoldenGate side.First,we're goingtointerface withGoldenGate ggsc.
[oracle@ANAR1 ~]$ cd /ggs
[oracle@ANAR1 ggs]$ ggsci
Oracle GoldenGate Command Interpreter for Oracle Version
10.4.0.19 Build 002 Linux, x64, 64bit (optimized), Oracle 10 on
Sep 22 2009 14:18:08 Copyright (C) 1995, 2009, Oracle and/or its
affiliates. All rights reserved.
We create a sub-directoryof the GoldenGate.
GGSCI (ANAR1) 1> CREATE SUBDIRS Creating subdirectories under
current directory /ggs Parameter
files /ggs/dirprm: created Report
files /ggs/dirrpt: created Checkpoint
files /ggs/dirchk: created Process status
files /ggs/dirpcs: created SQL script
files /ggs/dirsql: created Database definitions
files /ggs/dirdef: created Extract data
files /ggs/dirdat: created Temporary
files /ggs/dirtmp: created Veridata
files /ggs/dirver: created Veridata Lock
files /ggs/dirver/lock: created Veridata Out-Of-Sync
files /ggs/dirver/oos: created Veridata Out-Of-Sync XML files
/ggs/dirver/oosxml: created Veridata Parameter
files /ggs/dirver/params: created Veridata Report
files /ggs/dirver/report: created Veridata Status
files /ggs/dirver/status: created Veridata Trace
files /ggs/dirver/trace: created Stdout
files /ggs/dirout: created
GGSCI (ANAR1) 2> exit
[oracle@ANAR1 ~]$ mkdir $GGATE/discard
Preparationsinthe database side.- Let'scheckwhetherthe archive mode isactive onboth
machines.
[oracle@ANAR1 ~]$ sqlplus '/as sysdba'
SQL*Plus: Release 10.2.0.3.0 - Production on Wed Nov 30 12:51:11
2011 Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Connected to: Oracle Database 10g Enterprise Edition Release
10.2.0.3.0 - 64bit Production With the Partitioning, OLAP and
Data Mining options
SQL> select log_mode from v$database;
LOG_MODE ------------ ARCHIVELOG
[oracle@ANAR2 ~]$ sqlplus '/as sysdba'
SQL*Plus: Release 10.2.0.4.0 - Production on Thu Oct 14 16:06:15
2010 Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to: Oracle Database 10g Release 10.2.0.4.0 - 64bit
Production
SQL> select log_mode from v$database;
LOG_MODE ------------ ARCHIVELOG
As can be seeninboththe database appearinarchive mode andwe can start supplementallog
data on bothmachines.
SQL> alter database add supplemental log data;
We can observe the state of the database supplemental logging.
SQL> select SUPPLEMENTAL_LOG_DATA_MIN,
SUPPLEMENTAL_LOG_DATA_PK,SUPPLEMENTAL_LOG_DATA_UI from
v$database;
SUPPLEME SUP SUP -------- --- --- YES YES YES
For Example:
GGSCI (ANAR1) 2> DBLOGIN USERID ggate, PASSWORD ggate
Successfully logged into database.
GGSCI (ANAR1) 3> ADD TRANDATA SENDER.TEST
Logging of supplemental redo data enabled for table SENDER.TEST
We can completedfollowing stepstomake the DDL operationand We will dothisagaininthe
followingtwodatabase operations.
SQL> alter system set recyclebin=off scope=both;
NextstepWe can of DDL.
SQL> create user ggate identified by ggate default tablespace
users temporary tablespace temp;
SQL> grant connect,resource,unlimited tablespace to ggate;
SQL> grant execute on utl_file to ggate;
SQL> grant select any dictionary, select any table to ggate;
SQL> grant create table to ggate;
SQL> grant flashback any table to ggate;
SQL> grant execute on dbms_flashback to ggate;
SQL> grant execute on utl_file to ggate;
So, Should be run next SQL command for DDL replication.
[oracle@ANAR1 ~]$ cd /ggs
SQL> @$GGATE/marker_setup.sql;
Marker setup script You will be prompted for the name of a
schema for the GoldenGate database objects. NOTE: The schema must
be created prior to running this script. NOTE: Stop all DDL
replication before starting this installation.
Enter GoldenGate schema name:ggate
Marker setup table script complete, running verification
script... Please enter the name of a schema for the GoldenGate
database objects: Setting schema name to GGATE MARKER TABLE
------------------------------- OK MARKER SEQUENCE -------------
------------------ OK Script complete.
[oracle@ANAR2 ~]$ cd /ggs
SQL> create tablespace GGATE datafile
'/oracle/product/oradata/TEST/ggate.dbf' size 1000M;
Tablespace created.
SQL> alter user ggate default tablespace GGATE;
SQL> @$GGATE/ddl_setup.sql;
GoldenGate DDL Replication setup script Verifying that current
user has privileges to install DDL Replication... You will be
prompted for the name of a schema for the GoldenGate database
objects. NOTE: The schema must be created prior to running this
script. NOTE: On Oracle 10g and up, system recycle bin must be
disabled. NOTE: Stop all DDL replication before starting this
installation. Enter GoldenGate schema name:ggate You will be
prompted for the mode of installation. To install or reinstall
DDL replication, enter INITIALSETUP To upgrade DDL replication,
enter NORMAL Enter mode of installation:INITIALSETUP Working,
please wait ... Spooling to file ddl_setup_spool.txt Using GGATE
as a GoldenGate schema name, INITIALSETUP as a mode of
installation. Working, please wait ... RECYCLEBIN must be empty.
This installation will purge RECYCLEBIN for all users. To
proceed, enter yes. To stop installation, enter no. Enter yes or
no:yes DDL replication setup script complete, running
verification script... Please enter the name of a schema for the
GoldenGate database objects: Setting schema name to GGATE
DDLORA_GETTABLESPACESIZE STATUS: Line/pos Error ---------- ----
------------------------------------------------------------- No
errors No errors CLEAR_TRACE STATUS: Line/pos Error ----------
-----------------------------------------------------------------
No errors No errors CREATE_TRACE STATUS: Line/pos Error ------
---- ------------------------------------------------------------
----- No errors No errors TRACE_PUT_LINE STATUS:
Line/pos Error ---------- -------------------------------------
---------------------------- No errors No errors INITIAL_SETUP
STATUS: Line/pos Error ---------- -----------------------------
------------------------------------ No errors No errors
DDLVERSIONSPECIFIC PACKAGE STATUS: Line/pos Error ---------- --
---------------------------------------------------------------
No errors No errors DDLREPLICATION PACKAGE STATUS:
Line/pos Error ---------- -------------------------------------
---------------------------- No errors No errors DDLREPLICATION
PACKAGE BODY STATUS: Line/pos Error ---------- ----------------
------------------------------------------------- No errors No
errors DDL HISTORY TABLE ----------------------------------- OK
DDL HISTORY TABLE(1) ----------------------------------- OK DDL
DUMP TABLES ----------------------------------- OK DDL DUMP
COLUMNS ----------------------------------- OK DDL DUMP LOG
GROUPS ----------------------------------- OK DDL DUMP PARTITIONS
----------------------------------- OK DDL DUMP PRIMARY KEYS ----
------------------------------- OK DDL SEQUENCE -----------------
---------------- OK GGS_TEMP_COLS -------------------------------
---- OK GGS_TEMP_UK ----------------------------------- OK DDL
TRIGGER CODE STATUS: Line/pos Error ---------- ----------------
------------------------------------------------- No errors No
errors DDL TRIGGER INSTALL STATUS -------------------------------
---- OK DDL TRIGGER RUNNING STATUS ------------------------------
----- ENABLED STAYMETADATA IN TRIGGER ---------------------------
-------- OFF DDL TRIGGER SQL TRACING ----------------------------
------- 0 DDL TRIGGER TRACE LEVEL -------------------------------
----0 LOCATION OF DDL TRACE FILE --------------------------------
------------------------------------------------
/oracle/product/10.2.0/db_1/admin/test/udump/ggs_ddl_trace.log
Analyzing installation status... STATUS OF DDL REPLICATION ------
-----------------------------------------------------------------
--------- SUCCESSFUL installation of DDL Replication software
components Script complete.
[oracle@ANAR1 ~]$ cd /ggs
SQL> @$GGATE/role_setup.sql;
GGS Role setup script This script will drop and recreate the role
GGS_GGSUSER_ROLE To use a different role name, quit this script
and then edit the params.sql script to change the gg_role
parameter to the preferred name. (Do not run the script.)You will
be prompted for the name of a schema for the GoldenGate database
objects. NOTE: The schema must be created prior to running this
script. NOTE: Stop all DDL replication before starting this
installation.
Enter GoldenGate schema name:ggate Wrote file role_setup_set.txt
PL/SQL procedure successfully completed. Role setup script
complete Grant this role to each user assigned to the Extract,
GGSCI, and Manager processes, by using the following SQL command:
GRANT GGS_GGSUSER_ROLE TO <loggedUser> where <loggedUser> is the
user assigned to the GoldenGate processes.
SQL> grant GGS_GGSUSER_ROLE to ggate;
Grant succeeded.
SQL> @$GGATE/ddl_enable.sql;
Trigger altered.
Replication Preparation.
Source database:
SQL> create user sender identified by qwerty default tablespace
users temporary tablespace temp;
SQL> grant connect,resource,unlimited tablespace to sender;
SQL> GRANT SELECT any dictionary, SELECT any TABLE TO sender;
SQL> GRANT CREATE TABLE TO sender;
SQL> GRANT flashback any TABLE TO sender;
Destination database:
SQL> create user receiver identified by qwerty default tablespace
users temporary tablespace temp;
SQL> grant connect,resource,unlimited tablespace to receiver;
SQL> GRANT SELECT any dictionary, SELECT any TABLE TO receiver;
SQL> GRANT CREATE TABLE TO receiver;
SQL> GRANT flashback any TABLE TO receiver;
NowWe can start SIMPLE replication.
[oracle@ANAR1 ~]$ cd $GGATE
[oracle@ANAR1 ggs]$ ./ggsci
Oracle GoldenGate Command Interpreter for Oracle Version
10.4.0.19 Build 002 Linux, x64, 64bit (optimized), Oracle 10 on
Sep 22 2009 14:18:08 Copyright (C) 1995, 2009, Oracle and/or its
affiliates. All rights reserved.
GGSCI (ANAR1) 1> edit params mgr PORT 7809
GGSCI (ANAR1) 2> start manager Manager started.
GGSCI (ANAR1) 3> info all
Program Status Group Lag Time Since
Chkpt MANAGER RUNNING
GGSCI (ANAR1) 7> add extract ext1, tranlog, begin now EXTRACT
added.
GGSCI (ANAR1) 8> ADD EXTTRAIL /ggs/dirdat/ex, EXTRACT EXT1
EXTTRAIL added.
GGSCI (ANAR1) 8> ADD RMTTRAIL /ggs/dirdat/lt, EXTRACT EXT1
GGSCI (ANAR1) 9> edit params ext1 SETENV
(ORACLE_HOME = "/oracle/product/10.2.0/db_1") SETENV (ORACLE_SID
= "TEST") EXTRACT ext1 USERID ggate, PASSWORD ggate --EXTTRAIL
/ggs/dirdat/ex RMTHOST ANAR2, MGRPORT 7809 ddl include mapped
objname sender.*; RMTTRAIL /ggs/dirdat/lt TABLE sender.*;
GGSCI (ANAR1) 10> info all
Program Status Group Lag Time Since
Chkpt
MANAGER RUNNING EXT
RACT STOPPED EXT1 00:00:00 00:12:24
[oracle@ANAR2 ~]$ cd /ggs/
[oracle@ANAR2 ggs]$ mkdir discard
[oracle@ANAR2 ggs]$./ggsci
GGSCI (ANAR2) 5> edit params ./GLOBAL GGSCHEMA ggate
CHECKPOINTTABLE ggate.checkpoint
GGSCI (ANAR2) 6> dblogin userid ggate Password: Successfully
logged into database.
GGSCI (ANAR2) 7> add checkpointtable ggate.checkpoint
Successfully created checkpoint table GGATE.CHECKPOINT.
GGSCI (ANAR2) 8> add replicat rep1, exttrail
/ggs/dirdat/lt,checkpointtable ggate.checkpoint REPLICAT added.
GGSCI (ANAR1) 9> edit params rep1 SETENV (ORACLE_HOME =
"/oracle/product/10.2.0/db_1") SETENV (ORACLE_SID = "TEST")
replicat rep1 ASSUMETARGETDEFS userid ggate, password ggate
discardfile /ggs/discard/rep1_discard.txt, append, megabytes 10
DDL map sender.*, target receiver.*;
Nowwe can start the replicationprocess.
Source:
GGSCI (ANAR1) 14> start extract ext1 Sending START request to
MANAGER ... EXTRACT EXT1 starting
GGSCI (ANAR1) 84> info all
Program Status Group Lag Time Since
Chkpt
MANAGER RUNNING EXT
RACT RUNNING EXT1 00:00:00 01:20:19
Destination:
GGSCI (ANAR2) 15> start replicat rep1 Sending START request to
MANAGER ... REPLICAT REP1 starting
GGSCI (ANAR2) 19> info all
Program Status Group Lag Time Since
Chkpt
MANAGER RUNNING REP
LICAT RUNNING REP1 00:00:00 00:00:02
If there is a shortage at the start of one of the serviceswe cansee itindetail withthe following
command.
GGSCI (ANAR1) 90> view report ext1
*****************************************************************
****** Oracle GoldenGate Capture for Oracle
Version 10.4.0.19 Build 002
Linux, x64, 64bit (optimized), Oracle 10 on Sep 22 2009
14:21:44 Copyright (C) 1995, 2009, Oracle and/or its
affiliates. All rights reserved.
Starting at 2014-02-02 13:33:53
*****************************************************************
****** Operating System Version: Linux Version #1 SMP Sun May 2
04:17:42 EDT 2010, Release 2.6.18-194.3.1.el5 Node: ANAR1
Machine: x86_64 soft limit hard limit
Address Space Size : unlimited unlimited Heap
Size : unlimited unlimited File
Size : unlimited unlimited CPU
Time : unlimited unlimited Process id: 27201
Description:
*****************************************************************
****** ** Running with the following
parameters **
*****************************************************************
******
SETENV (ORACLE_HOME = "/oracle/product/10.2.0/db_1") SETENV
(ORACLE_SID = "TEST") EXTRACT ext1 USERID ggate, PASSWORD ggate -
-EXTTRAIL /ggs/dirdat/ex RMTHOST ANAR2, MGRPORT 7809 ddl include
mapped objname sender.*; RMTTRAIL /ggs/dirdat/lt TABLE sender.*;
CACHEMGR virtual memory values (may have been adjusted)
CACHEBUFFERSIZE: 64K
CACHESIZE: 8G CACHEBUFFERSIZE
(soft max): 4M CACHEPAGEOUTSIZE
(normal): 4M PROCESS VM AVAIL FROM OS
(min): 16G CACHESIZEMAX (strict force to disk): 13.99G
Database Version: Oracle Database 10g Enterprise Edition Release
10.2.0.3.0 - 64bi PL/SQL Release 10.2.0.3.0 - Production
CORE 10.2.0.3.0 Production TNS for Linux: Version
10.2.0.3.0 - Production NLSRTL Version 10.2.0.3.0 - Production
Database Language and Character Set: NLS_LANG =
"AMERICAN_AMERICA.WE8ISO8859P9" NLS_LANGUAGE = "AMERICAN"
NLS_TERRITORY = "AMERICA" NLS_CHARACTERSET =
"WE8ISO8859P9"
GGSCI (ANAR2) 24> view report rep1
*****************************************************************
****** Oracle GoldenGate Delivery for
Oracle Version 10.4.0.19 Build
002 Linux, x64, 64bit (optimized), Oracle 10 on Sep 22 2009
14:23:18 Copyright (C) 1995, 2009, Oracle and/or its
affiliates. All rights reserved.
Starting at 2014-02-15 16:48:10
*****************************************************************
****** Operating System Version: Linux Version #1 SMP Sun May 2
04:17:42 EDT 2010, Release 2.6.18-194.3.1.el5 Node: ANAR2Machine:
x86_64 soft limit hard limit Address Space
Size : unlimited unlimited Heap
Size : unlimited unlimited File
Size : unlimited unlimited CPU
Time : unlimited unlimited Process id: 17369
Description:
*****************************************************************
****** ** Running with the following
parameters **
*****************************************************************
****** SETENV (ORACLE_HOME = " /oracle/product/10.2.0/db_1") Set
environment variable (ORACLE_HOME=/oracle/product/10.2.0/db_1)
SETENV (ORACLE_SID = "TEST") Set environment variable
(ORACLE_SID=TEST) replicat rep1 ASSUMETARGETDEFS userid ggate,
password ***** discardfile /ggs/discard/rep1_discard.txt, append,
megabytes 10 DDL map sender.*, target receiver.*; CACHEMGR
virtual memory values (may have been adjusted)
CACHEBUFFERSIZE: 64K
CACHESIZE: 512M CACHEBUFFERSIZE
(soft max): 4M CACHEPAGEOUTSIZE
(normal): 4M PROCESS VM AVAIL FROM OS
(min): 1G CACHESIZEMAX (strict force to disk): 881M
Database Version: Oracle Database 10g Release 10.2.0.4.0 - 64bit
Production PL/SQL Release 10.2.0.4.0 - Production
CORE 10.2.0.4.0 Production TNS for Linux: Version
10.2.0.4.0 - Production NLSRTL Version 10.2.0.4.0 - Production
Database Language and Character Set:
NLS_LANG environment variable not set, using default value
AMERICAN_AMERICA.US7ASCII. NLS_LANGUAGE = "AMERICAN"
NLS_TERRITORY = "AMERICA" NLS_CHARACTERSET = "WE8ISO8859P9"
Warning: NLS_LANG is not set. Please refer to user manual for
more information.
Now,let'stestthe source side,we create a table.
Source:
[oracle@ANAR1 dirdat]$ sqlplus '/as sysdba'
SQL> conn sender/sender
Connected.
SQL> create table TEST (column1 varchar2(10));
Table created.
SQL> insert into TEST values('TEST');
1 row created.
SQL> commit;
Commit complete.
SQL> select * from TEST;
COLUMN1 ---------- TEST
Destination :
[oracle@ANAR2 ~]$ sqlplus '/as sysdba'
SQL> conn receiver/receiver
Connected.
SQL> select * from TEST;
COLUMN1 ---------- TEST
As seenreplication hasbeencompletedsuccessfully.Then Icansee the statusof the replication
studies below commandonbothside.
GGSCI (ANAR1) 80> stats *
Sending STATS request to EXTRACT EXT1 ... Start of Statistics at
2011-12-04 12:06:00. DDL replication statistics (for all trails):
*** Total statistics since extract
started *** Operations
1.00 Mapped
operations 1.00 Unmapped
operations 0.00 Other
operations 0.00 Excluded
operations 0.00
Output to /ggs/dirdat/ex: Extracting from GGATE.GGS_MARKER to
GGATE.GGS_MARKER:
*** Total statistics since 2011-12-04 11:26:12 *** No
database operations have been performed.
*** Daily statistics since 2011-12-04 11:26:12 ***
No database operations have been performed.
*** Hourly statistics since 2011-12-04 12:00:00 ***
No database operations have been performed.
*** Latest statistics since 2011-12-04 11:26:12 ***
No database operations have been performed.
Extracting from SENDER.TEST to RECEIVER.TEST:
*** Total statistics since 2011-12-04 11:26:12 ***
Total inserts 1.00 Total
updates 0.00 Total
deletes 0.00 Total
discards 0.00 Total
operations 1.00
*** Daily statistics since 2011-12-04 11:26:12 ***
Total inserts 1.00 Total
updates 0.00 Total
deletes 0.00 Total
discards 0.00 Total
operations 1.00
*** Hourly statistics since 2011-12-04 12:00:00 ***
No database operations have been performed.
*** Latest statistics since 2011-12-04 11:26:12
*** Total inserts 1.00
Total updates 0.00 Total
deletes 0.00 Total
discards 0.00 Total
operations 1.00
End of Statistics.
GGSCI (ANAR2) 29> stats *
Sending STATS request to REPLICAT REP1 ... Start of Statistics at
2014-02-18 15:21:04. DDL replication statistics: *** Total
statistics since replicat
started * Operations
1.00 Mapped
operations 1.00 Unmapped
operations 0.00 Other
operations 0.00 Excluded
operations 0.00 Errors
0.00 Retried
errors 0.00 Discarded
errors 0.00 Ignored
errors 0.00
Replicating from SENDER.TEST to RECEIVER.TEST: *** Total
statistics since 2014-02-18 14:42:17 *** Total
inserts 1.00 Total
updates 0.00 Total
deletes 0.00 Total
discards 0.00 Total
operations 1.00
*** Daily statistics since 2014-02-18 14:42:17 *** Total
inserts 1.00 Total
updates 0.00 Total
deletes 0.00 Total
discards 0.00 Total
operations 1.00
*** Hourly statistics since 2014-02-18 15:00:00 *** No
database operations have been performed
*** Latest statistics since 2014-02-18 14:42:17 * Total
inserts 1.00 Total
updates 0.0 Total
deletes 0.00 Total
discards 0.00 Total
operations 1.00
End of Statistics.
Oracle GoldenGate

More Related Content

What's hot

Oracle12c Pluggable Database Hands On - TROUG 2014
Oracle12c Pluggable Database Hands On - TROUG 2014Oracle12c Pluggable Database Hands On - TROUG 2014
Oracle12c Pluggable Database Hands On - TROUG 2014Özgür Umut Vurgun
 
Oracle Active Data Guard 12c New Features
Oracle Active Data Guard 12c New FeaturesOracle Active Data Guard 12c New Features
Oracle Active Data Guard 12c New FeaturesEmre Baransel
 
Upgrade 11.2.0.1 gi crs to 11.2.0.2 in linux
Upgrade 11.2.0.1 gi crs to 11.2.0.2 in linuxUpgrade 11.2.0.1 gi crs to 11.2.0.2 in linux
Upgrade 11.2.0.1 gi crs to 11.2.0.2 in linuxmaclean liu
 
RAC - The Savior of DBA
RAC - The Savior of DBARAC - The Savior of DBA
RAC - The Savior of DBANikhil Kumar
 
Dataguard physical stand by setup
Dataguard physical stand by setupDataguard physical stand by setup
Dataguard physical stand by setupsmajeed1
 
Direct SGA access without SQL
Direct SGA access without SQLDirect SGA access without SQL
Direct SGA access without SQLKyle Hailey
 
Installing oracle grid infrastructure and database 12c r1
Installing oracle grid infrastructure and database 12c r1Installing oracle grid infrastructure and database 12c r1
Installing oracle grid infrastructure and database 12c r1Voeurng Sovann
 
RAC-Installing your First Cluster and Database
RAC-Installing your First Cluster and DatabaseRAC-Installing your First Cluster and Database
RAC-Installing your First Cluster and DatabaseNikhil Kumar
 
Oracle dataguard overview
Oracle dataguard overviewOracle dataguard overview
Oracle dataguard overviewaguswahyudi09
 
Oracle Database 11g Product Family
Oracle Database 11g Product FamilyOracle Database 11g Product Family
Oracle Database 11g Product FamilyN/A
 
Oracle 11g R2 RAC setup on rhel 5.0
Oracle 11g R2 RAC setup on rhel 5.0Oracle 11g R2 RAC setup on rhel 5.0
Oracle 11g R2 RAC setup on rhel 5.0Santosh Kangane
 
Real-Time Query for Data Guard
Real-Time Query for Data Guard Real-Time Query for Data Guard
Real-Time Query for Data Guard Uwe Hesse
 
MySQL Utilities -- Cool Tools For You: PHP World Nov 16 2016
MySQL Utilities -- Cool Tools For You: PHP World Nov 16 2016MySQL Utilities -- Cool Tools For You: PHP World Nov 16 2016
MySQL Utilities -- Cool Tools For You: PHP World Nov 16 2016Dave Stokes
 
Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2
Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2
Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2Markus Flechtner
 
Install and upgrade Oracle grid infrastructure 12.1.0.2
Install and upgrade Oracle grid infrastructure 12.1.0.2Install and upgrade Oracle grid infrastructure 12.1.0.2
Install and upgrade Oracle grid infrastructure 12.1.0.2Biju Thomas
 
Oracle 11g R2 RAC implementation and concept
Oracle 11g R2 RAC implementation and conceptOracle 11g R2 RAC implementation and concept
Oracle 11g R2 RAC implementation and conceptSantosh Kangane
 
Oracle Diagnostics : Latches and Enqueues
Oracle Diagnostics : Latches and EnqueuesOracle Diagnostics : Latches and Enqueues
Oracle Diagnostics : Latches and EnqueuesHemant K Chitale
 
Oracle Exadata Maintenance tasks 101 - OTN Tour 2015
Oracle Exadata Maintenance tasks 101 - OTN Tour 2015Oracle Exadata Maintenance tasks 101 - OTN Tour 2015
Oracle Exadata Maintenance tasks 101 - OTN Tour 2015Nelson Calero
 

What's hot (20)

Oracle12c Pluggable Database Hands On - TROUG 2014
Oracle12c Pluggable Database Hands On - TROUG 2014Oracle12c Pluggable Database Hands On - TROUG 2014
Oracle12c Pluggable Database Hands On - TROUG 2014
 
Rac questions
Rac questionsRac questions
Rac questions
 
Oracle Active Data Guard 12c New Features
Oracle Active Data Guard 12c New FeaturesOracle Active Data Guard 12c New Features
Oracle Active Data Guard 12c New Features
 
Upgrade 11.2.0.1 gi crs to 11.2.0.2 in linux
Upgrade 11.2.0.1 gi crs to 11.2.0.2 in linuxUpgrade 11.2.0.1 gi crs to 11.2.0.2 in linux
Upgrade 11.2.0.1 gi crs to 11.2.0.2 in linux
 
RAC - The Savior of DBA
RAC - The Savior of DBARAC - The Savior of DBA
RAC - The Savior of DBA
 
Dataguard physical stand by setup
Dataguard physical stand by setupDataguard physical stand by setup
Dataguard physical stand by setup
 
Direct SGA access without SQL
Direct SGA access without SQLDirect SGA access without SQL
Direct SGA access without SQL
 
Installing oracle grid infrastructure and database 12c r1
Installing oracle grid infrastructure and database 12c r1Installing oracle grid infrastructure and database 12c r1
Installing oracle grid infrastructure and database 12c r1
 
RAC-Installing your First Cluster and Database
RAC-Installing your First Cluster and DatabaseRAC-Installing your First Cluster and Database
RAC-Installing your First Cluster and Database
 
Oracle dataguard overview
Oracle dataguard overviewOracle dataguard overview
Oracle dataguard overview
 
Oracle Database 11g Product Family
Oracle Database 11g Product FamilyOracle Database 11g Product Family
Oracle Database 11g Product Family
 
Oracle 11g R2 RAC setup on rhel 5.0
Oracle 11g R2 RAC setup on rhel 5.0Oracle 11g R2 RAC setup on rhel 5.0
Oracle 11g R2 RAC setup on rhel 5.0
 
Oracle Data Guard
Oracle Data GuardOracle Data Guard
Oracle Data Guard
 
Real-Time Query for Data Guard
Real-Time Query for Data Guard Real-Time Query for Data Guard
Real-Time Query for Data Guard
 
MySQL Utilities -- Cool Tools For You: PHP World Nov 16 2016
MySQL Utilities -- Cool Tools For You: PHP World Nov 16 2016MySQL Utilities -- Cool Tools For You: PHP World Nov 16 2016
MySQL Utilities -- Cool Tools For You: PHP World Nov 16 2016
 
Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2
Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2
Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2
 
Install and upgrade Oracle grid infrastructure 12.1.0.2
Install and upgrade Oracle grid infrastructure 12.1.0.2Install and upgrade Oracle grid infrastructure 12.1.0.2
Install and upgrade Oracle grid infrastructure 12.1.0.2
 
Oracle 11g R2 RAC implementation and concept
Oracle 11g R2 RAC implementation and conceptOracle 11g R2 RAC implementation and concept
Oracle 11g R2 RAC implementation and concept
 
Oracle Diagnostics : Latches and Enqueues
Oracle Diagnostics : Latches and EnqueuesOracle Diagnostics : Latches and Enqueues
Oracle Diagnostics : Latches and Enqueues
 
Oracle Exadata Maintenance tasks 101 - OTN Tour 2015
Oracle Exadata Maintenance tasks 101 - OTN Tour 2015Oracle Exadata Maintenance tasks 101 - OTN Tour 2015
Oracle Exadata Maintenance tasks 101 - OTN Tour 2015
 

Viewers also liked

Asm disk group migration from
Asm disk group migration from Asm disk group migration from
Asm disk group migration from Anar Godjaev
 
Oracle Golden Gate
Oracle Golden GateOracle Golden Gate
Oracle Golden GateAnar Godjaev
 
Conditional Control
Conditional ControlConditional Control
Conditional ControlAnar Godjaev
 
Backup and Recovery
Backup and RecoveryBackup and Recovery
Backup and RecoveryAnar Godjaev
 
Database Vault / Verinin Güvenliği
Database Vault /  Verinin GüvenliğiDatabase Vault /  Verinin Güvenliği
Database Vault / Verinin GüvenliğiAnar Godjaev
 
Audit Mekani̇zmasi
Audit Mekani̇zmasiAudit Mekani̇zmasi
Audit Mekani̇zmasiAnar Godjaev
 
Backup and Recovery Procedure
Backup and Recovery ProcedureBackup and Recovery Procedure
Backup and Recovery ProcedureAnar Godjaev
 

Viewers also liked (10)

Asm disk group migration from
Asm disk group migration from Asm disk group migration from
Asm disk group migration from
 
Oracle Golden Gate
Oracle Golden GateOracle Golden Gate
Oracle Golden Gate
 
Conditional Control
Conditional ControlConditional Control
Conditional Control
 
Tuning SGA
Tuning SGATuning SGA
Tuning SGA
 
Wait Interface
Wait InterfaceWait Interface
Wait Interface
 
Table Partitions
Table PartitionsTable Partitions
Table Partitions
 
Backup and Recovery
Backup and RecoveryBackup and Recovery
Backup and Recovery
 
Database Vault / Verinin Güvenliği
Database Vault /  Verinin GüvenliğiDatabase Vault /  Verinin Güvenliği
Database Vault / Verinin Güvenliği
 
Audit Mekani̇zmasi
Audit Mekani̇zmasiAudit Mekani̇zmasi
Audit Mekani̇zmasi
 
Backup and Recovery Procedure
Backup and Recovery ProcedureBackup and Recovery Procedure
Backup and Recovery Procedure
 

Similar to Oracle GoldenGate

配置Golden gate同步ddl语句
配置Golden gate同步ddl语句配置Golden gate同步ddl语句
配置Golden gate同步ddl语句maclean liu
 
Oracle Golden Gate Interview Questions
Oracle Golden Gate Interview QuestionsOracle Golden Gate Interview Questions
Oracle Golden Gate Interview QuestionsArun Sharma
 
Oracle 12 c new-features
Oracle 12 c new-featuresOracle 12 c new-features
Oracle 12 c new-featuresNavneet Upneja
 
IOUG Data Integration SIG w/ Oracle GoldenGate Solutions and Configuration
IOUG Data Integration SIG w/ Oracle GoldenGate Solutions and ConfigurationIOUG Data Integration SIG w/ Oracle GoldenGate Solutions and Configuration
IOUG Data Integration SIG w/ Oracle GoldenGate Solutions and ConfigurationBobby Curtis
 
Oracle goldengate 11g schema replication from standby database
Oracle goldengate 11g schema replication from standby databaseOracle goldengate 11g schema replication from standby database
Oracle goldengate 11g schema replication from standby databaseuzzal basak
 
DataEng Mad - 03.03.2020 - Tibero 30-min Presentation.pdf
DataEng Mad - 03.03.2020 - Tibero 30-min Presentation.pdfDataEng Mad - 03.03.2020 - Tibero 30-min Presentation.pdf
DataEng Mad - 03.03.2020 - Tibero 30-min Presentation.pdfMiguel Angel Fajardo
 
Improve PostgreSQL replication with Oracle GoldenGate
Improve PostgreSQL replication with Oracle GoldenGateImprove PostgreSQL replication with Oracle GoldenGate
Improve PostgreSQL replication with Oracle GoldenGateBobby Curtis
 
Setup oracle golden gate 11g replication
Setup oracle golden gate 11g replicationSetup oracle golden gate 11g replication
Setup oracle golden gate 11g replicationKanwar Batra
 
Schema replication using oracle golden gate 12c
Schema replication using oracle golden gate 12cSchema replication using oracle golden gate 12c
Schema replication using oracle golden gate 12cuzzal basak
 
Kerberizing Spark: Spark Summit East talk by Abel Rincon and Jorge Lopez-Malla
Kerberizing Spark: Spark Summit East talk by Abel Rincon and Jorge Lopez-MallaKerberizing Spark: Spark Summit East talk by Abel Rincon and Jorge Lopez-Malla
Kerberizing Spark: Spark Summit East talk by Abel Rincon and Jorge Lopez-MallaSpark Summit
 
Hw09 Production Deep Dive With High Availability
Hw09   Production Deep Dive With High AvailabilityHw09   Production Deep Dive With High Availability
Hw09 Production Deep Dive With High AvailabilityCloudera, Inc.
 
GLOC 2014 NEOOUG - Oracle Database 12c New Features
GLOC 2014 NEOOUG - Oracle Database 12c New FeaturesGLOC 2014 NEOOUG - Oracle Database 12c New Features
GLOC 2014 NEOOUG - Oracle Database 12c New FeaturesBiju Thomas
 
Automate DG Best Practices
Automate DG  Best PracticesAutomate DG  Best Practices
Automate DG Best PracticesMohsen B
 
Oracle goldengate and RAC12c
Oracle goldengate and RAC12cOracle goldengate and RAC12c
Oracle goldengate and RAC12cSiraj Ahmed
 
High Availability And Oracle Data Guard 11g R2
High Availability And Oracle Data Guard 11g R2High Availability And Oracle Data Guard 11g R2
High Availability And Oracle Data Guard 11g R2Mario Redón Luz
 
Manual Tecnico OGG Oracle to MySQL
Manual Tecnico OGG Oracle to MySQLManual Tecnico OGG Oracle to MySQL
Manual Tecnico OGG Oracle to MySQLErick Vidbaz
 
Crs issue commands
Crs issue commandsCrs issue commands
Crs issue commandsraviranchi02
 

Similar to Oracle GoldenGate (20)

Gg steps
Gg stepsGg steps
Gg steps
 
配置Golden gate同步ddl语句
配置Golden gate同步ddl语句配置Golden gate同步ddl语句
配置Golden gate同步ddl语句
 
Oracle Golden Gate Interview Questions
Oracle Golden Gate Interview QuestionsOracle Golden Gate Interview Questions
Oracle Golden Gate Interview Questions
 
Oracle 12 c new-features
Oracle 12 c new-featuresOracle 12 c new-features
Oracle 12 c new-features
 
IOUG Data Integration SIG w/ Oracle GoldenGate Solutions and Configuration
IOUG Data Integration SIG w/ Oracle GoldenGate Solutions and ConfigurationIOUG Data Integration SIG w/ Oracle GoldenGate Solutions and Configuration
IOUG Data Integration SIG w/ Oracle GoldenGate Solutions and Configuration
 
Oracle goldengate 11g schema replication from standby database
Oracle goldengate 11g schema replication from standby databaseOracle goldengate 11g schema replication from standby database
Oracle goldengate 11g schema replication from standby database
 
DataEng Mad - 03.03.2020 - Tibero 30-min Presentation.pdf
DataEng Mad - 03.03.2020 - Tibero 30-min Presentation.pdfDataEng Mad - 03.03.2020 - Tibero 30-min Presentation.pdf
DataEng Mad - 03.03.2020 - Tibero 30-min Presentation.pdf
 
Improve PostgreSQL replication with Oracle GoldenGate
Improve PostgreSQL replication with Oracle GoldenGateImprove PostgreSQL replication with Oracle GoldenGate
Improve PostgreSQL replication with Oracle GoldenGate
 
Setup oracle golden gate 11g replication
Setup oracle golden gate 11g replicationSetup oracle golden gate 11g replication
Setup oracle golden gate 11g replication
 
Schema replication using oracle golden gate 12c
Schema replication using oracle golden gate 12cSchema replication using oracle golden gate 12c
Schema replication using oracle golden gate 12c
 
Kerberizing Spark: Spark Summit East talk by Abel Rincon and Jorge Lopez-Malla
Kerberizing Spark: Spark Summit East talk by Abel Rincon and Jorge Lopez-MallaKerberizing Spark: Spark Summit East talk by Abel Rincon and Jorge Lopez-Malla
Kerberizing Spark: Spark Summit East talk by Abel Rincon and Jorge Lopez-Malla
 
data_all_oracle
data_all_oracledata_all_oracle
data_all_oracle
 
Hw09 Production Deep Dive With High Availability
Hw09   Production Deep Dive With High AvailabilityHw09   Production Deep Dive With High Availability
Hw09 Production Deep Dive With High Availability
 
GLOC 2014 NEOOUG - Oracle Database 12c New Features
GLOC 2014 NEOOUG - Oracle Database 12c New FeaturesGLOC 2014 NEOOUG - Oracle Database 12c New Features
GLOC 2014 NEOOUG - Oracle Database 12c New Features
 
Automate DG Best Practices
Automate DG  Best PracticesAutomate DG  Best Practices
Automate DG Best Practices
 
Oracle goldengate and RAC12c
Oracle goldengate and RAC12cOracle goldengate and RAC12c
Oracle goldengate and RAC12c
 
High Availability And Oracle Data Guard 11g R2
High Availability And Oracle Data Guard 11g R2High Availability And Oracle Data Guard 11g R2
High Availability And Oracle Data Guard 11g R2
 
Insync10 goldengate
Insync10 goldengateInsync10 goldengate
Insync10 goldengate
 
Manual Tecnico OGG Oracle to MySQL
Manual Tecnico OGG Oracle to MySQLManual Tecnico OGG Oracle to MySQL
Manual Tecnico OGG Oracle to MySQL
 
Crs issue commands
Crs issue commandsCrs issue commands
Crs issue commands
 

More from Anar Godjaev

Oracle 10g Database Server Kurulum
Oracle 10g Database Server KurulumOracle 10g Database Server Kurulum
Oracle 10g Database Server KurulumAnar Godjaev
 
DataPump ile Single Parititon Export
DataPump ile Single Parititon ExportDataPump ile Single Parititon Export
DataPump ile Single Parititon ExportAnar Godjaev
 
Redologlar ve Yöneti̇mi̇
Redologlar ve Yöneti̇mi̇Redologlar ve Yöneti̇mi̇
Redologlar ve Yöneti̇mi̇Anar Godjaev
 
Veri̇tabani ve Kullanici Yöneti̇mi̇
Veri̇tabani ve Kullanici Yöneti̇mi̇Veri̇tabani ve Kullanici Yöneti̇mi̇
Veri̇tabani ve Kullanici Yöneti̇mi̇Anar Godjaev
 
Instance ve Media Bozukluklarını Inceleme
Instance ve Media Bozukluklarını IncelemeInstance ve Media Bozukluklarını Inceleme
Instance ve Media Bozukluklarını IncelemeAnar Godjaev
 
Oracle Managed Files
Oracle Managed FilesOracle Managed Files
Oracle Managed FilesAnar Godjaev
 
Recovery Manager (RMAN)
Recovery Manager (RMAN)Recovery Manager (RMAN)
Recovery Manager (RMAN)Anar Godjaev
 
Oracle Enterprise Linux 5
Oracle Enterprise Linux 5Oracle Enterprise Linux 5
Oracle Enterprise Linux 5Anar Godjaev
 
Oracle Database 11g R2 Installation
Oracle Database 11g R2 InstallationOracle Database 11g R2 Installation
Oracle Database 11g R2 InstallationAnar Godjaev
 
Oracle Tablespace Yonetimi
Oracle Tablespace YonetimiOracle Tablespace Yonetimi
Oracle Tablespace YonetimiAnar Godjaev
 

More from Anar Godjaev (19)

Oracle 10g Database Server Kurulum
Oracle 10g Database Server KurulumOracle 10g Database Server Kurulum
Oracle 10g Database Server Kurulum
 
DataPump ile Single Parititon Export
DataPump ile Single Parititon ExportDataPump ile Single Parititon Export
DataPump ile Single Parititon Export
 
Redologlar ve Yöneti̇mi̇
Redologlar ve Yöneti̇mi̇Redologlar ve Yöneti̇mi̇
Redologlar ve Yöneti̇mi̇
 
Contraints
ContraintsContraints
Contraints
 
Oracle SQL
Oracle SQLOracle SQL
Oracle SQL
 
Veri̇tabani ve Kullanici Yöneti̇mi̇
Veri̇tabani ve Kullanici Yöneti̇mi̇Veri̇tabani ve Kullanici Yöneti̇mi̇
Veri̇tabani ve Kullanici Yöneti̇mi̇
 
Instance ve Media Bozukluklarını Inceleme
Instance ve Media Bozukluklarını IncelemeInstance ve Media Bozukluklarını Inceleme
Instance ve Media Bozukluklarını Inceleme
 
PL/SQL Blocks
PL/SQL BlocksPL/SQL Blocks
PL/SQL Blocks
 
Parallel Server
Parallel ServerParallel Server
Parallel Server
 
Memory Management
Memory ManagementMemory Management
Memory Management
 
LogMiner
LogMinerLogMiner
LogMiner
 
Undo Management
Undo ManagementUndo Management
Undo Management
 
ASM
ASMASM
ASM
 
Oracle Managed Files
Oracle Managed FilesOracle Managed Files
Oracle Managed Files
 
Recovery Manager (RMAN)
Recovery Manager (RMAN)Recovery Manager (RMAN)
Recovery Manager (RMAN)
 
Oracle Enterprise Linux 5
Oracle Enterprise Linux 5Oracle Enterprise Linux 5
Oracle Enterprise Linux 5
 
Oracle Database 11g R2 Installation
Oracle Database 11g R2 InstallationOracle Database 11g R2 Installation
Oracle Database 11g R2 Installation
 
Change DB Name
Change DB NameChange DB Name
Change DB Name
 
Oracle Tablespace Yonetimi
Oracle Tablespace YonetimiOracle Tablespace Yonetimi
Oracle Tablespace Yonetimi
 

Recently uploaded

AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.arsicmarija21
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
Planning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxPlanning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxLigayaBacuel1
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........LeaCamillePacle
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayMakMakNepo
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 

Recently uploaded (20)

AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
Planning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxPlanning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptx
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up Friday
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 

Oracle GoldenGate

  • 1. Oracle Golden Gate Oracle GoldenGate isa comprehensive software package forreal-timedataintegrationandreplication inheterogeneousITenvironments. The productsetenableshighavailabilitysolutions,real-time data integration,transactionalchange datacapture,datareplication,transformations,andverification betweenoperationalandanalytical enterprise systems. Inadditiontothe Oracle GoldenGate core platformforreal-time datamovement,Oracle providesthe ManagementPackforOracle GoldenGate— a visual managementandmonitoringsolutionforOracle GoldenGate deployments—aswell asOracle GoldenGate Veridata,whichallowshigh-speed,high-volumecomparisonbetweentwoin-use databases. As inthe followingtable are supportedbythe database technologyof Oracle GoldenGate solutions. Business-critical systemsmustofferthe highestavailability, ensure fastandeasyaccessto the right data, andquicklyadaptto changingbusinessandITdemands.Withtransactionvolume increasingatan exponential rate asmore and more businessprocessesare conductedonline,manyorganizationsneeda bettersolutiontocollectanddeliverimmediateaccesstothe tremendousamountof enterprise data. GoldenGate Installation: [root@ANAR1 /]# mkdir /ggs [root@ANAR1 /]# chown oracle:oinstall /ggs Primary Database: - Oracle- IBM DB2 - Microsoft SQL Server - Sysbase ASE - Teradata - Enscribe - SQL/MP - SQL/MX
  • 2. [root@ANAR1 /]# cp /V26185-01.zip /ggs/V26185-01.zip Aftercopying: [root@ANAR1 /]# su - oracle [oracle@ANAR1 ~]$ cd /ggs [oracle@ANAR1 ~]$ unzip V26185-01.zip [oracle@ANAR1 ~]$ tar -xvf ggs_redhatAS40_x64_ora10g_64bit_v10.4.0.19_002.tar Afteropeningthe package cannowno longerpart of the configurationforthe goldengate. [oracle@ANAR1 ~]$ export PATH=$PATH:/ggs [oracle@ANAR1 ~]$ export GGATE=/ggs [oracle@ANAR1 ~]$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib:$GGATE [oracle@ANAR1 ~]$ cd [oracle@ANAR1 ~]$ vi .bash_profile # .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs export ORACLE_HOME=/oracle/product/10.2.0/db_1 export ORACLE_SID=test export NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P9 alias oh='cd $ORACLE_HOME;pwd' export ORACLE_PATH=$ORACLE_BASE/common/oracle/sql:.:$ORACLE_HOME/rdbms/a
  • 3. dmin # Each RAC node must have a unique ORACLE_SID. (i.e. orcl1, orcl2,...) export PATH=.:${JAVA_HOME}/bin:${PATH}:$HOME/bin:$ORACLE_HOME/bin export PATH=${PATH}:/usr/bin:/usr/sbin/:/bin:/usr/X11R6/bin:/usr/local/b in export PATH=${PATH}:$ORACLE_BASE/common/oracle/bin export ORACLE_TERM=xterm export TNS_ADMIN=$ORACLE_HOME/network/admin export ORA_NLS10=$ORACLE_HOME/nls/data #export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib:/usr/bin/java:/ usr/lib64 export LD_LIBRARY_PATH=/oracle/product/10.2.0/db_1/lib/ #export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/lib:/usr/lib:/usr/local/lib:/ usr/bin/java:/usr/lib64 #export CLASSPATH=$ORACLE_HOME/jre #export CLASSPATH=${CLASSPATH}:$ORACLE_HOME/jlib #export CLASSPATH=${CLASSPATH}:$ORACLE_HOME/rdbms/jlib #export CLASSPATH=${CLASSPATH}:$ORACLE_HOME/network/jlib #export THREADS_FLAG=native export TEMP=/tmp export TMPDIR=/tmp GG_HOME=/ggs; export GG_HOME export GGATE=/ggs export PATH=$PATH:/ggs export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib:$GGATE alias gg='cd /ggs' NowI can go to the GoldenGate side.First,we're goingtointerface withGoldenGate ggsc. [oracle@ANAR1 ~]$ cd /ggs [oracle@ANAR1 ggs]$ ggsci Oracle GoldenGate Command Interpreter for Oracle Version 10.4.0.19 Build 002 Linux, x64, 64bit (optimized), Oracle 10 on Sep 22 2009 14:18:08 Copyright (C) 1995, 2009, Oracle and/or its affiliates. All rights reserved. We create a sub-directoryof the GoldenGate. GGSCI (ANAR1) 1> CREATE SUBDIRS Creating subdirectories under current directory /ggs Parameter files /ggs/dirprm: created Report files /ggs/dirrpt: created Checkpoint files /ggs/dirchk: created Process status files /ggs/dirpcs: created SQL script
  • 4. files /ggs/dirsql: created Database definitions files /ggs/dirdef: created Extract data files /ggs/dirdat: created Temporary files /ggs/dirtmp: created Veridata files /ggs/dirver: created Veridata Lock files /ggs/dirver/lock: created Veridata Out-Of-Sync files /ggs/dirver/oos: created Veridata Out-Of-Sync XML files /ggs/dirver/oosxml: created Veridata Parameter files /ggs/dirver/params: created Veridata Report files /ggs/dirver/report: created Veridata Status files /ggs/dirver/status: created Veridata Trace files /ggs/dirver/trace: created Stdout files /ggs/dirout: created GGSCI (ANAR1) 2> exit [oracle@ANAR1 ~]$ mkdir $GGATE/discard Preparationsinthe database side.- Let'scheckwhetherthe archive mode isactive onboth machines. [oracle@ANAR1 ~]$ sqlplus '/as sysdba' SQL*Plus: Release 10.2.0.3.0 - Production on Wed Nov 30 12:51:11 2011 Copyright (c) 1982, 2006, Oracle. All Rights Reserved. Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production With the Partitioning, OLAP and Data Mining options SQL> select log_mode from v$database; LOG_MODE ------------ ARCHIVELOG [oracle@ANAR2 ~]$ sqlplus '/as sysdba' SQL*Plus: Release 10.2.0.4.0 - Production on Thu Oct 14 16:06:15 2010 Copyright (c) 1982, 2007, Oracle. All Rights Reserved. Connected to: Oracle Database 10g Release 10.2.0.4.0 - 64bit Production
  • 5. SQL> select log_mode from v$database; LOG_MODE ------------ ARCHIVELOG As can be seeninboththe database appearinarchive mode andwe can start supplementallog data on bothmachines. SQL> alter database add supplemental log data; We can observe the state of the database supplemental logging. SQL> select SUPPLEMENTAL_LOG_DATA_MIN, SUPPLEMENTAL_LOG_DATA_PK,SUPPLEMENTAL_LOG_DATA_UI from v$database; SUPPLEME SUP SUP -------- --- --- YES YES YES For Example: GGSCI (ANAR1) 2> DBLOGIN USERID ggate, PASSWORD ggate Successfully logged into database. GGSCI (ANAR1) 3> ADD TRANDATA SENDER.TEST Logging of supplemental redo data enabled for table SENDER.TEST We can completedfollowing stepstomake the DDL operationand We will dothisagaininthe followingtwodatabase operations. SQL> alter system set recyclebin=off scope=both; NextstepWe can of DDL. SQL> create user ggate identified by ggate default tablespace users temporary tablespace temp; SQL> grant connect,resource,unlimited tablespace to ggate;
  • 6. SQL> grant execute on utl_file to ggate; SQL> grant select any dictionary, select any table to ggate; SQL> grant create table to ggate; SQL> grant flashback any table to ggate; SQL> grant execute on dbms_flashback to ggate; SQL> grant execute on utl_file to ggate; So, Should be run next SQL command for DDL replication. [oracle@ANAR1 ~]$ cd /ggs SQL> @$GGATE/marker_setup.sql; Marker setup script You will be prompted for the name of a schema for the GoldenGate database objects. NOTE: The schema must be created prior to running this script. NOTE: Stop all DDL replication before starting this installation. Enter GoldenGate schema name:ggate Marker setup table script complete, running verification script... Please enter the name of a schema for the GoldenGate database objects: Setting schema name to GGATE MARKER TABLE ------------------------------- OK MARKER SEQUENCE ------------- ------------------ OK Script complete. [oracle@ANAR2 ~]$ cd /ggs SQL> create tablespace GGATE datafile '/oracle/product/oradata/TEST/ggate.dbf' size 1000M; Tablespace created. SQL> alter user ggate default tablespace GGATE; SQL> @$GGATE/ddl_setup.sql;
  • 7. GoldenGate DDL Replication setup script Verifying that current user has privileges to install DDL Replication... You will be prompted for the name of a schema for the GoldenGate database objects. NOTE: The schema must be created prior to running this script. NOTE: On Oracle 10g and up, system recycle bin must be disabled. NOTE: Stop all DDL replication before starting this installation. Enter GoldenGate schema name:ggate You will be prompted for the mode of installation. To install or reinstall DDL replication, enter INITIALSETUP To upgrade DDL replication, enter NORMAL Enter mode of installation:INITIALSETUP Working, please wait ... Spooling to file ddl_setup_spool.txt Using GGATE as a GoldenGate schema name, INITIALSETUP as a mode of installation. Working, please wait ... RECYCLEBIN must be empty. This installation will purge RECYCLEBIN for all users. To proceed, enter yes. To stop installation, enter no. Enter yes or no:yes DDL replication setup script complete, running verification script... Please enter the name of a schema for the GoldenGate database objects: Setting schema name to GGATE DDLORA_GETTABLESPACESIZE STATUS: Line/pos Error ---------- ---- ------------------------------------------------------------- No errors No errors CLEAR_TRACE STATUS: Line/pos Error ---------- ----------------------------------------------------------------- No errors No errors CREATE_TRACE STATUS: Line/pos Error ------ ---- ------------------------------------------------------------ ----- No errors No errors TRACE_PUT_LINE STATUS: Line/pos Error ---------- ------------------------------------- ---------------------------- No errors No errors INITIAL_SETUP STATUS: Line/pos Error ---------- ----------------------------- ------------------------------------ No errors No errors DDLVERSIONSPECIFIC PACKAGE STATUS: Line/pos Error ---------- -- --------------------------------------------------------------- No errors No errors DDLREPLICATION PACKAGE STATUS: Line/pos Error ---------- ------------------------------------- ---------------------------- No errors No errors DDLREPLICATION PACKAGE BODY STATUS: Line/pos Error ---------- ---------------- ------------------------------------------------- No errors No errors DDL HISTORY TABLE ----------------------------------- OK DDL HISTORY TABLE(1) ----------------------------------- OK DDL DUMP TABLES ----------------------------------- OK DDL DUMP COLUMNS ----------------------------------- OK DDL DUMP LOG GROUPS ----------------------------------- OK DDL DUMP PARTITIONS
  • 8. ----------------------------------- OK DDL DUMP PRIMARY KEYS ---- ------------------------------- OK DDL SEQUENCE ----------------- ---------------- OK GGS_TEMP_COLS ------------------------------- ---- OK GGS_TEMP_UK ----------------------------------- OK DDL TRIGGER CODE STATUS: Line/pos Error ---------- ---------------- ------------------------------------------------- No errors No errors DDL TRIGGER INSTALL STATUS ------------------------------- ---- OK DDL TRIGGER RUNNING STATUS ------------------------------ ----- ENABLED STAYMETADATA IN TRIGGER --------------------------- -------- OFF DDL TRIGGER SQL TRACING ---------------------------- ------- 0 DDL TRIGGER TRACE LEVEL ------------------------------- ----0 LOCATION OF DDL TRACE FILE -------------------------------- ------------------------------------------------ /oracle/product/10.2.0/db_1/admin/test/udump/ggs_ddl_trace.log Analyzing installation status... STATUS OF DDL REPLICATION ------ ----------------------------------------------------------------- --------- SUCCESSFUL installation of DDL Replication software components Script complete. [oracle@ANAR1 ~]$ cd /ggs SQL> @$GGATE/role_setup.sql; GGS Role setup script This script will drop and recreate the role GGS_GGSUSER_ROLE To use a different role name, quit this script and then edit the params.sql script to change the gg_role parameter to the preferred name. (Do not run the script.)You will be prompted for the name of a schema for the GoldenGate database objects. NOTE: The schema must be created prior to running this script. NOTE: Stop all DDL replication before starting this installation. Enter GoldenGate schema name:ggate Wrote file role_setup_set.txt PL/SQL procedure successfully completed. Role setup script complete Grant this role to each user assigned to the Extract, GGSCI, and Manager processes, by using the following SQL command: GRANT GGS_GGSUSER_ROLE TO <loggedUser> where <loggedUser> is the user assigned to the GoldenGate processes. SQL> grant GGS_GGSUSER_ROLE to ggate; Grant succeeded.
  • 9. SQL> @$GGATE/ddl_enable.sql; Trigger altered. Replication Preparation. Source database: SQL> create user sender identified by qwerty default tablespace users temporary tablespace temp; SQL> grant connect,resource,unlimited tablespace to sender; SQL> GRANT SELECT any dictionary, SELECT any TABLE TO sender; SQL> GRANT CREATE TABLE TO sender; SQL> GRANT flashback any TABLE TO sender; Destination database: SQL> create user receiver identified by qwerty default tablespace users temporary tablespace temp; SQL> grant connect,resource,unlimited tablespace to receiver; SQL> GRANT SELECT any dictionary, SELECT any TABLE TO receiver; SQL> GRANT CREATE TABLE TO receiver; SQL> GRANT flashback any TABLE TO receiver; NowWe can start SIMPLE replication. [oracle@ANAR1 ~]$ cd $GGATE [oracle@ANAR1 ggs]$ ./ggsci
  • 10. Oracle GoldenGate Command Interpreter for Oracle Version 10.4.0.19 Build 002 Linux, x64, 64bit (optimized), Oracle 10 on Sep 22 2009 14:18:08 Copyright (C) 1995, 2009, Oracle and/or its affiliates. All rights reserved. GGSCI (ANAR1) 1> edit params mgr PORT 7809 GGSCI (ANAR1) 2> start manager Manager started. GGSCI (ANAR1) 3> info all Program Status Group Lag Time Since Chkpt MANAGER RUNNING GGSCI (ANAR1) 7> add extract ext1, tranlog, begin now EXTRACT added. GGSCI (ANAR1) 8> ADD EXTTRAIL /ggs/dirdat/ex, EXTRACT EXT1 EXTTRAIL added. GGSCI (ANAR1) 8> ADD RMTTRAIL /ggs/dirdat/lt, EXTRACT EXT1 GGSCI (ANAR1) 9> edit params ext1 SETENV (ORACLE_HOME = "/oracle/product/10.2.0/db_1") SETENV (ORACLE_SID = "TEST") EXTRACT ext1 USERID ggate, PASSWORD ggate --EXTTRAIL /ggs/dirdat/ex RMTHOST ANAR2, MGRPORT 7809 ddl include mapped objname sender.*; RMTTRAIL /ggs/dirdat/lt TABLE sender.*; GGSCI (ANAR1) 10> info all Program Status Group Lag Time Since Chkpt MANAGER RUNNING EXT RACT STOPPED EXT1 00:00:00 00:12:24 [oracle@ANAR2 ~]$ cd /ggs/ [oracle@ANAR2 ggs]$ mkdir discard [oracle@ANAR2 ggs]$./ggsci
  • 11. GGSCI (ANAR2) 5> edit params ./GLOBAL GGSCHEMA ggate CHECKPOINTTABLE ggate.checkpoint GGSCI (ANAR2) 6> dblogin userid ggate Password: Successfully logged into database. GGSCI (ANAR2) 7> add checkpointtable ggate.checkpoint Successfully created checkpoint table GGATE.CHECKPOINT. GGSCI (ANAR2) 8> add replicat rep1, exttrail /ggs/dirdat/lt,checkpointtable ggate.checkpoint REPLICAT added. GGSCI (ANAR1) 9> edit params rep1 SETENV (ORACLE_HOME = "/oracle/product/10.2.0/db_1") SETENV (ORACLE_SID = "TEST") replicat rep1 ASSUMETARGETDEFS userid ggate, password ggate discardfile /ggs/discard/rep1_discard.txt, append, megabytes 10 DDL map sender.*, target receiver.*; Nowwe can start the replicationprocess. Source: GGSCI (ANAR1) 14> start extract ext1 Sending START request to MANAGER ... EXTRACT EXT1 starting GGSCI (ANAR1) 84> info all Program Status Group Lag Time Since Chkpt MANAGER RUNNING EXT RACT RUNNING EXT1 00:00:00 01:20:19 Destination: GGSCI (ANAR2) 15> start replicat rep1 Sending START request to MANAGER ... REPLICAT REP1 starting GGSCI (ANAR2) 19> info all
  • 12. Program Status Group Lag Time Since Chkpt MANAGER RUNNING REP LICAT RUNNING REP1 00:00:00 00:00:02 If there is a shortage at the start of one of the serviceswe cansee itindetail withthe following command. GGSCI (ANAR1) 90> view report ext1 ***************************************************************** ****** Oracle GoldenGate Capture for Oracle Version 10.4.0.19 Build 002 Linux, x64, 64bit (optimized), Oracle 10 on Sep 22 2009 14:21:44 Copyright (C) 1995, 2009, Oracle and/or its affiliates. All rights reserved. Starting at 2014-02-02 13:33:53 ***************************************************************** ****** Operating System Version: Linux Version #1 SMP Sun May 2 04:17:42 EDT 2010, Release 2.6.18-194.3.1.el5 Node: ANAR1 Machine: x86_64 soft limit hard limit Address Space Size : unlimited unlimited Heap Size : unlimited unlimited File Size : unlimited unlimited CPU Time : unlimited unlimited Process id: 27201 Description: ***************************************************************** ****** ** Running with the following parameters ** ***************************************************************** ****** SETENV (ORACLE_HOME = "/oracle/product/10.2.0/db_1") SETENV (ORACLE_SID = "TEST") EXTRACT ext1 USERID ggate, PASSWORD ggate - -EXTTRAIL /ggs/dirdat/ex RMTHOST ANAR2, MGRPORT 7809 ddl include mapped objname sender.*; RMTTRAIL /ggs/dirdat/lt TABLE sender.*;
  • 13. CACHEMGR virtual memory values (may have been adjusted) CACHEBUFFERSIZE: 64K CACHESIZE: 8G CACHEBUFFERSIZE (soft max): 4M CACHEPAGEOUTSIZE (normal): 4M PROCESS VM AVAIL FROM OS (min): 16G CACHESIZEMAX (strict force to disk): 13.99G Database Version: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi PL/SQL Release 10.2.0.3.0 - Production CORE 10.2.0.3.0 Production TNS for Linux: Version 10.2.0.3.0 - Production NLSRTL Version 10.2.0.3.0 - Production Database Language and Character Set: NLS_LANG = "AMERICAN_AMERICA.WE8ISO8859P9" NLS_LANGUAGE = "AMERICAN" NLS_TERRITORY = "AMERICA" NLS_CHARACTERSET = "WE8ISO8859P9" GGSCI (ANAR2) 24> view report rep1 ***************************************************************** ****** Oracle GoldenGate Delivery for Oracle Version 10.4.0.19 Build 002 Linux, x64, 64bit (optimized), Oracle 10 on Sep 22 2009 14:23:18 Copyright (C) 1995, 2009, Oracle and/or its affiliates. All rights reserved. Starting at 2014-02-15 16:48:10 ***************************************************************** ****** Operating System Version: Linux Version #1 SMP Sun May 2 04:17:42 EDT 2010, Release 2.6.18-194.3.1.el5 Node: ANAR2Machine: x86_64 soft limit hard limit Address Space Size : unlimited unlimited Heap Size : unlimited unlimited File Size : unlimited unlimited CPU Time : unlimited unlimited Process id: 17369 Description: ***************************************************************** ****** ** Running with the following parameters ** ***************************************************************** ****** SETENV (ORACLE_HOME = " /oracle/product/10.2.0/db_1") Set
  • 14. environment variable (ORACLE_HOME=/oracle/product/10.2.0/db_1) SETENV (ORACLE_SID = "TEST") Set environment variable (ORACLE_SID=TEST) replicat rep1 ASSUMETARGETDEFS userid ggate, password ***** discardfile /ggs/discard/rep1_discard.txt, append, megabytes 10 DDL map sender.*, target receiver.*; CACHEMGR virtual memory values (may have been adjusted) CACHEBUFFERSIZE: 64K CACHESIZE: 512M CACHEBUFFERSIZE (soft max): 4M CACHEPAGEOUTSIZE (normal): 4M PROCESS VM AVAIL FROM OS (min): 1G CACHESIZEMAX (strict force to disk): 881M Database Version: Oracle Database 10g Release 10.2.0.4.0 - 64bit Production PL/SQL Release 10.2.0.4.0 - Production CORE 10.2.0.4.0 Production TNS for Linux: Version 10.2.0.4.0 - Production NLSRTL Version 10.2.0.4.0 - Production Database Language and Character Set: NLS_LANG environment variable not set, using default value AMERICAN_AMERICA.US7ASCII. NLS_LANGUAGE = "AMERICAN" NLS_TERRITORY = "AMERICA" NLS_CHARACTERSET = "WE8ISO8859P9" Warning: NLS_LANG is not set. Please refer to user manual for more information. Now,let'stestthe source side,we create a table. Source: [oracle@ANAR1 dirdat]$ sqlplus '/as sysdba' SQL> conn sender/sender Connected. SQL> create table TEST (column1 varchar2(10)); Table created.
  • 15. SQL> insert into TEST values('TEST'); 1 row created. SQL> commit; Commit complete. SQL> select * from TEST; COLUMN1 ---------- TEST Destination : [oracle@ANAR2 ~]$ sqlplus '/as sysdba' SQL> conn receiver/receiver Connected. SQL> select * from TEST; COLUMN1 ---------- TEST As seenreplication hasbeencompletedsuccessfully.Then Icansee the statusof the replication studies below commandonbothside. GGSCI (ANAR1) 80> stats * Sending STATS request to EXTRACT EXT1 ... Start of Statistics at 2011-12-04 12:06:00. DDL replication statistics (for all trails): *** Total statistics since extract started *** Operations 1.00 Mapped operations 1.00 Unmapped operations 0.00 Other operations 0.00 Excluded operations 0.00
  • 16. Output to /ggs/dirdat/ex: Extracting from GGATE.GGS_MARKER to GGATE.GGS_MARKER: *** Total statistics since 2011-12-04 11:26:12 *** No database operations have been performed. *** Daily statistics since 2011-12-04 11:26:12 *** No database operations have been performed. *** Hourly statistics since 2011-12-04 12:00:00 *** No database operations have been performed. *** Latest statistics since 2011-12-04 11:26:12 *** No database operations have been performed. Extracting from SENDER.TEST to RECEIVER.TEST: *** Total statistics since 2011-12-04 11:26:12 *** Total inserts 1.00 Total updates 0.00 Total deletes 0.00 Total discards 0.00 Total operations 1.00 *** Daily statistics since 2011-12-04 11:26:12 *** Total inserts 1.00 Total updates 0.00 Total deletes 0.00 Total discards 0.00 Total operations 1.00 *** Hourly statistics since 2011-12-04 12:00:00 *** No database operations have been performed.
  • 17. *** Latest statistics since 2011-12-04 11:26:12 *** Total inserts 1.00 Total updates 0.00 Total deletes 0.00 Total discards 0.00 Total operations 1.00 End of Statistics. GGSCI (ANAR2) 29> stats * Sending STATS request to REPLICAT REP1 ... Start of Statistics at 2014-02-18 15:21:04. DDL replication statistics: *** Total statistics since replicat started * Operations 1.00 Mapped operations 1.00 Unmapped operations 0.00 Other operations 0.00 Excluded operations 0.00 Errors 0.00 Retried errors 0.00 Discarded errors 0.00 Ignored errors 0.00 Replicating from SENDER.TEST to RECEIVER.TEST: *** Total statistics since 2014-02-18 14:42:17 *** Total inserts 1.00 Total updates 0.00 Total deletes 0.00 Total discards 0.00 Total operations 1.00 *** Daily statistics since 2014-02-18 14:42:17 *** Total inserts 1.00 Total updates 0.00 Total deletes 0.00 Total discards 0.00 Total operations 1.00
  • 18. *** Hourly statistics since 2014-02-18 15:00:00 *** No database operations have been performed *** Latest statistics since 2014-02-18 14:42:17 * Total inserts 1.00 Total updates 0.0 Total deletes 0.00 Total discards 0.00 Total operations 1.00 End of Statistics.