Golden Gate Interview Questions

1. What are the main components of the Goldengate replication?

The replication configuration consists of the following processes.
1. Manager
2. Extract
3. Pump
4. Replicate


2. What transaction types does Goldengate support for Replication?

Goldengate supports both DML and DDL Replication from the source to target.

3. What are the supplemental logging pre-requisites?

The following supplemental logging is required.
1. Database supplemental logging
2. Object level logging

4. 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.
1. EXTRACT NAME
2. USERID
3. EXTTRAIL
4. TABLE

5. 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.

6. What type of Encryption is supported in Goldengate?

Oracle Goldengate provides 3 types of Encryption.
1. Data Encryption using Blow fish.
2. Password Encryption.
3. Network Encryption.

7. What are the different encryption levels in AES?

You can encrypt the password/data using the AES in three different keys
a) 128 bit
b) 192 bit and
c) 256 bit


8. What are some of the key features of GoldenGate 12c?

The following are some of the more interesting features of Oracle GoldenGate 12c:
1. Support for Multitenant Database
2. Coordinated Replicat
3. Integrated Replicat Mode
4. Use of Credential store
5. Use of Wallet and master key
6. Trigger-less DDL replication
7. Automatically adjusts threads when RAC node failure/start
8. Supports RAC PDML Distributed transaction
9. RMAN Support for mined archive logs



9.  When creating GoldenGate database user for database 12c, what special precaution you need to take?

 You must grant the GoldenGate admin user access to all database containers on the source side so that GoldenGate can access the redo logs for all the databases (container and pluggable)

You must also grant the DBA role with the container=all option.

SQL> GRANT DBA TO C##GOLDENADMIN CONTAINER=ALL
OGG-06203 Failed to switch to catalog PDB1. OCI Error ORA-01031: insufficient privileges SQL ALTER SESSION SET CONTAINER=PDB1



10. Which all databases does GoldenGate 12c support?

 GoldenGate 12c Support 11g and 12c databases.


11. What database does Oracle GoldenGate support for replication?

Oracle Database
TimesTen
MySQL
IBM DB2
Microsoft SQL Server
Informix
Teradata
Sybase
Enscribe
SQL/MX


12. What is the default location of the GLOBALS file?

GLOBALS file is located under Oracle GoldenGate installation directory (OGG HOME)


13. 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.


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

A PUMP extract is an option, 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.


15. What command can be used to switch writing the trail data to a new trail file?

You can use the following command to write the trail data to a new trail file.
SEND EXTRACT ext_name, ROLLOVER


16. How do you retrieve information from the Oracle Credential Store?

GGSCI> INFO CREDENTIALSTORE
OR
GGSCI> INFO CREDENTIALSTORE DOMAIN OracleGoldenGate


17. What are the different data encyption methods available in OGG 12c?

In OGG 12c you can encrypt data with the following 2 methods:
1) Encrypt Data with Master Key and Wallet
2) Encrypt Data with ENCKEYS


18. How can we report on long running transactions?

The WARNLONGTRANS parameter can be specified with a threshold time that a transaction can be open before Extract writes a warning message to the ggs error log.
Example: WARNLONGTRANS 1h, CHECKINTERVAL 10m


19. What command can be used to view the checkpoint information for the extract process?

Use the following command to view the Extract checkpoint information.
GGSCI> info extract , showch
GGSCI> info extract ext_fin, showch


20. What is the minimum Database version which supports Integrated Delivery?

Oracle 11.2.0.4 is the the minimum required database version which supports both Integrated extract and Integrated Reaplicat.

21. What databases supports GoldenGate Integrated Delivery?

Oracle Integrated Delivery is only available for Oracle Databases.

22. With Integrated Delivery, where can we look for the performance stats?

Yes with 12c, performance statistics are collected in the AWR repository and the data is available via the normal AWR reports.

23. What does the GoldenGate CSN equate to, in the Oracle Database?

It is equivalent of the Oracle database SCN transaction number.

24. How do you create a CSV file from the Extracted data?

You will have to use the CSV Flat File Adaptor to create CSV files. The source would be the extract trail files which use the configuration of the adaptor settings to generate CSV files.


25. What is the best practice to delete the extract files in OGG?

Use the manager process to delete the extract files after they are consumed by the extract/replicat process
PURGEOLDEXTRACTS /u01/app/oracle/dirdat/et*, USECHECKPOINTS, MINKEEPHOURS 2


26. What parameters can be used to configure Oracle GoldenGate to extract data from Archived Redo log files only?

Use the TRANLOGOPTIONS ARCHIVEDLOGONLY option in the parameter file.

No comments:

Post a Comment