Wednesday, 23 December 2015

Golden-Gate - Basics

Golden-Gate: Basics

What type of topologies golden gate support?

a. Unidirectional
b. Bi-Directional
c. peer-to-peer
d. Broadcast
E. Consolidation
F. Cascading

What are the main components of the Oracle Golden Gate?

The replication configuration consists of the following process.


  • Manager
  • Extract
  • Replicate
  • Data pump


What database does golden gate support for replication?


  • MS SQL Server
  • My SQL
  • IBM DB2
  • Oracle Server
  • Sybase
  • Teradata
  • Informix 
  • SQL/MX
  • Enscribe
  • Timesten


What transaction types does golden gate support for replication?

Golden gate supports both the DDL and DML Replications from source to target.

What are the supplemental logging pre-requisites?

The following supplemental logging is required.


  • Database supplemental logging.
  • Object level logging.


Why is supplemental logging is required for replication?

When a transaction is committed on the source database, only new data is written to the redo log. However for oracle to apply these transactions on the destination database, the before image key values are required to the destination database, the before image key values are required to identify the effected rows. This data is also placed in the trail file and used to identify the rows on the destination , using the key value the transactions are executed against them.

Are OGG binaries supported on ASM Cluster File System (ACFS)?

Yes, you can install and configure OGG on ACFS.

Are OGG binaries supported on the Database File System (DBFS)? What files can be stored in DBFS?

No, OGG binaries are not supported on DBFS. You can however store parameter files, datafiles (Trail files), and checkpoint files on DBFS.

What is the default location of the GLOBALS file?

A GLOBALS file is located under Oracle GoldenGate installation directory (OGG_HOME).

Where can filtering of data for a column be configured?

Filtering of the columns of a table can be set at the Extract, Pump or Replicat level.

Is it a requirement to configure a PUMP extract process in OGG replication?

A PUMP extract is an optional, but it is highly recommended to use this to safe guard against network failures. Normally it is configured when you are setting up OGG replication across the network.

List the minimum parameters that can be used to create the extract process?

The following are the minimum required parameters which must be defined in the extract parameter file.


  • Extract Name
  • UserID
  • Exttrail
  • Table
I want to configure multiple extracts to write to the same exttrail file? Is this possible?

Only one extract process can write to one exttrail at a time So you can't configure multiple extracts to write to the same exttrail.

What type of Encryption is supported in Goldengate?

Oracle Goldengate provides 3 types of encryption.
  • Data Encryption using blow fish.
  • Password Encryption.
  • Network Encryption.
What are the different password encryption options available with OGG?

you can encrypt a password in OGG using.
  • Blowfish algorithm and
  • Advance Encryption Standard (AES) algorithm.
What are the different encryption levels in AES?

you can encrypt password/data using the AES in three different keys.
  • 128 bit
  • 192 bit
  • 256 bit
Is there a way tot check the syntax of the commands in the parameter file without actually running the Golden Gate process.

yes, you can place the SHOWSYNTAX parameter in the parameter file and try starting. if there is any error you will see it.

What are the differences between the classic and integrated capture?

Classic Capture:

The classic capture mode is the traditional extract process that accesses the database redo logs (Optionally archive logs) to capture the DML changes occurring on the objects specified in the parameter files.
  • At the OS level, the GG user must be a part of the same database group which owns the database redo logs.
  • This capture mode is available for other RDBMS as well.
  • There are some data types that are not supported in classic capture mode.
  • Classic capture can't read data from the compressed tables/tablespaces.
Integrated Capture (IC):

  • In the IC mode, GG works directly with the database log mining server to receive the data changes in the form of logical change records (LCRs).
  • IC Mode does not require any special setup for the databases using ASM, transparent data encryption, or Oracle RAC.
  • This feature is only available for oracle databases in version 11.2.0.3 or higher.
  • It also supports various object types which were previously not supported by classic capture.
  • This capture mode supports extracting data from source databases using compression.
  • IC can be configured in an online or downstream mode.

List important considerations for bi-directional replication?

The customer should consider the following points in an active-active replication environment.
Primary Key: Helps to identify conflicts and Resolve them.
  • Sequences: Are not supported. The work around is use to use odd/even, range or concatenate sequences.
  • Triggers: These should be disabled or suppressed to avoid using uniqueness issue
  • Data Looping: This can easy avoided using OGG itself
  • LAG: This should be minimized. If a customer says that there will not be any LAG due to network or huge load, then we don’t need to deploy CRDs. But this is not the case always as there would be some LAG and these can cause Conflicts.
  • CDR (Conflict Detection & Resolution): OGG has built in CDRs for all kind of DMLs that can be used to detect and resolve them.
  • Packaged Application: These are not supported as it may contain data types which are not support by OGG or it might not allow the application modification to work with OGG.

2 comments:

  1. Thanks for sharing the great information. It helps to all the basic level to higher level of Oracle GoldenGate Basics

    ReplyDelete
  2. Great post. It is really very helpful to understand the basics of oracle golden gate course. Thanks for sharing.

    ReplyDelete