0% found this document useful (0 votes)
50 views12 pages

Oracle GoldenGate Configuration

Golden gate configuration

Uploaded by

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

Oracle GoldenGate Configuration

Golden gate configuration

Uploaded by

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

Oracle GoldenGate Configuration

STARTUP MOUNT;

ALTER DATABASE ARCHIVELOG;

ALTER DATABASE FORCE LOGGING;

ALTER SYSTEM SET log_archive_dest_1=’LOCATION=/u01/oracle/archivelogs’ SCOPE=SPFILE;

ALTER SYSTEM SET log_archive_format='arch_%t_%s_%[Link]' SCOPE=SPFILE;

➢ Preparing the Database for Oracle


GoldenGate
Configuring Connections for Integrated Processes
If you will be using integrated capture and integrated Replicat, each requires a dedicated server connection in
the [Link] file.
ALTER DATABASE ADD SUPPLEMENTAL LOG DATA;

ALTER DATABASE FORCE LOGGING;


The database services required to support Oracle GoldenGate capture and apply must
be enabled explicitly for all Oracle database versions.

TABLE_NAME
--------------------------------------------------------------------------------
DRIVERS
SHIPMENTS
VEHICLES

ADD CREDENTIALSTORE
ALTER CREDENTIALSTORE ADD USER ggadmin ALIAS gguser
DBLOGIN USERIDALIAS gguser
Perform the following steps on the source system to enable table-level supplemental logging
or use the optional features of the command.

ADD TRANDATA [Link]

DBLOGIN USERIDALIAS gguser


ADD TRANDATA [Link]
GGSCI ([Link] as ggadmin@DDSTST) 2> ADD TRANDATA [Link]

2025-08-25 [Link] WARNING OGG-01896 Table [Link] has an identity


column which is not supported. This table will be ignored by Extract.

2025-08-25 [Link] INFO OGG-15132 Logging of supplemental redo data enabled


for table [Link].

2025-08-25 [Link] INFO OGG-15133 TRANDATA for scheduling columns has been
added on table [Link].

2025-08-25 [Link] INFO OGG-15135 TRANDATA for instantiation CSN has been
added on table [Link].
2025-08-25 [Link] WARNING OGG-01896 Table [Link] has an identity
column which is not supported. This table will be ignored by Extract.

2025-08-25 [Link] INFO OGG-10471 ***** Oracle Goldengate support information


on table [Link] *****
Oracle Goldengate support native capture on table [Link].
Oracle Goldengate marked following column as key columns on table
[Link]: SHIPMENT_ID.

GGSCI ([Link] as ggadmin@DDSTST) 3>

ADD TRANDATA [Link]


GGSCI ([Link] as ggadmin@DDSTST) 3> ADD TRANDATA [Link]

2025-08-25 [Link] WARNING OGG-01896 Table [Link] has an identity


column which is not supported. This table will be ignored by Extract.

2025-08-25 [Link] INFO OGG-15132 Logging of supplemental redo data enabled


for table [Link].

2025-08-25 [Link] INFO OGG-15133 TRANDATA for scheduling columns has been
added on table [Link].

2025-08-25 [Link] INFO OGG-15135 TRANDATA for instantiation CSN has been
added on table [Link].

2025-08-25 [Link] WARNING OGG-01896 Table [Link] has an identity


column which is not supported. This table will be ignored by Extract.

2025-08-25 [Link] INFO OGG-10471 ***** Oracle Goldengate support information


on table [Link] *****
Oracle Goldengate support native capture on table [Link].
Oracle Goldengate marked following column as key columns on table
[Link]: VEHICLE_ID.

Integrated Capture:
In integrated capture mode, the Oracle GoldenGate Extract process interacts directly with a database
logmining server to receive data changes in the form of logical change records (LCR).

Configuring the Primary Extract in Integrated


Capture Mode
The mining database from which the primary Extract captures log change records from
the logmining server, can be either local or downstream from the source database.

Edit param shipep

EXTRACT shipep
USERIDALIAS gguser
DDL INCLUDE MAPPED
EXTTRAIL /u02/app/oracle/gghome/19c/dirdat/lt
SEQUENCE LOGIUSER.SHIPMENTS_seq;
TABLE LOGIUSER.*;

Configuring the Data Pump Extract


A data pump can perform data filtering, mapping, and conversion, or it can be configured in
pass-through mode, where data is passively transferred as-is, without manipulation.
Edit param shippump

EXTRACT shippump
USERIDALIAS gguser
RMTHOST [Link], MGRPORT 7809
RMTTRAIL /u02/app/oracle/gghome2/19c/dirdat/rt
SEQUENCE LOGIUSER.SHIPMENTS_seq;
TABLE LOGIUSER.*;

Prerequisites for Configuring Replicat


The guidelines to follow before configuring Replicat are:
1. Preparing the Database for Oracle GoldenGate.
2. Establishing Oracle GoldenGate Credentials.
3. Choosing Capture and Apply Modes.
4. Create the Oracle GoldenGate instance on the target system by configuring the Manager
process.

Creating a Checkpoint Table


Adding the Checkpoint Table to the Target Database
DBLOGIN USERIDALIAS gguser2
ADD CHECKPOINTTABLE [Link]
ADD CHECKPOINTTABLE [Link]
ADD CHECKPOINTTABLE [Link]
Configuring Replicat
EDIT PARAM SHIPR
REPLICAT shipr
USERIDALIAS gguser2
ASSUMETARGETDEFS
MAP LOGIUSER.*, TARGET LOGIUSER2.*;

Creating Process Groups


Registering Extract with the Mining Database
If you are using Extract in integrated mode, you need to create a database logmining
server to capture redo data. You do this from the GGSCI interface by registering the
primary Extract process with the mining database.

DBLOGIN USERIDALIAS gguser


REGISTER EXTRACT shipep DATABASE

ADD EXTRACT shipep, INTEGRATED TRANLOG, BEGIN NOW


ADD EXTTRAIL /u02/app/oracle/gghome/19c/dirdat/lt, EXTRACT shipep
ADD EXTRACT shippump, EXTTRAILSOURCE /u02/app/oracle/gghome/19c/dirdat/lt
ADD RMTTRAIL /u02/app/oracle/gghome2/19c/dirdat/rt, EXTRACT shippump
DBLOGIN USERIDALIAS gguser2
ADD REPLICAT shipr, INTEGRATED, EXTTRAIL /u02/app/oracle/gghome2/19c/dirdat/rt

And then start the Manager, extract, pump at


source end as well as start Manager, Replicat
at Target end.

Target end.

You might also like