SlideShare a Scribd company logo
T : +44 (0) 8446 697 995 E : enquiries@rittmanmead.com W: www.rittmanmead.com
GoldenGate and Oracle Data Integrator - A Perfect Match...
Michael Rainey, Principal Consultant, Rittman Mead
Rittman Mead BI Forum 2013 Master Class, May 2013
T : +44 (0) 8446 697 995 E : enquiries@rittmanmead.com W: www.rittmanmead.com
•Real-time data warehousing is becoming standard across many organizations
•Oracle’s Reference Architecture for Information Management and Big Data
‣Staging, Foundation, and Access and Performance Layers
•Implementation of real-time data warehouse
‣Oracle GoldenGate - replication technology
‣Oracle Data Integrator - data integration & ETL
‣GoldenGate and ODI integration
•Real-time ETL
‣Standard approach using Journalized data
‣Solutions to common challenges
About this presentation...
T : +44 (0) 8446 697 995 E : enquiries@rittmanmead.com W: www.rittmanmead.com
Oracle Reference Architecture for Information Management and Big Data
T : +44 (0) 8446 697 995 E : enquiries@rittmanmead.com W: www.rittmanmead.com
Oracle Reference Architecture for Information Management and Big Data
T : +44 (0) 8446 697 995 E : enquiries@rittmanmead.com W: www.rittmanmead.com
Oracle Reference Architecture for Information Management and Big Data
T : +44 (0) 8446 697 995 E : enquiries@rittmanmead.com W: www.rittmanmead.com
Oracle Reference Architecture for Information Management and Big Data
T : +44 (0) 8446 697 995 E : enquiries@rittmanmead.com W: www.rittmanmead.com
Oracle GoldenGate
•Oracle’s standard tool for data replication
•Provides log-based capture, distribution, and delivery of committed transactions in real-time
‣Sub-second replication time
‣Minimal impact to source and target systems
‣Utilizes platform independent universal data format
•Replication of data between heterogeneous systems
‣Handles source and target column differences
•Uni-directional or bi-directional replication
•Easy to deploy - simple configuration of parameter files
T : +44 (0) 8446 697 995 E : enquiries@rittmanmead.com W: www.rittmanmead.com
Oracle Data Integrator 11g
•Oracle’s strategic product for data integration
•Supports batch, event-driven, and real-time integration
•Uses ELT (Extract, Load, Transform) approach
‣No middle ETL engine necessary
‣Utilizes power of target database to perform transformations
•Supports heterogeneous data sources
‣Oracle, SQL Server, XML, flat-file, MySQL, DB2...
•Declarative design - separation of business and technical integration
•Data integrity controls create a “data firewall”
•Extensible through “Knowledge Modules”
T : +44 (0) 8446 697 995 E : enquiries@rittmanmead.com W: www.rittmanmead.com
Oracle Data Integrator Journalizing (CDC)
•Change Data Capture (CDC)
‣Identify, capture, and deliver changes made to data in the source database
•Oracle Data Integrator CDC delivered through Journalizing
‣Journalizing Knowledge Module (JKM) performs setup and creates infrastructure
‣Simple vs Consistent Set
•ODI CDC Framework
‣Journals - tables (J$) hold references to the changed records and the change type (insert/update/delete)
‣Journalizing views - (JV$, JV$D) provides access to changed data, used by IKM’s and LKM’s
‣Capture processes - captures changed data from source datastores
-Database specific programs to retrieve log data from data server log files (Ex: Oracle GoldenGate)
‣Subscribers - entities that use the changed data tracked on a datastore or consistent set
-Data purged from journals after all subscribers have consumed changed data
T : +44 (0) 8446 697 995 E : enquiries@rittmanmead.com W: www.rittmanmead.com
•JKM Oracle to Oracle Consistent (OGG) Knowledge Module
‣Delivered with ODI
‣ODI Metadata used to generate GoldenGate
parameter files (extract, pump, replicat)
‣ReadMe.txt file created with instructions
•ODI CDC Framework generated
‣Staging table - replicate of the source
‣J$ (journal) table - change rows only
•Journalized data used in transformations
GoldenGate and ODI Integration
T : +44 (0) 8446 697 995 E : enquiries@rittmanmead.com W: www.rittmanmead.com
Staging Layer Load
•GoldenGate replication is setup and configured to keep
the Staging schema in sync with the Source
•All committed changes loaded to Staging in real-time
T : +44 (0) 8446 697 995 E : enquiries@rittmanmead.com W: www.rittmanmead.com
•Standard process was to load incremental changes from Staging to Foundation
‣Requires extra set of mappings
‣Increases latency of real-time data warehouse load
Foundation Layer Load
T : +44 (0) 8446 697 995 E : enquiries@rittmanmead.com W: www.rittmanmead.com
•GoldenGate will load Foundation directly
‣Reduced overall data warehouse load time
•A simple customization to the JKM will allow the
generation of source to Foundation GoldenGate
parameter files
‣Use INSERTALLRECORDS option for storing
transactional history
Foundation Layer Load
T : +44 (0) 8446 697 995 E : enquiries@rittmanmead.com W: www.rittmanmead.com
ODI and GoldenGate CDC Setup Process
•Setup Staging and Foundation Models
‣Add Datastores
‣Add Primary Keys
‣Add data warehouse audit columns
•Setup the GoldenGate JKM on each Model
‣Configure Options
‣Add each Datastore to CDC
‣Start Journal
•Follow ReadMe.txt instructions to complete GoldenGate setup
•Perform initial load of data from source to Staging and Foundation schemas
•Start GoldenGate replication
T : +44 (0) 8446 697 995 E : enquiries@rittmanmead.com W: www.rittmanmead.com
Set the Journalizing Knowledge Module Options - Staging
Datastore
Model
T : +44 (0) 8446 697 995 E : enquiries@rittmanmead.com W: www.rittmanmead.com
Journalizing Knowledge Module Options
•LOCAL_TEMP_DIR: Local path for generated parameter files
•SRC_LSCHEMA: Source Logical Schema
•SRC_DB_USER: Source GoldenGate user
•SRC_DB_PASSWORD: Source GoldenGate password
•SRC_OGG_PATH: Source GoldenGate install path
•SRC_SETUP_OGG_PROCESSES: Setup extract files if true
•STG_HOSTNAME: Target server hostname
•STG_MANAGER_PORT: Target GoldenGate install port
•STG_OGG_OBJECT_GROUP: Replicat file name
•STG_OGG_PATH: Target GoldenGate install path
•ENABLE_ODI_CDC: Setup the ODI CDC framework if true
•STG_OGG_TRACK_HISTORY: Custom option - store history
T : +44 (0) 8446 697 995 E : enquiries@rittmanmead.com W: www.rittmanmead.com
Configure GoldenGate
T : +44 (0) 8446 697 995 E : enquiries@rittmanmead.com W: www.rittmanmead.com
Configure GoldenGate
T : +44 (0) 8446 697 995 E : enquiries@rittmanmead.com W: www.rittmanmead.com
Set the Journalizing Knowledge Module Parameters - Foundation
T : +44 (0) 8446 697 995 E : enquiries@rittmanmead.com W: www.rittmanmead.com
Initial Load of Target and GoldenGate Startup
•Run initial load of source data before starting replication
‣Recommended tools: Oracle Datapump, Oracle Export/Import, DBLink
•Example initial load and GoldenGate startup process:
‣Follow instructions to setup the GoldenGate parameter files
‣Start the GoldenGate extract and pump processes
‣Run the initial load using Oracle Datapump as of SCN
‣Once the initial load has completed, start the GoldenGate
replicat process after the initial load SCN
-GGSCI >start replicat ODIT1T afterCSN 123456
‣Handling data collisions should not be necessary
T : +44 (0) 8446 697 995 E : enquiries@rittmanmead.com W: www.rittmanmead.com
Access and Performance Layer Load
•Moving change rows through to the star schema
‣Journalized data “out of the box”
‣Handling Parent-Child relationship
‣Subscription Views
T : +44 (0) 8446 697 995 E : enquiries@rittmanmead.com W: www.rittmanmead.com
Using ODI Journalized Data in an Interface
•Only one source Datastore can use “Journalized data” per Interface
‣Change view used as source
‣Filter added for Subscriber
•Extend window and lock subscribers prior to Interface execution
‣Ensures consistent dataset for the specific Subscriber
•Unlock subscribers and purge journal after execution
T : +44 (0) 8446 697 995 E : enquiries@rittmanmead.com W: www.rittmanmead.com
Journalized ODI Interface - Design
T : +44 (0) 8446 697 995 E : enquiries@rittmanmead.com W: www.rittmanmead.com
Journalized ODI Interface - Execution
T : +44 (0) 8446 697 995 E : enquiries@rittmanmead.com W: www.rittmanmead.com
Parent-Child Table Relationships
•Foreign key and parent-child relationships between Datastores
‣New or changed records in the Child table, Parent has no changes
‣Join between change datasets orphans child record
•Example:
‣Parent change view - JV$ON_FIELD_ROSTER
‣Child full table - GAME_PLAY_DETAILS
T : +44 (0) 8446 697 995 E : enquiries@rittmanmead.com W: www.rittmanmead.com
left outer join
Parent-child Tables Example
left outer join
Parent (change view) Child (full table)
Parent (change view) Child (full table)
T : +44 (0) 8446 697 995 E : enquiries@rittmanmead.com W: www.rittmanmead.com
Parent-child Tables Example
left outer join
left outer join
Parent (change view) Child (full table)
Parent (change view) Child (full table)
T : +44 (0) 8446 697 995 E : enquiries@rittmanmead.com W: www.rittmanmead.com
Parent-child Tables - Solution
•Create two ODI Interfaces
‣Interface 1: Parent table with Journalizing enabled joined to full child table
‣Interface 2: Child table with Journalizing enabled joined to full parent table
•Both Interfaces have same logic, column mappings, etc
•Consistent Journalizing must be used to ensure a consistent dataset
GoldenGate
Staging
ODI CDC ETL
Source Performance
T : +44 (0) 8446 697 995 E : enquiries@rittmanmead.com W: www.rittmanmead.com
Parent-child Tables - Design
T : +44 (0) 8446 697 995 E : enquiries@rittmanmead.com W: www.rittmanmead.com
Subscription Views
•Dynamic subscription views simplify development
‣Return a consistent set of data
‣Reduce the number of mappings
•Create a view for each Staging table
•ETL developer can choose dataset to be returned
‣Change rows (J$ table)
‣Current replicated rows (Staging table)
‣Full transactional history (Foundation table)
GoldenGate
Change Views
Staging
Subscription
Views
ETL
Source Performance
T : +44 (0) 8446 697 995 E : enquiries@rittmanmead.com W: www.rittmanmead.com
Subscription Views - SQL Code
T : +44 (0) 8446 697 995 E : enquiries@rittmanmead.com W: www.rittmanmead.com
Subscription Views - SQL Code
T : +44 (0) 8446 697 995 E : enquiries@rittmanmead.com W: www.rittmanmead.com
In summary...
•Real-time data warehousing is now a standard across many organizations
•Oracle’s Reference Architecture for Information Management and Big Data
provides a great structure for implementation
•GoldenGate and ODI as the delivery mechanism, while integrated, are the
perfect match for real-time data warehousing
•Real-time ETL can be achieved using ODI Change Data Capture
‣Parent-child relationships and subscription views
•More information can be found at http://www.rittmanmead.com
•Contact us at info@rittmanmead.com or michael.rainey@rittmanmead.com
•Follow-us on Twitter (@rittmanmead & @mRainey) or Facebook
(facebook.com/rittmanmead)
T : +44 (0) 8446 697 995 E : enquiries@rittmanmead.com W: www.rittmanmead.com
GoldenGate and ODI - A Perfect Match...
Michael Rainey, Principal Consultant, Rittman Mead
Rittman Mead BI Forum 2013 Master Class, May 2013

More Related Content

What's hot (20)

PPTX
Basic oracle-database-administration
sreehari orienit
 
PDF
NoSQL databases
Marin Dimitrov
 
PDF
026 Neo4j Data Loading (ETL_ELT) Best Practices - NODES2022 AMERICAS Advanced...
Neo4j
 
PPTX
Backup & recovery with rman
itsabidhussain
 
PPT
Oracle Transparent Data Encryption (TDE) 12c
Nabeel Yoosuf
 
PPTX
はじめてのElasticsearchクラスタ
Satoyuki Tsukano
 
PPTX
Informatica Powercenter Architecture
BigClasses Com
 
PPT
Lecture2 oracle ppt
Hitesh Kumar Markam
 
PDF
Google Cloud ベストプラクティス:Google BigQuery 編 - 03 : パフォーマンスとコストの最適化
Google Cloud Platform - Japan
 
PDF
Etl overview training
Mondy Holten
 
PPTX
Data Warehouse
MadhuriNigam1
 
PDF
Dd and atomic ddl pl17 dublin
Ståle Deraas
 
PDF
SQL serverのデータ破損に備える
okumar savurou
 
PDF
MySQLアーキテクチャ図解講座
Mikiya Okuno
 
DOCX
Oracle architecture
Soumya Das
 
PDF
Oracle Stream Analytics - Developer Introduction
Jeffrey T. Pollock
 
PDF
(Lecture 4)Slowly Changing Dimensions.pdf
MobeenMasoudi
 
PDF
Integrating Oracle Data Integrator with Oracle GoldenGate 12c
Edelweiss Kammermann
 
PDF
Redshift VS BigQuery
Kostas Pardalis
 
PPTX
Infrastructure as Code
Sakha Global
 
Basic oracle-database-administration
sreehari orienit
 
NoSQL databases
Marin Dimitrov
 
026 Neo4j Data Loading (ETL_ELT) Best Practices - NODES2022 AMERICAS Advanced...
Neo4j
 
Backup & recovery with rman
itsabidhussain
 
Oracle Transparent Data Encryption (TDE) 12c
Nabeel Yoosuf
 
はじめてのElasticsearchクラスタ
Satoyuki Tsukano
 
Informatica Powercenter Architecture
BigClasses Com
 
Lecture2 oracle ppt
Hitesh Kumar Markam
 
Google Cloud ベストプラクティス:Google BigQuery 編 - 03 : パフォーマンスとコストの最適化
Google Cloud Platform - Japan
 
Etl overview training
Mondy Holten
 
Data Warehouse
MadhuriNigam1
 
Dd and atomic ddl pl17 dublin
Ståle Deraas
 
SQL serverのデータ破損に備える
okumar savurou
 
MySQLアーキテクチャ図解講座
Mikiya Okuno
 
Oracle architecture
Soumya Das
 
Oracle Stream Analytics - Developer Introduction
Jeffrey T. Pollock
 
(Lecture 4)Slowly Changing Dimensions.pdf
MobeenMasoudi
 
Integrating Oracle Data Integrator with Oracle GoldenGate 12c
Edelweiss Kammermann
 
Redshift VS BigQuery
Kostas Pardalis
 
Infrastructure as Code
Sakha Global
 

Viewers also liked (19)

PDF
GoldenGate and Oracle Data Integrator - A Perfect Match- Upgrade to 12c
Michael Rainey
 
PDF
Social research methods in managemen
Michael Mazzer
 
PDF
Practical Tips for Oracle Business Intelligence Applications 11g Implementations
Michael Rainey
 
PDF
GoldenGate and ODI - A Perfect Match for Real-Time Data Warehousing
Michael Rainey
 
PDF
A Walk Through the Kimball ETL Subsystems with Oracle Data Integration - Coll...
Michael Rainey
 
PDF
A Walk Through the Kimball ETL Subsystems with Oracle Data Integration
Michael Rainey
 
PDF
Comunicado ugel 15
Luis Coca Lazo
 
PDF
Oracle GoldenGate and Apache Kafka A Deep Dive Into Real-Time Data Streaming
Michael Rainey
 
PDF
awesome groovy
Paul King
 
PPTX
Obe principles and process
Ignatius Joseph Estroga
 
PDF
Real-time Data Warehouse Upgrade – Success Stories
Michael Rainey
 
PPT
Real-Time Data Replication to Hadoop using GoldenGate 12c Adaptors
Michael Rainey
 
PDF
Business Integration for the 21st Century
Bob Rhubart
 
PDF
Oracle GoldenGate and Apache Kafka A Deep Dive Into Real-Time Data Streaming
Michael Rainey
 
PPTX
Data warehouse migration to oracle data integrator 11g
Michael Rainey
 
PDF
Onico gdynia-half-marathon-media-guide-2017 (1)
Alberto Stretti
 
PPTX
Tame Big Data with Oracle Data Integration
Michael Rainey
 
PDF
Oracle Data Integrator 12c - Getting Started
Michael Rainey
 
GoldenGate and Oracle Data Integrator - A Perfect Match- Upgrade to 12c
Michael Rainey
 
Social research methods in managemen
Michael Mazzer
 
Practical Tips for Oracle Business Intelligence Applications 11g Implementations
Michael Rainey
 
GoldenGate and ODI - A Perfect Match for Real-Time Data Warehousing
Michael Rainey
 
A Walk Through the Kimball ETL Subsystems with Oracle Data Integration - Coll...
Michael Rainey
 
A Walk Through the Kimball ETL Subsystems with Oracle Data Integration
Michael Rainey
 
Comunicado ugel 15
Luis Coca Lazo
 
Oracle GoldenGate and Apache Kafka A Deep Dive Into Real-Time Data Streaming
Michael Rainey
 
awesome groovy
Paul King
 
Obe principles and process
Ignatius Joseph Estroga
 
Real-time Data Warehouse Upgrade – Success Stories
Michael Rainey
 
Real-Time Data Replication to Hadoop using GoldenGate 12c Adaptors
Michael Rainey
 
Business Integration for the 21st Century
Bob Rhubart
 
Oracle GoldenGate and Apache Kafka A Deep Dive Into Real-Time Data Streaming
Michael Rainey
 
Data warehouse migration to oracle data integrator 11g
Michael Rainey
 
Onico gdynia-half-marathon-media-guide-2017 (1)
Alberto Stretti
 
Tame Big Data with Oracle Data Integration
Michael Rainey
 
Oracle Data Integrator 12c - Getting Started
Michael Rainey
 
Ad

Similar to GoldenGate and Oracle Data Integrator - A Perfect Match... (20)

PDF
KScope14 - Real-Time Data Warehouse Upgrade - Success Stories
Michael Rainey
 
PPTX
Oracle GoldenGate, Streams, and Data Integrator
Fumiko Yamashita
 
PPTX
UKOUG Tech 15 - Migration from Oracle Warehouse Builder to Oracle Data Integr...
Jérôme Françoisse
 
PDF
A Walk Through the Kimball ETL Subsystems with Oracle Data Integration
Michael Rainey
 
PDF
Oow2010 mead exadata
swallowtoyou
 
PDF
6. real time integration with odi 11g & golden gate 11g & dq 11g 20101103 -...
Doina Draganescu
 
PDF
Oracle GoldenGate and Apache Kafka: A Deep Dive Into Real-Time Data Streaming
Michael Rainey
 
PPT
ODI 11g in the Enterprise - BIWA 2013
Mark Rittman
 
PDF
Adding a Data Reservoir to your Oracle Data Warehouse for Customer 360-Degree...
Mark Rittman
 
PDF
ODI12c as your Big Data Integration Hub
Mark Rittman
 
PDF
OGH 2015 - Hadoop (Oracle BDA) and Oracle Technologies on BI Projects
Mark Rittman
 
PPTX
Oracle GoldenGate for Zero Downtime Migration
Fumiko Yamashita
 
PPTX
Insync10 goldengate
InSync Conference
 
PDF
No more Big Data Hacking—Time for a Complete ETL Solution with Oracle Data In...
Jérôme Françoisse
 
PDF
What is Big Data Discovery, and how it complements traditional business anal...
Mark Rittman
 
PDF
UKOUG BIRT SIG 2014 – ODI for OWB Developers
Jérôme Françoisse
 
PPT
Fusion Middleware Oracle Data Integrator
Mark Rabne
 
DOCX
Oracle dba golden gate training
FuturePoint Technologies
 
DOCX
Oracle golden gate training
FuturePoint Technologies
 
PDF
B7 accelerating your business with oracle data integration solutions
Dr. Wilfred Lin (Ph.D.)
 
KScope14 - Real-Time Data Warehouse Upgrade - Success Stories
Michael Rainey
 
Oracle GoldenGate, Streams, and Data Integrator
Fumiko Yamashita
 
UKOUG Tech 15 - Migration from Oracle Warehouse Builder to Oracle Data Integr...
Jérôme Françoisse
 
A Walk Through the Kimball ETL Subsystems with Oracle Data Integration
Michael Rainey
 
Oow2010 mead exadata
swallowtoyou
 
6. real time integration with odi 11g & golden gate 11g & dq 11g 20101103 -...
Doina Draganescu
 
Oracle GoldenGate and Apache Kafka: A Deep Dive Into Real-Time Data Streaming
Michael Rainey
 
ODI 11g in the Enterprise - BIWA 2013
Mark Rittman
 
Adding a Data Reservoir to your Oracle Data Warehouse for Customer 360-Degree...
Mark Rittman
 
ODI12c as your Big Data Integration Hub
Mark Rittman
 
OGH 2015 - Hadoop (Oracle BDA) and Oracle Technologies on BI Projects
Mark Rittman
 
Oracle GoldenGate for Zero Downtime Migration
Fumiko Yamashita
 
Insync10 goldengate
InSync Conference
 
No more Big Data Hacking—Time for a Complete ETL Solution with Oracle Data In...
Jérôme Françoisse
 
What is Big Data Discovery, and how it complements traditional business anal...
Mark Rittman
 
UKOUG BIRT SIG 2014 – ODI for OWB Developers
Jérôme Françoisse
 
Fusion Middleware Oracle Data Integrator
Mark Rabne
 
Oracle dba golden gate training
FuturePoint Technologies
 
Oracle golden gate training
FuturePoint Technologies
 
B7 accelerating your business with oracle data integration solutions
Dr. Wilfred Lin (Ph.D.)
 
Ad

More from Michael Rainey (8)

PDF
Data Warehouse - Incremental Migration to the Cloud
Michael Rainey
 
PDF
Continuous Data Replication into Cloud Storage with Oracle GoldenGate
Michael Rainey
 
PPTX
SQL on Hadoop for the Oracle Professional
Michael Rainey
 
PPTX
Going Serverless - an Introduction to AWS Glue
Michael Rainey
 
PDF
Offload, Transform, and Present - the New World of Data Integration
Michael Rainey
 
PDF
Streaming with Oracle Data Integration
Michael Rainey
 
PDF
Oracle data integrator 12c - getting started
Michael Rainey
 
PDF
A Picture Can Replace A Thousand Words
Michael Rainey
 
Data Warehouse - Incremental Migration to the Cloud
Michael Rainey
 
Continuous Data Replication into Cloud Storage with Oracle GoldenGate
Michael Rainey
 
SQL on Hadoop for the Oracle Professional
Michael Rainey
 
Going Serverless - an Introduction to AWS Glue
Michael Rainey
 
Offload, Transform, and Present - the New World of Data Integration
Michael Rainey
 
Streaming with Oracle Data Integration
Michael Rainey
 
Oracle data integrator 12c - getting started
Michael Rainey
 
A Picture Can Replace A Thousand Words
Michael Rainey
 

Recently uploaded (20)

PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PDF
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PDF
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PDF
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 

GoldenGate and Oracle Data Integrator - A Perfect Match...

  • 1. T : +44 (0) 8446 697 995 E : [email protected] W: www.rittmanmead.com GoldenGate and Oracle Data Integrator - A Perfect Match... Michael Rainey, Principal Consultant, Rittman Mead Rittman Mead BI Forum 2013 Master Class, May 2013
  • 2. T : +44 (0) 8446 697 995 E : [email protected] W: www.rittmanmead.com •Real-time data warehousing is becoming standard across many organizations •Oracle’s Reference Architecture for Information Management and Big Data ‣Staging, Foundation, and Access and Performance Layers •Implementation of real-time data warehouse ‣Oracle GoldenGate - replication technology ‣Oracle Data Integrator - data integration & ETL ‣GoldenGate and ODI integration •Real-time ETL ‣Standard approach using Journalized data ‣Solutions to common challenges About this presentation...
  • 3. T : +44 (0) 8446 697 995 E : [email protected] W: www.rittmanmead.com Oracle Reference Architecture for Information Management and Big Data
  • 4. T : +44 (0) 8446 697 995 E : [email protected] W: www.rittmanmead.com Oracle Reference Architecture for Information Management and Big Data
  • 5. T : +44 (0) 8446 697 995 E : [email protected] W: www.rittmanmead.com Oracle Reference Architecture for Information Management and Big Data
  • 6. T : +44 (0) 8446 697 995 E : [email protected] W: www.rittmanmead.com Oracle Reference Architecture for Information Management and Big Data
  • 7. T : +44 (0) 8446 697 995 E : [email protected] W: www.rittmanmead.com Oracle GoldenGate •Oracle’s standard tool for data replication •Provides log-based capture, distribution, and delivery of committed transactions in real-time ‣Sub-second replication time ‣Minimal impact to source and target systems ‣Utilizes platform independent universal data format •Replication of data between heterogeneous systems ‣Handles source and target column differences •Uni-directional or bi-directional replication •Easy to deploy - simple configuration of parameter files
  • 8. T : +44 (0) 8446 697 995 E : [email protected] W: www.rittmanmead.com Oracle Data Integrator 11g •Oracle’s strategic product for data integration •Supports batch, event-driven, and real-time integration •Uses ELT (Extract, Load, Transform) approach ‣No middle ETL engine necessary ‣Utilizes power of target database to perform transformations •Supports heterogeneous data sources ‣Oracle, SQL Server, XML, flat-file, MySQL, DB2... •Declarative design - separation of business and technical integration •Data integrity controls create a “data firewall” •Extensible through “Knowledge Modules”
  • 9. T : +44 (0) 8446 697 995 E : [email protected] W: www.rittmanmead.com Oracle Data Integrator Journalizing (CDC) •Change Data Capture (CDC) ‣Identify, capture, and deliver changes made to data in the source database •Oracle Data Integrator CDC delivered through Journalizing ‣Journalizing Knowledge Module (JKM) performs setup and creates infrastructure ‣Simple vs Consistent Set •ODI CDC Framework ‣Journals - tables (J$) hold references to the changed records and the change type (insert/update/delete) ‣Journalizing views - (JV$, JV$D) provides access to changed data, used by IKM’s and LKM’s ‣Capture processes - captures changed data from source datastores -Database specific programs to retrieve log data from data server log files (Ex: Oracle GoldenGate) ‣Subscribers - entities that use the changed data tracked on a datastore or consistent set -Data purged from journals after all subscribers have consumed changed data
  • 10. T : +44 (0) 8446 697 995 E : [email protected] W: www.rittmanmead.com •JKM Oracle to Oracle Consistent (OGG) Knowledge Module ‣Delivered with ODI ‣ODI Metadata used to generate GoldenGate parameter files (extract, pump, replicat) ‣ReadMe.txt file created with instructions •ODI CDC Framework generated ‣Staging table - replicate of the source ‣J$ (journal) table - change rows only •Journalized data used in transformations GoldenGate and ODI Integration
  • 11. T : +44 (0) 8446 697 995 E : [email protected] W: www.rittmanmead.com Staging Layer Load •GoldenGate replication is setup and configured to keep the Staging schema in sync with the Source •All committed changes loaded to Staging in real-time
  • 12. T : +44 (0) 8446 697 995 E : [email protected] W: www.rittmanmead.com •Standard process was to load incremental changes from Staging to Foundation ‣Requires extra set of mappings ‣Increases latency of real-time data warehouse load Foundation Layer Load
  • 13. T : +44 (0) 8446 697 995 E : [email protected] W: www.rittmanmead.com •GoldenGate will load Foundation directly ‣Reduced overall data warehouse load time •A simple customization to the JKM will allow the generation of source to Foundation GoldenGate parameter files ‣Use INSERTALLRECORDS option for storing transactional history Foundation Layer Load
  • 14. T : +44 (0) 8446 697 995 E : [email protected] W: www.rittmanmead.com ODI and GoldenGate CDC Setup Process •Setup Staging and Foundation Models ‣Add Datastores ‣Add Primary Keys ‣Add data warehouse audit columns •Setup the GoldenGate JKM on each Model ‣Configure Options ‣Add each Datastore to CDC ‣Start Journal •Follow ReadMe.txt instructions to complete GoldenGate setup •Perform initial load of data from source to Staging and Foundation schemas •Start GoldenGate replication
  • 15. T : +44 (0) 8446 697 995 E : [email protected] W: www.rittmanmead.com Set the Journalizing Knowledge Module Options - Staging Datastore Model
  • 16. T : +44 (0) 8446 697 995 E : [email protected] W: www.rittmanmead.com Journalizing Knowledge Module Options •LOCAL_TEMP_DIR: Local path for generated parameter files •SRC_LSCHEMA: Source Logical Schema •SRC_DB_USER: Source GoldenGate user •SRC_DB_PASSWORD: Source GoldenGate password •SRC_OGG_PATH: Source GoldenGate install path •SRC_SETUP_OGG_PROCESSES: Setup extract files if true •STG_HOSTNAME: Target server hostname •STG_MANAGER_PORT: Target GoldenGate install port •STG_OGG_OBJECT_GROUP: Replicat file name •STG_OGG_PATH: Target GoldenGate install path •ENABLE_ODI_CDC: Setup the ODI CDC framework if true •STG_OGG_TRACK_HISTORY: Custom option - store history
  • 17. T : +44 (0) 8446 697 995 E : [email protected] W: www.rittmanmead.com Configure GoldenGate
  • 18. T : +44 (0) 8446 697 995 E : [email protected] W: www.rittmanmead.com Configure GoldenGate
  • 19. T : +44 (0) 8446 697 995 E : [email protected] W: www.rittmanmead.com Set the Journalizing Knowledge Module Parameters - Foundation
  • 20. T : +44 (0) 8446 697 995 E : [email protected] W: www.rittmanmead.com Initial Load of Target and GoldenGate Startup •Run initial load of source data before starting replication ‣Recommended tools: Oracle Datapump, Oracle Export/Import, DBLink •Example initial load and GoldenGate startup process: ‣Follow instructions to setup the GoldenGate parameter files ‣Start the GoldenGate extract and pump processes ‣Run the initial load using Oracle Datapump as of SCN ‣Once the initial load has completed, start the GoldenGate replicat process after the initial load SCN -GGSCI >start replicat ODIT1T afterCSN 123456 ‣Handling data collisions should not be necessary
  • 21. T : +44 (0) 8446 697 995 E : [email protected] W: www.rittmanmead.com Access and Performance Layer Load •Moving change rows through to the star schema ‣Journalized data “out of the box” ‣Handling Parent-Child relationship ‣Subscription Views
  • 22. T : +44 (0) 8446 697 995 E : [email protected] W: www.rittmanmead.com Using ODI Journalized Data in an Interface •Only one source Datastore can use “Journalized data” per Interface ‣Change view used as source ‣Filter added for Subscriber •Extend window and lock subscribers prior to Interface execution ‣Ensures consistent dataset for the specific Subscriber •Unlock subscribers and purge journal after execution
  • 23. T : +44 (0) 8446 697 995 E : [email protected] W: www.rittmanmead.com Journalized ODI Interface - Design
  • 24. T : +44 (0) 8446 697 995 E : [email protected] W: www.rittmanmead.com Journalized ODI Interface - Execution
  • 25. T : +44 (0) 8446 697 995 E : [email protected] W: www.rittmanmead.com Parent-Child Table Relationships •Foreign key and parent-child relationships between Datastores ‣New or changed records in the Child table, Parent has no changes ‣Join between change datasets orphans child record •Example: ‣Parent change view - JV$ON_FIELD_ROSTER ‣Child full table - GAME_PLAY_DETAILS
  • 26. T : +44 (0) 8446 697 995 E : [email protected] W: www.rittmanmead.com left outer join Parent-child Tables Example left outer join Parent (change view) Child (full table) Parent (change view) Child (full table)
  • 27. T : +44 (0) 8446 697 995 E : [email protected] W: www.rittmanmead.com Parent-child Tables Example left outer join left outer join Parent (change view) Child (full table) Parent (change view) Child (full table)
  • 28. T : +44 (0) 8446 697 995 E : [email protected] W: www.rittmanmead.com Parent-child Tables - Solution •Create two ODI Interfaces ‣Interface 1: Parent table with Journalizing enabled joined to full child table ‣Interface 2: Child table with Journalizing enabled joined to full parent table •Both Interfaces have same logic, column mappings, etc •Consistent Journalizing must be used to ensure a consistent dataset GoldenGate Staging ODI CDC ETL Source Performance
  • 29. T : +44 (0) 8446 697 995 E : [email protected] W: www.rittmanmead.com Parent-child Tables - Design
  • 30. T : +44 (0) 8446 697 995 E : [email protected] W: www.rittmanmead.com Subscription Views •Dynamic subscription views simplify development ‣Return a consistent set of data ‣Reduce the number of mappings •Create a view for each Staging table •ETL developer can choose dataset to be returned ‣Change rows (J$ table) ‣Current replicated rows (Staging table) ‣Full transactional history (Foundation table) GoldenGate Change Views Staging Subscription Views ETL Source Performance
  • 31. T : +44 (0) 8446 697 995 E : [email protected] W: www.rittmanmead.com Subscription Views - SQL Code
  • 32. T : +44 (0) 8446 697 995 E : [email protected] W: www.rittmanmead.com Subscription Views - SQL Code
  • 33. T : +44 (0) 8446 697 995 E : [email protected] W: www.rittmanmead.com In summary... •Real-time data warehousing is now a standard across many organizations •Oracle’s Reference Architecture for Information Management and Big Data provides a great structure for implementation •GoldenGate and ODI as the delivery mechanism, while integrated, are the perfect match for real-time data warehousing •Real-time ETL can be achieved using ODI Change Data Capture ‣Parent-child relationships and subscription views •More information can be found at http://www.rittmanmead.com •Contact us at [email protected] or [email protected] •Follow-us on Twitter (@rittmanmead & @mRainey) or Facebook (facebook.com/rittmanmead)
  • 34. T : +44 (0) 8446 697 995 E : [email protected] W: www.rittmanmead.com GoldenGate and ODI - A Perfect Match... Michael Rainey, Principal Consultant, Rittman Mead Rittman Mead BI Forum 2013 Master Class, May 2013