SlideShare une entreprise Scribd logo
1  sur  31
Télécharger pour lire hors ligne
1
Oracle GoldenGate 12c Solutions,
Uni-Directional Configuration
and
IOUG Data Integration SIG
Bobby Curtis, Accenture Enkitec Group
Joseph deBuzna, Oracle
2
Agenda
•  Oracle GoldenGate 12c Solutions
•  Oracle GoldenGate 12c Uni-Directional
Configuration
•  IOUG Data Integration Special Interest Group
(SIG)
3
Legacy/Traditional Replication and ELT Tools
Tools:
1.  Export/Import (Datapump/Traditional)
2.  Advanced Replication
3.  Streams
4.  Warehouse Builder
Replication/Transforming data has been around in some form
for a really long time.
Other Venders Tools:
1.  Dell Shareplex
2.  SQL Server Transactional Replication/Sync Framework
4
Present/Future trends of Replication and ELT
Tools
Question:
What product can help meet these trends?
•  The need to always move/transform data will continue to
increase in the future.
•  Requirements for real-time data/metrics will continue to
increase.
•  More data sources will be required regardless of vendor
(i.e. Oracle, IBM, Microsoft, etc…)
5
Present/Future trends of Replication and ELT
Tools
Question:
What product can help meet these trends?
0
10
20
30
40
50
60
70
80
1 2 3 4 5 6 7 8 9 10
Data (GB)
Years
6
Oracle GoldenGate Solutions
Unidirectional
Query Off-loading/Reporting
Application integration
Active-Active
Bidirectional with CDR
Complex Active Meshes
Consolidation
Data Warehouse
Single Source of Truth
Mergers & Acquisitions
Distribution
Data dissemination
Cascade replication
Hub & Spoke
Centralized sharing
Data distribution
Zero downtime migrations
High Availability
7
Scenario
ACME company wants to build an online reporting system
that will provide guarantee access to data for a critical
business system.
Requirements:
1.  Provide real-time data for reporting
2.  Map data between different schemas
3.  Maintain availability of data at remote site
8
Uni-Directional Solution
One way replication between databases
Used for:
1.  Query offloading/Reporting
2.  Near-Zero Downtime Migrations
3.  Application Integration
4.  High-Availability Support
ACME.* ACME_RPT.*
9
What is required?
Processes to ensure replication:
1.  Manager
2.  Extract (capture)
3.  Data Pump (extract – shipping)
4.  Replicat (apply)
ACME.* ACME_RPT.*
10
Manager Process
Performs:
1.  Starts/Restarts processes
2.  Manage port numbers (static/dynamic)
3.  Trail File Management
4.  Create reports for events, errors and
thresholds
The manager process is the controller process within the
Oracle GoldenGate environment.
11
Extract Process
Performs:
1.  Reads online redo log/archive logs
(transactional logs)
2.  Writes extracted transactional data to trail files
The extract process is used to perform change data capture
from the source database.
12
Data Pump Process
Performs:
1.  Protects against network failures
2.  Consolidate data from multiple sources
3.  Distribute data to multiple targets
4.  Used for file adaptors (Flat File / Java)
The data pump process is a secondary extract that is used to
help send data over a network.
13
Replicat Process
Performs:
1.  Applies transactions in chronological order as trail files
are processed
2.  Maps and transforms data
3.  Performs Conflict Detection and Resolution
The replicat process is the apply process within the Oracle
GoldenGate environment.
14
Trail Files
Performs:
1.  Stores transactions in chronological order
2.  Created by extract
3.  Can be read by extract/replicat
Oracle GoldenGate binary files used to store transactions in
chronological order for shipping and applying to the target
side.
15
GLOBALS File (Optional)
•  File used store global parameters that relate to the Oracle GoldenGate
as a whole.
•  All parameters in file apply to all processes for the instance
•  Parameters in file can be overridden by process specific parameters
•  Does not need to exist before starting processes rather is read by each
process as they are started
Example:
GGSCI> edit params ./GLOBALS
16
Uni-Directional Breakdown
Capture
Trail
Files Pump
Delivery
Trail
Files
Capture (extract): committed transactions are captured (and can be filtered) as they occur by reading the transaction logs. As of
V.11.2.1, GoldenGate offers two options for capture for Oracle; Classic & Integrated Capture
Trail: stages and queues data for routing.
Pump: distributes data for routing to target(s).
Route: data is compressed, encrypted for routing to target(s).
Delivery: applies data with transaction integrity. New with
GoldenGate 12c, Integrated Delivery (replicat).
MGRMGR
17
Parameter Files
Parameter files is where the Oracle GoldenGate magic is
performed.
Editing parameter files can be done two ways:
1.  From GoldenGate Service Command Interface (GGSCI)
2.  Edited using a text editor (vi, textpad, etc..)
Example:
GGSCI> edit params <process name>
18
Manager Process Parameter File
--Parameter files will vary per environment--
PORT 15000
DYNAMICPORTLIST 15010-15035
PURGEOLDEXTRACTS ./dirdat/*, USECHECKPOINTS, MINKEEPDAYS 2
AUTORESTART ER *, RETRIES 6, WAITMINUTES 2, RESETMINUTES 30
LAGCRITICALSECONDS 30
LAGREPORTMINUTES 60
LAGINFOMINUTES 0
19
Extract Process Parameter File
--Parameter files will vary per environment--
-- CHECKPARAMS
EXTRACT EXTI
SETENV (ORACLE_HOME="/u01/app/oracle/product/11.2.0/db_3")
SETENV (ORACLE_SID="orcl")
USERID <ggate user>, PASSWORD <pwd>
TRANLOGOPTIONS DBLOGREADER
WARNLONGTRANS 1h, CHECKINTERVAL 30m
EXTTRAIL ./dirdat/lt
TABLE ACME.*;
20
Data Pump Process Parameter
File
--Parameter files will vary per environment--
--CHECKPARAMS
EXTRACT PMPI
PASSTHRU
RMTHOST 10.16.10.10, MGRPORT 15000, COMPRESS
RMTTRAIL ./dirdat/rt
TABLE ACME.*;
21
Replicat Process Parameter File
--Parameter files will vary per environment--
-- CHECKPARAMS
REPLICAT REPC
SETENV (ORACLE_HOME="/u01/app/oracle/product/11.2.0/db_3")
SETENV (ORACLE_SID="orcl")
USERID <ggate user>, PASSWORD <pwd>
ASSUMETARGETDEFS
DISCARDFILE ./dirrpt/REP.dsc, append, megabytes 500
MAP ACME.*, target ACME_RPT.*;
22
GLOBALS File (Optional)
--Parameter files will vary per environment—
CHECKPOINTTABLE <ggate user>.checkpointtable
GGSCHEMA <ggate user>
ENABLEMONITORING –enables the Jagent for monitoring
23
Adding processes
Add Extract
GGSCI> add extract exti, tranlog, begin now
GGSCI> add exttrail ./dirdat/lt, extract exti, megabytes 500
Add Data Pump
GGSCI> add extract pmpi, exttrailsource ./dirdat/lt
GGSCI> add rmttrail ./dirdat/rt, extract pmpi, megabytes 500
Add Replicat
GGSCI> dblogin userid <gguser> password <ggpwd>
GGSCI> add replicat repc, exttrail ./dirdat/rt
*Manager is added by default with installation
24
Successful Setup
Capture
Trail
Files Pump
Delivery
Trail
Files
Source: Target:
MGRMGR
25
IOUG Data Integration SIG
26
IOUG Data Integration SIG
•  Initially discussed at Oracle Open World 2014
•  Focus/Products
•  Resources
•  Board of Directors
27
IOUG Data Integration SIG
•  Initially discussed at Oracle Open World 2014
•  Popularity of Oracle GoldenGate and Oracle Data
Integrator is rising
•  Launch of Oracle Metadata Management
28
IOUG Data Integration SIG
Focus/Products:
IOUG DI SIG will focus on Oracle’s data
integration tools
•  Oracle GoldenGate
•  Oracle Data Integrator
•  Oracle Metadata Management
•  Many others…
29
IOUG Data Integration SIG
Resources:
•  Community Site (ioug.org or linkedin.com)
•  Regular webcasts (quarterly)
•  SIG meetings at Collaborate and Oracle
Open World
•  Activities promoted on social media sites
•  Sharing IOUG content with community
30
IOUG Data Integration SIG
Current Board of Directors:
Bobby Curtis, AEG, @dbasolved, http://dbasolved.com
Seth Miller, Collier IT, @seth_m_miller, http://sethmiller.org
Danny Bryant, AEG, @dbcapoeira, http://dbaontap.org
*There are spots opened if you would like to participate
31

Contenu connexe

Tendances

Oracle GoldenGate Architecture Performance
Oracle GoldenGate Architecture PerformanceOracle GoldenGate Architecture Performance
Oracle GoldenGate Architecture Performance
Enkitec
 

Tendances (20)

Extreme replication at IOUG Collaborate 15
Extreme replication at IOUG Collaborate 15Extreme replication at IOUG Collaborate 15
Extreme replication at IOUG Collaborate 15
 
Oracle GoldenGate Presentation from OTN Virtual Technology Summit - 7/9/14 (PDF)
Oracle GoldenGate Presentation from OTN Virtual Technology Summit - 7/9/14 (PDF)Oracle GoldenGate Presentation from OTN Virtual Technology Summit - 7/9/14 (PDF)
Oracle GoldenGate Presentation from OTN Virtual Technology Summit - 7/9/14 (PDF)
 
Extreme Replication - Performance Tuning Oracle GoldenGate
Extreme Replication - Performance Tuning Oracle GoldenGateExtreme Replication - Performance Tuning Oracle GoldenGate
Extreme Replication - Performance Tuning Oracle GoldenGate
 
OOW19 - HOL5221
OOW19 - HOL5221OOW19 - HOL5221
OOW19 - HOL5221
 
5 Keys to Oracle GoldenGate Implemenations
5 Keys to Oracle GoldenGate Implemenations5 Keys to Oracle GoldenGate Implemenations
5 Keys to Oracle GoldenGate Implemenations
 
GoldenGate CDR from UKOUG 2017
GoldenGate CDR from UKOUG 2017GoldenGate CDR from UKOUG 2017
GoldenGate CDR from UKOUG 2017
 
How many ways to monitor oracle golden gate - OOW14
How many ways to monitor oracle golden gate - OOW14How many ways to monitor oracle golden gate - OOW14
How many ways to monitor oracle golden gate - OOW14
 
Oem12c db12c and You
Oem12c db12c and YouOem12c db12c and You
Oem12c db12c and You
 
Hit Refresh with Oracle GoldenGate Microservices
Hit Refresh with Oracle GoldenGate MicroservicesHit Refresh with Oracle GoldenGate Microservices
Hit Refresh with Oracle GoldenGate Microservices
 
ECO 2022 - OCI and HashiCorp Terraform
ECO 2022 - OCI and HashiCorp TerraformECO 2022 - OCI and HashiCorp Terraform
ECO 2022 - OCI and HashiCorp Terraform
 
Oracle GoldenGate Microservices Overview ( with Demo )
Oracle GoldenGate Microservices Overview ( with Demo )Oracle GoldenGate Microservices Overview ( with Demo )
Oracle GoldenGate Microservices Overview ( with Demo )
 
Exachk and oem12c - IOUG C15LV
Exachk and oem12c - IOUG C15LVExachk and oem12c - IOUG C15LV
Exachk and oem12c - IOUG C15LV
 
Terraform & Oracle Cloud Infrastructure
Terraform & Oracle Cloud InfrastructureTerraform & Oracle Cloud Infrastructure
Terraform & Oracle Cloud Infrastructure
 
Maa goldengate-rac-2007111
Maa goldengate-rac-2007111Maa goldengate-rac-2007111
Maa goldengate-rac-2007111
 
Deep Dive into Automating Oracle GoldenGate Using the New Microservices
Deep Dive into Automating Oracle GoldenGate Using the New MicroservicesDeep Dive into Automating Oracle GoldenGate Using the New Microservices
Deep Dive into Automating Oracle GoldenGate Using the New Microservices
 
Exachk and oem12c
Exachk and oem12cExachk and oem12c
Exachk and oem12c
 
GoldenGate Monitoring - GOUSER - 4/2014
GoldenGate Monitoring - GOUSER - 4/2014GoldenGate Monitoring - GOUSER - 4/2014
GoldenGate Monitoring - GOUSER - 4/2014
 
Improve PostgreSQL replication with Oracle GoldenGate
Improve PostgreSQL replication with Oracle GoldenGateImprove PostgreSQL replication with Oracle GoldenGate
Improve PostgreSQL replication with Oracle GoldenGate
 
Oracle dba
Oracle  dbaOracle  dba
Oracle dba
 
Oracle GoldenGate Architecture Performance
Oracle GoldenGate Architecture PerformanceOracle GoldenGate Architecture Performance
Oracle GoldenGate Architecture Performance
 

Similaire à IOUG Data Integration SIG w/ Oracle GoldenGate Solutions and Configuration

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
uzzal basak
 
OGG Architecture Performance
OGG Architecture PerformanceOGG Architecture Performance
OGG Architecture Performance
Enkitec
 
Fatkulin presentation
Fatkulin presentationFatkulin presentation
Fatkulin presentation
Enkitec
 

Similaire à IOUG Data Integration SIG w/ Oracle GoldenGate Solutions and Configuration (20)

Gg steps
Gg stepsGg steps
Gg steps
 
Oracle Golden Gate Interview Questions
Oracle Golden Gate Interview QuestionsOracle Golden Gate Interview Questions
Oracle Golden Gate Interview Questions
 
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
 
Golden Gate - How to start such a project?
Golden Gate  - How to start such a project?Golden Gate  - How to start such a project?
Golden Gate - How to start such a project?
 
Oracle GoldenGate
Oracle GoldenGateOracle GoldenGate
Oracle GoldenGate
 
OGG Architecture Performance
OGG Architecture PerformanceOGG Architecture Performance
OGG Architecture Performance
 
Oracle Goldengate training by Vipin Mishra
Oracle Goldengate training by Vipin Mishra Oracle Goldengate training by Vipin Mishra
Oracle Goldengate training by Vipin Mishra
 
60141457-Oracle-Golden-Gate-Presentation.ppt
60141457-Oracle-Golden-Gate-Presentation.ppt60141457-Oracle-Golden-Gate-Presentation.ppt
60141457-Oracle-Golden-Gate-Presentation.ppt
 
Application High Availability and Upgrades Using Oracle GoldenGate
Application High Availability and Upgrades Using Oracle GoldenGateApplication High Availability and Upgrades Using Oracle GoldenGate
Application High Availability and Upgrades Using Oracle GoldenGate
 
Take your database source code and data under control
Take your database source code and data under controlTake your database source code and data under control
Take your database source code and data under control
 
Overview of Postgres Utility Processes
Overview of Postgres Utility ProcessesOverview of Postgres Utility Processes
Overview of Postgres Utility Processes
 
Docker Logging and analysing with Elastic Stack - Jakub Hajek
Docker Logging and analysing with Elastic Stack - Jakub Hajek Docker Logging and analysing with Elastic Stack - Jakub Hajek
Docker Logging and analysing with Elastic Stack - Jakub Hajek
 
Docker Logging and analysing with Elastic Stack
Docker Logging and analysing with Elastic StackDocker Logging and analysing with Elastic Stack
Docker Logging and analysing with Elastic Stack
 
Fatkulin presentation
Fatkulin presentationFatkulin presentation
Fatkulin presentation
 
Oracle_Patching_Untold_Story_Final_Part2.pdf
Oracle_Patching_Untold_Story_Final_Part2.pdfOracle_Patching_Untold_Story_Final_Part2.pdf
Oracle_Patching_Untold_Story_Final_Part2.pdf
 
How many ways to monitor oracle golden gate-Collaborate 14
How many ways to monitor oracle golden gate-Collaborate 14How many ways to monitor oracle golden gate-Collaborate 14
How many ways to monitor oracle golden gate-Collaborate 14
 
Insync10 goldengate
Insync10 goldengateInsync10 goldengate
Insync10 goldengate
 
Best Practices for Building Robust Data Platform with Apache Spark and Delta
Best Practices for Building Robust Data Platform with Apache Spark and DeltaBest Practices for Building Robust Data Platform with Apache Spark and Delta
Best Practices for Building Robust Data Platform with Apache Spark and Delta
 
Handout3o
Handout3oHandout3o
Handout3o
 
GoldenGate and Oracle Data Integrator - A Perfect Match- Upgrade to 12c
GoldenGate and Oracle Data Integrator - A Perfect Match- Upgrade to 12cGoldenGate and Oracle Data Integrator - A Perfect Match- Upgrade to 12c
GoldenGate and Oracle Data Integrator - A Perfect Match- Upgrade to 12c
 

Plus de Bobby Curtis (7)

RheoData_23ai_Vector-Datatype-Webinar-2024.pptx
RheoData_23ai_Vector-Datatype-Webinar-2024.pptxRheoData_23ai_Vector-Datatype-Webinar-2024.pptx
RheoData_23ai_Vector-Datatype-Webinar-2024.pptx
 
MySQLHeatwave-TheBasics.pptx
MySQLHeatwave-TheBasics.pptxMySQLHeatwave-TheBasics.pptx
MySQLHeatwave-TheBasics.pptx
 
Oracle GoldenGate Performance Tuning
Oracle GoldenGate Performance TuningOracle GoldenGate Performance Tuning
Oracle GoldenGate Performance Tuning
 
Oracle GoldenGate Studio Intro
Oracle GoldenGate Studio IntroOracle GoldenGate Studio Intro
Oracle GoldenGate Studio Intro
 
Examining Oracle GoldenGate Trail Files
Examining Oracle GoldenGate Trail FilesExamining Oracle GoldenGate Trail Files
Examining Oracle GoldenGate Trail Files
 
Oracle virtualbox basic to rac attack
Oracle virtualbox basic to rac attackOracle virtualbox basic to rac attack
Oracle virtualbox basic to rac attack
 
Oracle GoldenGate 12c CDR Presentation for ECO
Oracle GoldenGate 12c CDR Presentation for ECOOracle GoldenGate 12c CDR Presentation for ECO
Oracle GoldenGate 12c CDR Presentation for ECO
 

Dernier

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Dernier (20)

Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 

IOUG Data Integration SIG w/ Oracle GoldenGate Solutions and Configuration

  • 1. 1 Oracle GoldenGate 12c Solutions, Uni-Directional Configuration and IOUG Data Integration SIG Bobby Curtis, Accenture Enkitec Group Joseph deBuzna, Oracle
  • 2. 2 Agenda •  Oracle GoldenGate 12c Solutions •  Oracle GoldenGate 12c Uni-Directional Configuration •  IOUG Data Integration Special Interest Group (SIG)
  • 3. 3 Legacy/Traditional Replication and ELT Tools Tools: 1.  Export/Import (Datapump/Traditional) 2.  Advanced Replication 3.  Streams 4.  Warehouse Builder Replication/Transforming data has been around in some form for a really long time. Other Venders Tools: 1.  Dell Shareplex 2.  SQL Server Transactional Replication/Sync Framework
  • 4. 4 Present/Future trends of Replication and ELT Tools Question: What product can help meet these trends? •  The need to always move/transform data will continue to increase in the future. •  Requirements for real-time data/metrics will continue to increase. •  More data sources will be required regardless of vendor (i.e. Oracle, IBM, Microsoft, etc…)
  • 5. 5 Present/Future trends of Replication and ELT Tools Question: What product can help meet these trends? 0 10 20 30 40 50 60 70 80 1 2 3 4 5 6 7 8 9 10 Data (GB) Years
  • 6. 6 Oracle GoldenGate Solutions Unidirectional Query Off-loading/Reporting Application integration Active-Active Bidirectional with CDR Complex Active Meshes Consolidation Data Warehouse Single Source of Truth Mergers & Acquisitions Distribution Data dissemination Cascade replication Hub & Spoke Centralized sharing Data distribution Zero downtime migrations High Availability
  • 7. 7 Scenario ACME company wants to build an online reporting system that will provide guarantee access to data for a critical business system. Requirements: 1.  Provide real-time data for reporting 2.  Map data between different schemas 3.  Maintain availability of data at remote site
  • 8. 8 Uni-Directional Solution One way replication between databases Used for: 1.  Query offloading/Reporting 2.  Near-Zero Downtime Migrations 3.  Application Integration 4.  High-Availability Support ACME.* ACME_RPT.*
  • 9. 9 What is required? Processes to ensure replication: 1.  Manager 2.  Extract (capture) 3.  Data Pump (extract – shipping) 4.  Replicat (apply) ACME.* ACME_RPT.*
  • 10. 10 Manager Process Performs: 1.  Starts/Restarts processes 2.  Manage port numbers (static/dynamic) 3.  Trail File Management 4.  Create reports for events, errors and thresholds The manager process is the controller process within the Oracle GoldenGate environment.
  • 11. 11 Extract Process Performs: 1.  Reads online redo log/archive logs (transactional logs) 2.  Writes extracted transactional data to trail files The extract process is used to perform change data capture from the source database.
  • 12. 12 Data Pump Process Performs: 1.  Protects against network failures 2.  Consolidate data from multiple sources 3.  Distribute data to multiple targets 4.  Used for file adaptors (Flat File / Java) The data pump process is a secondary extract that is used to help send data over a network.
  • 13. 13 Replicat Process Performs: 1.  Applies transactions in chronological order as trail files are processed 2.  Maps and transforms data 3.  Performs Conflict Detection and Resolution The replicat process is the apply process within the Oracle GoldenGate environment.
  • 14. 14 Trail Files Performs: 1.  Stores transactions in chronological order 2.  Created by extract 3.  Can be read by extract/replicat Oracle GoldenGate binary files used to store transactions in chronological order for shipping and applying to the target side.
  • 15. 15 GLOBALS File (Optional) •  File used store global parameters that relate to the Oracle GoldenGate as a whole. •  All parameters in file apply to all processes for the instance •  Parameters in file can be overridden by process specific parameters •  Does not need to exist before starting processes rather is read by each process as they are started Example: GGSCI> edit params ./GLOBALS
  • 16. 16 Uni-Directional Breakdown Capture Trail Files Pump Delivery Trail Files Capture (extract): committed transactions are captured (and can be filtered) as they occur by reading the transaction logs. As of V.11.2.1, GoldenGate offers two options for capture for Oracle; Classic & Integrated Capture Trail: stages and queues data for routing. Pump: distributes data for routing to target(s). Route: data is compressed, encrypted for routing to target(s). Delivery: applies data with transaction integrity. New with GoldenGate 12c, Integrated Delivery (replicat). MGRMGR
  • 17. 17 Parameter Files Parameter files is where the Oracle GoldenGate magic is performed. Editing parameter files can be done two ways: 1.  From GoldenGate Service Command Interface (GGSCI) 2.  Edited using a text editor (vi, textpad, etc..) Example: GGSCI> edit params <process name>
  • 18. 18 Manager Process Parameter File --Parameter files will vary per environment-- PORT 15000 DYNAMICPORTLIST 15010-15035 PURGEOLDEXTRACTS ./dirdat/*, USECHECKPOINTS, MINKEEPDAYS 2 AUTORESTART ER *, RETRIES 6, WAITMINUTES 2, RESETMINUTES 30 LAGCRITICALSECONDS 30 LAGREPORTMINUTES 60 LAGINFOMINUTES 0
  • 19. 19 Extract Process Parameter File --Parameter files will vary per environment-- -- CHECKPARAMS EXTRACT EXTI SETENV (ORACLE_HOME="/u01/app/oracle/product/11.2.0/db_3") SETENV (ORACLE_SID="orcl") USERID <ggate user>, PASSWORD <pwd> TRANLOGOPTIONS DBLOGREADER WARNLONGTRANS 1h, CHECKINTERVAL 30m EXTTRAIL ./dirdat/lt TABLE ACME.*;
  • 20. 20 Data Pump Process Parameter File --Parameter files will vary per environment-- --CHECKPARAMS EXTRACT PMPI PASSTHRU RMTHOST 10.16.10.10, MGRPORT 15000, COMPRESS RMTTRAIL ./dirdat/rt TABLE ACME.*;
  • 21. 21 Replicat Process Parameter File --Parameter files will vary per environment-- -- CHECKPARAMS REPLICAT REPC SETENV (ORACLE_HOME="/u01/app/oracle/product/11.2.0/db_3") SETENV (ORACLE_SID="orcl") USERID <ggate user>, PASSWORD <pwd> ASSUMETARGETDEFS DISCARDFILE ./dirrpt/REP.dsc, append, megabytes 500 MAP ACME.*, target ACME_RPT.*;
  • 22. 22 GLOBALS File (Optional) --Parameter files will vary per environment— CHECKPOINTTABLE <ggate user>.checkpointtable GGSCHEMA <ggate user> ENABLEMONITORING –enables the Jagent for monitoring
  • 23. 23 Adding processes Add Extract GGSCI> add extract exti, tranlog, begin now GGSCI> add exttrail ./dirdat/lt, extract exti, megabytes 500 Add Data Pump GGSCI> add extract pmpi, exttrailsource ./dirdat/lt GGSCI> add rmttrail ./dirdat/rt, extract pmpi, megabytes 500 Add Replicat GGSCI> dblogin userid <gguser> password <ggpwd> GGSCI> add replicat repc, exttrail ./dirdat/rt *Manager is added by default with installation
  • 26. 26 IOUG Data Integration SIG •  Initially discussed at Oracle Open World 2014 •  Focus/Products •  Resources •  Board of Directors
  • 27. 27 IOUG Data Integration SIG •  Initially discussed at Oracle Open World 2014 •  Popularity of Oracle GoldenGate and Oracle Data Integrator is rising •  Launch of Oracle Metadata Management
  • 28. 28 IOUG Data Integration SIG Focus/Products: IOUG DI SIG will focus on Oracle’s data integration tools •  Oracle GoldenGate •  Oracle Data Integrator •  Oracle Metadata Management •  Many others…
  • 29. 29 IOUG Data Integration SIG Resources: •  Community Site (ioug.org or linkedin.com) •  Regular webcasts (quarterly) •  SIG meetings at Collaborate and Oracle Open World •  Activities promoted on social media sites •  Sharing IOUG content with community
  • 30. 30 IOUG Data Integration SIG Current Board of Directors: Bobby Curtis, AEG, @dbasolved, http://dbasolved.com Seth Miller, Collier IT, @seth_m_miller, http://sethmiller.org Danny Bryant, AEG, @dbcapoeira, http://dbaontap.org *There are spots opened if you would like to participate
  • 31. 31