Upload
oracle-user-group-estonia
View
1.926
Download
1
Tags:
Embed Size (px)
DESCRIPTION
Event: Oracle Technology Day 2011 Date: 20.10.2011 Place: Nordic Hotel Forum Country: ESTONIA
Citation preview
1 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Oracle GoldenGate 11g Overview
Edgars Ruņģis
Technology Consultant
Oracle in Latvia
2 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Do You ...
Growing data volumes and shrinking batch
windows for ETL?
Need fresh data 24X7 to optimize operations?
Mission-critical OLTP with performance
impact?
Business Intelligence/ DWH
Want to get onto more efficient and effective
standard infrastructure?
Can’t afford downtime?
Why not fix data assets during an
infrastructure move?
Migration Data-based Application Integration Integrating today via manual code?
Looking ahead to SOA but concerned about
the data?
Need to handle large files and batch
processes?
Support global operations with real-time
data?
High Availability/Disaster Recovery
Strict SLAs for high availability and
performance?
Need single technology for heterogeneous
systems?
Leverage standby databases for transaction
processing?
3 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Agenda
• Introduction to Oracle GoldenGate
• Technology Overview
• Use Cases and Benefits
• Summary
• Q&A
4 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
What is Oracle GoldenGate ?
Oracle GoldenGate provides low-impact capture, routing, transformation, and delivery of database transactions across heterogeneous environments in real time
Database
Distributed Systems
Replica/ Standby
Log-based, changed data
Data Warehouse
5 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Performance
Flexible & Extendable
Reliable
• Sub-second latency for data movement
• Low-impact capture, routing, transformation, and
delivery of transactional data
• Open, modular architecture
• Supports heterogeneous sources and targets
• Agile and adaptable to modern data integration architectures
• Maintains transactional integrity
• Resilient against interruptions and failures
• Fast Recovery after process interruptions.
Oracle GoldenGate Differentiators
6 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Agenda
• Introduction to Oracle GoldenGate
• Technology Overview
• Use Cases and Benefits
• Summary
• Q&A
7 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
How Oracle GoldenGate Works
Source
Oracle & Non-Oracle
Database(s)
Target
Oracle & Non-Oracle
Database(s)
Capture: committed transactions are captured (and can be filtered) as they occur by reading the transaction logs.
8 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
How Oracle GoldenGate Works
Source
Oracle & Non-Oracle
Database(s)
Target
Oracle & Non-Oracle
Database(s)
Capture: committed transactions are captured (and can be filtered) as they occur by reading the transaction logs.
Trail: stages and queues data for routing.
9 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
How Oracle GoldenGate Works
Source
Oracle & Non-Oracle
Database(s)
Target
Oracle & Non-Oracle
Database(s)
Capture: committed transactions are captured (and can be filtered) as they occur by reading the transaction logs.
Trail: stages and queues data for routing.
Pump: distributes data for routing to target(s).
10 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
How Oracle GoldenGate Works
Source
Oracle & Non-Oracle
Database(s)
Target
Oracle & Non-Oracle
Database(s)
Capture: committed transactions are captured (and can be filtered) as they occur by reading the transaction logs.
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).
11 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
How Oracle GoldenGate Works
Source
Oracle & Non-Oracle
Database(s)
Target
Oracle & Non-Oracle
Database(s)
Capture: committed transactions are captured (and can be filtered) as they occur by reading the transaction logs.
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, transforming the data as required.
12 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Capture: committed transactions are captured (and can be filtered) as they occur by reading the transaction logs.
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, transforming the data as required.
Source
Oracle & Non-Oracle
Database(s)
Target
Oracle & Non-Oracle
Database(s) Bi-directional
How Oracle GoldenGate Works
13 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Unidirectional Query Offloading
Zero-Downtime Migration
Bi-Directional Hot Standby or
Active-Active for HA
Peer-to-Peer Load Balancing
Multi-Master
Broadcast Data Distribution
Integration/Consolidation Data Warehouse
BPM
BAM
CEP
Data Distribution via Messaging
Oracle GoldenGate Differentiator: Flexibility
14 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Differentiator: Performance and Scalability GoldenGate Capture
• Log-based change data capture
– High volume
– Low overhead
• Decoupled architecture
– Multiple capture processes may be used to scale, but generally not required
– Possible to split “hot” tables into a separate capture process
• Filtering and compression
– Unnecessary change data is discarded immediately
– Updates and deletes are “compressed” by default
15 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Differentiator: Performance and Scalability GoldenGate Delivery
• Decoupled architecture
– Multiple delivery processes may be used to scale
– Possible to split “hot” tables into a separate delivery process
– Possible for multiple delivery processes to split the work for a single table
• Transaction grouping
– Small transactions are grouped by default to reduce commit overhead
16 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Differentiator: Transaction Integrity
• Transaction boundaries
– Recorded in GoldenGate trail file
– Transactions ordered in commit sequence
– Boundaries adjusted automatically due to record filtering or trail
splits
• Transaction integrity
– Checkpointing and recovery are based on transaction
boundaries
– Original commit sequence is maintained by the delivery process
17 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Differentiator: Reliability
• Decoupled architecture
– Individual processes can be restarted automatically
– Tolerance to network outages (configurable)
• Recovery
– Recovery ensures that no operations are skipped or duplicated after
failure of any kind
– Recovery of the Capture process is more involved than recovery the
Delivery process
– Although GoldenGate processes are completely decoupled, the
Delivery process must be aware of a recovery performed by the
Capture process or pump
18 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Databases O/S and Platforms
Oracle GoldenGate Capture:
Oracle
DB2 for v 9.7
DB2 for v 10 on z/OS
Microsoft SQL Server for 2008 R1, R2
Sybase ASE, 15.5
Teradata
Enscribe
SQL/MP
SQL/MX
MySQL
JMS message queues
Oracle GoldenGate Delivery:
All listed above, plus:
TimesTen, IBM System I, Netezza & Greenplum
ETL product
Linux
Sun Solaris
Windows 2000, 2003, XP, 2008
HP NonStop
HP-UX
IBM AIX
IBM z Series
zLinux
18
Oracle GoldenGate 11g Supported Platforms
19 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
• A high-speed, low impact data
comparison solution
• Identifies and reports data discrepancies
between heterogeneous databases
without interrupting their availability
• Benefits:
• Reduce financial/legal risk exposure
• Speed and simplify IT work in comparing
data sources
• No disruption to business systems
• Improved failover to backup systems
• Confident decision-making and reporting
Oracle GoldenGate Veridata – Data Comparison
without Downtime
20 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Oracle Management Pack for OGG Complete Visibility (1 / 2): Director
1. Oracle GoldenGate Director:
Has basic configuration,
management, monitoring, and
alerting. Based on legacy pull
infrastructure.
21 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Oracle Management Pack for OGG Complete Visibility (2 / 2): Monitor
2. Oracle GoldenGate Monitor:
Has advanced monitoring,
alerting (SNMP support), lag
graphs, and historical
repository. Based on new
agent infrastructure, which
will be the foundation for all
future integration projects.
Supports OGG 11.1.1.1.1+
22 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Agenda
• Introduction to Oracle GoldenGate
• Technology Overview
• Use Cases and Benefits
• Summary
• Q&A
23 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Oracle GoldenGate 11g use cases Low-Impact Real-Time Data Integration & Transactional Replication
New DB/HW/OS/APP
Fully Active Distributed DB
Reporting Database
Data Warehouse
Global Data Centers
ODS Data Integrator
Zero Downtime Upgrade & Migration
Query Offloading, Disaster Recovery
Data Synchronization across the Enterprise
Real-time BI, Operational Reporting, MDM
Event Driven Architecture, SOA
Highly Available / Disaster Recovery
Log-based, changed data
Database
Message Bus
Legacy
Message Bus
24 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Eliminate All Downtime for Continuous Availability
Available – no issues
Planned outage
• Upgrade
• Migration
• Maintenance
Unplanned outage
• System failure
• Data failure
26 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
• Zero Downtime Upgrades, Migrations and Maintenance
– Migration from non-Oracle databases to Oracle 11gR2 & Exadata
– Upgrade Oracle Database 8i, 9i, 10g to 11gR2
– Upgrade/Migrate Database Server/OS
– Perform Database Maintenance
– Application Upgrade (Siebel CRM and JD Edwards)
• Disaster Recovery for Non-Oracle Databases and Cross- Oracle Database versions
• Continuous Availability via Active-Active Databases
Oracle GoldenGate for Continuous Availability
27 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
• Standard:
– Database Upgrade Assistant
• Alternatives
– Export/Import
– DataPump
– Transportable Tablespaces
– Streams
– Logical Standby
– Oracle GoldenGate (zero downtime)
What are Oracle Database Upgrade Options ?
28 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Eliminate Downtime During Upgrades to Oracle 11g R2
• Zero database
downtime for
upgrades from 8i, 9i,
10g to 11g
• Leverage new
features of Oracle
Database 11g without
impacting business
operations
• Minimize risks with
failback option
Failback Data Flow
Oracle Database 8i/9i/10g
Oracle Database
11g Release 2
Application
Switchover
Compare & Verify
With Oracle GoldenGate
Veridata
31 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
A Certified App Upgrade Solution for
JD Edwards and Siebel CRM
• Upgrade/migrate/main
tain database,
hardware, OS and/or
application
• Minimize risk with
failback option
• Improve success with
phased user migration
Real-time changed data
Failback Data Flow
Non-Oracle Database /Server
Oracle Database
Sun Server
Siebel / JDE
Lower Version Siebel / JDE
Higher Version
32 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Eliminate unplanned downtime with
Active Data Guard & GoldenGate
• Active Data Guard for
disaster recovery and
data protection for:
• Oracle-to-Oracle
• Oracle GoldenGate for
disaster recovery and
data protection for:
• Non-Oracle platforms
• Active-Active
• Cross-OS and Oracle
database version
requirements
Post-Switchover Data Flow
Application
Production Live Standby
Can be used for
reporting &
testing
Switchover
Compare & Verify
With Oracle GoldenGate
Veridata
33 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Improve Production System Performance and
Lower Costs
• Off-load queries from
production systems in
Active-Active or
Heterogeneous
configurations
• E.g. different OS,
database version,
database
• E.g. legacy system
query off-load
Real-time changed data
Production OLTP
Oracle Database
Transaction Processing Read-Only Activity
34 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Increase ROI on Existing Servers & Synchronize Data
Across Globe
• Utilize secondary
systems for
transactions
• Enable continuous
availability during
unplanned and
planned outages
• Synchronize data
across data centers
around the globe
Source & Target Region A
Source & Target
Region B
Application Application
35 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Drivers for Moving to Real-Time BI and Data
Warehouse
• Day+ old data
• Batch data extracts within specified
“off business hours”
• Process interruptions impact data
recoverability
Legacy, Packaged Apps, OLTP Databases
Enterprise Data Warehouse
Traditional Data Warehouse
ETL
Real-Time Data Warehouse
Enterprise Data Warehouse
Transformation
ELT
Legacy, Packaged Apps, OLTP
Real-Time
Continuous Feeds
• Timely, relevant data – better decisions
• No batch windows on OLTP
• Complete recoverability after
interruptions
36 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
• Solution
• Using OGG for log-based capture of database
transactions from source to minimize overhead
• Load to target with sub-second latency
• Transformation performed on the database
using E-LT in mini-batches
• Fast ETL/E-LT handled by database processing
• Benefits
• No resource / performance impact to OLTP
• Live data available for better decision making
• Get double-duty from database investment by
using it for transformations
• Maximizes availability of source systems and
DW due to smaller batch windows.
Next Generation Data Warehousing: Enabling Real Time BI High Performance E-LT, Real-Time Data Warehousing
Oracle Data
Integrator
EMP DEPT
DIM
FACT
DIM
DIM DIM
ODS Schema DW Schema
Oracle
GoldenGate
38 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Real Time vs. Right Time
Capture in real time, consume in right time
IT should not be a constraint for business: Invest in future-ready solutions
Consider technical benefits: cost savings, reliability and performance improvements
40 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
BPM
BAM
SOA Message Bus
Event Driven Architecture, SOA
41 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Agenda
• Introduction to Oracle GoldenGate
• Technology Overview
• Use Cases and Benefits
• Summary
• Q&A
42 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
•Captures once, delivers to many targets for different uses
• Non-invasive, log-based capture
• Moves only committed data, reduces bandwidth needs
Reduced Overhead and TCO
• Subsecond latency even with high data volumes
•Preserves transaction integrity
•Ensures data recoverability
High Performance with Reliability
•Provides decoupled, modular architecture
• Supports heterogeneous sources and targets, and different latency needs
•Coexists and integrates with ELT/ETL and messaging solutions
Flexibility and Ease of Use
Advantages of Oracle GoldenGate 11g
43 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
GoldenGate is Oracle’s Strategic Replication Solution
• Best-in-class leader in real-time data integration solutions
• Complements existing Oracle products
• Continuous Availability for heterogeneous systems
• Real-time data access for Reporting & BI/EPM
• Zero-downtime migrations / upgrades to Oracle
Database, Hardware, and Applications
• Over 1200 customers including Fortune 500 companies,
representing Financial Services, Communications,
Healthcare, Public Sector, Retail, Utilities industries
• 4 of top 5 largest commercial banks
• 3 of top 3 busiest ATM networks
• 5 of top 5 financial data services companies
• 5 of top 5 telecommunications providers
• 3 of top 5 largest food & drug stores
44 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Q&A
45 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
46 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.