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

PPT
Dataguard presentation
PDF
Future of Data Engineering
PPTX
All of the Performance Tuning Features in Oracle SQL Developer
PDF
Architect’s Open-Source Guide for a Data Mesh Architecture
PDF
MAA Best Practices for Oracle Database 19c
PPTX
Data Quality Patterns in the Cloud with Azure Data Factory
PDF
Building the Enterprise Data Lake - Important Considerations Before You Jump In
PDF
Integrating Oracle Data Integrator with Oracle GoldenGate 12c
Dataguard presentation
Future of Data Engineering
All of the Performance Tuning Features in Oracle SQL Developer
Architect’s Open-Source Guide for a Data Mesh Architecture
MAA Best Practices for Oracle Database 19c
Data Quality Patterns in the Cloud with Azure Data Factory
Building the Enterprise Data Lake - Important Considerations Before You Jump In
Integrating Oracle Data Integrator with Oracle GoldenGate 12c

What's hot (20)

ODP
Pentaho Data Integration Introduction
PPTX
[DSC Europe 22] Lakehouse architecture with Delta Lake and Databricks - Draga...
PPTX
Apache Spark overview
PPT
Introduction To Msbi By Yasir
PDF
Introduction to HBase - NoSqlNow2015
PDF
Databricks: A Tool That Empowers You To Do More With Data
PDF
Enabling a Data Mesh Architecture with Data Virtualization
DOCX
Data guard architecture
PPTX
Data Lakehouse Symposium | Day 4
PDF
Oracle Database Migration to Oracle Cloud Infrastructure
PDF
The Heart of the Data Mesh Beats in Real-Time with Apache Kafka
PPTX
Impala presentation
PDF
Snowflake: The most cost-effective agile and scalable data warehouse ever!
PDF
Introduction to Knowledge Graphs
PDF
Lessons from the Field: Applying Best Practices to Your Apache Spark Applicat...
PDF
apache-spark-programming-with-databricks.pdf
PPTX
Lakehouse Analytics with Dremio
PPTX
Databricks Platform.pptx
PDF
Data Migration Between MongoDB and Oracle
PDF
Building large scale transactional data lake using apache hudi
Pentaho Data Integration Introduction
[DSC Europe 22] Lakehouse architecture with Delta Lake and Databricks - Draga...
Apache Spark overview
Introduction To Msbi By Yasir
Introduction to HBase - NoSqlNow2015
Databricks: A Tool That Empowers You To Do More With Data
Enabling a Data Mesh Architecture with Data Virtualization
Data guard architecture
Data Lakehouse Symposium | Day 4
Oracle Database Migration to Oracle Cloud Infrastructure
The Heart of the Data Mesh Beats in Real-Time with Apache Kafka
Impala presentation
Snowflake: The most cost-effective agile and scalable data warehouse ever!
Introduction to Knowledge Graphs
Lessons from the Field: Applying Best Practices to Your Apache Spark Applicat...
apache-spark-programming-with-databricks.pdf
Lakehouse Analytics with Dremio
Databricks Platform.pptx
Data Migration Between MongoDB and Oracle
Building large scale transactional data lake using apache hudi
Ad

Viewers also liked (19)

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

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

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

More from Michael Rainey (8)

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

Recently uploaded (20)

PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
A Presentation on Artificial Intelligence
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Encapsulation theory and applications.pdf
PPTX
Tartificialntelligence_presentation.pptx
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
cloud_computing_Infrastucture_as_cloud_p
PDF
Machine learning based COVID-19 study performance prediction
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PPT
Teaching material agriculture food technology
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
Machine Learning_overview_presentation.pptx
PDF
Empathic Computing: Creating Shared Understanding
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
TLE Review Electricity (Electricity).pptx
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Network Security Unit 5.pdf for BCA BBA.
A Presentation on Artificial Intelligence
Advanced methodologies resolving dimensionality complications for autism neur...
Encapsulation_ Review paper, used for researhc scholars
Encapsulation theory and applications.pdf
Tartificialntelligence_presentation.pptx
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Reach Out and Touch Someone: Haptics and Empathic Computing
cloud_computing_Infrastucture_as_cloud_p
Machine learning based COVID-19 study performance prediction
NewMind AI Weekly Chronicles - August'25-Week II
Teaching material agriculture food technology
Building Integrated photovoltaic BIPV_UPV.pdf
Machine Learning_overview_presentation.pptx
Empathic Computing: Creating Shared Understanding
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
TLE Review Electricity (Electricity).pptx
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Unlocking AI with Model Context Protocol (MCP)

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