Professional Documents
Culture Documents
Program Agenda
Introduction to Oracle GoldenGate
New Features in Oracle GoldenGate 11gR2
Summary & Learn More
Q&A
Introduction to Oracle
GoldenGate
Oracle GoldenGate
Low-Impact, Real-Time Data Integration & Transactional Replication
New DB/
HW/OS/APP
Legacy Systems
Log-based
Changed Data
Oracle & Non-Oracle
Database(s)
Message Bus
Fully Active
Distributed
DB
Reporting
Database
Data
Warehouse
ODS
Data Integrator
Global
Data
Centers
Message
Bus
Source
Oracle & Non-Oracle
Database(s)
Bi-directional
Target
Oracle & Non-Oracle
Database(s)
Integrated Capture
Enhanced Conflict Detection & Resolution
Support for Global Deployments
Security and Performance
Extensibility
Manageability and Monitoring
Expanded Heterogeneity
Integrated Capture
Overview
Integrated Capture for Oracle Database
10
Oracle
GoldenGate
11gR2
Integrated Capture
Overview
Brings GoldenGate Capture (Extract) closer to the RDBMS engine
Leverages Proprietary Oracle Database Mining API
Parallelism in mining and transforming redo records into LCRs
Improved RAC coordination and automated node handling
Tighter integration and faster development of new Oracle features
Multi Threaded
Uses producer thread to capture REDO record and consumer thread to process the
REDO records.
Performance gain from parallel processing
11
Integrated Capture
Overview
On Source
customers
Customers may choose which option they prefer
Record
changes
Capture
changes
Redo Logs
Oracle Database
Source Machine
13
LCR1
LCR2
LCR3
.
.
.
Logical Change
Records
Capture
Integrated
Extract
Trail
File
..
Record
changes
Continuous REDO
Shipping
Redo Logs
Oracle Database
Source Machine
14
Capture
changes
LCR1
LCR2
LCR3
.
.
.
Ca
Standby
ptur
Logical Change
Redo Logs
Records
eOracle Database
Downstream Machine
Capture
Integrated
Extract
Trail
File
..
Record
changes
Capture
changes
Ca
ptur
Logical Change
Records
eOracle Database
Archive Logs
Redo Logs
Oracle Database
Source Machine
15
LCR1
LCR2
LCR3
.
.
.
Downstream Machine
Capture
Integrated
Extract
Trail
File
..
16
Description
Exadata
Compression
Distributed
Transactions
XA-RAC, PDML
RAC
New Datatypes
LOB
Deployment
DDL
Capture
(aka Classic
Capture)
Integrated
Capture
17
Supported Features
10.2
Supported
11.1.0.7
11.2.0.2
11.2.0.3
10.2 *
Supported
11.1.0.7 *
Supports TDE/TSE
11.2.0.2 *
11.2.0.3
Classic Capture
When to Consider Classic Capture
If you dont need XML types, XA on RAC, compressions etc.
Future Direction
Classic Capture will be around for long time
Core specific features, bug fixes and patches will be available on both Captures
Oracle specific features will be only available in integrated extract.
Adding Oracle specific feature exclusively to classic extract will not be possible.
18
19
Oracle
GoldenGate
11gR2
20
Example:
GETBEFORECOLS(
ON UPDATE KEYINCLUDING (name, address, balance),
ON DELETE KEYINCLUDING (name, address, balance));
21
Example:
COMPARECOLS(
ON UPDATE KEYINCLUDING (name, address, balance),
ON DELETE KEYINCLUDING (name, address, balance));
22
23
24
25
Oracle
GoldenGate
11gR2
set environments
Native error messages, supports case sensitivity
Database object name support
Non US-ASCII Character Support (both DDL/DML)
Database Like Object Level Case Sensitivity Support
26
Security
Overview
Security
27
Oracle
GoldenGate
11gR2
Security
Overview
Support FIPS compliant encryption algorithm in addition to current
BLOWFISH algorithm
On disk encryption for trail file
In password encryption
When transferring data across the network
NOTE: Only supported on Linux, Windows, and Unix.
IPv6 support
Mandate from the government
The existing GoldenGate library of IPC routines is based on IPv4. All existing
28
Manager
Interactive
Interface
Manager
Interactive
Interface
Source
Database
Parameter Files
TCP/IP
Copyright 2012, Oracle and/or its affiliates. All rights reserved.
Target
Database
PASSWO
RDS
PASSWO
RDS
29
GGSCI
Parameter Files
Performance
Overview
Performance Improvements
30
Oracle
GoldenGate
11gR2
Performance
Overview of Data Pump Improvements
Prior to Oracle GoldenGate 11gR2
Synchronous data communication between
Data Pump and remote collector process
31
Extensibility
Overview
Extensibility
32
Oracle
GoldenGate
11gR2
Extensibility
Overview
Event Marker Systems
Enables the Oracle GoldenGate processes to take a defined action based
on an event record in the transaction log or in the Trail
Supported Event Actions
TRACE, LOG, CHECKPOINT BEFORE, IGNORE, DISCARD, SHELL,
ROLLOVER, REPORT ABORT, CHECKPOINT AFTER, FORCESTOP,
STOP
33
ACTIONS
TRACE
LOG
CHECKPOINTBEFORE
IGNORE
DISCARD
ROLLOVER
REPORT
User/Application changes
ABORT
CHECKPOINTAFTER
FORCESTOP/STOP
Event
record
Event
record
SHELL with
parameters
Event
record
SUSPEND
DDL
Source
Database
34
Transaction Logs
Target
Database
Extensibility
Overview
Event Action
Description
When a data record met qualification criteria (using FILTER) for
processing, a suspension of the process allows a 'stoppage' in the
processing without losing active context.
To terminate the SUSPEND state of a process, a RESUME command
needs to be sent via GGSCI
DDL Events
35
Triggers DDL event record, if the DDL is either eligible to be written to trail
file by extract process, pump process or be executed by replicat process.
SHELL event actions takes arguments. Each argument will be evaluated
and expanded into a COLUMN value, a literal string, or any of the OGG
internal functions at run time. The final command being sent to SYSTEM
call will be the fully expanded version of each parameter
36
Oracle
GoldenGate
11gR2
37
38
Expanded Heterogeneity
Overview
Expanded Heterogeneity
39
Oracle
GoldenGate
11gR2
Expanded Heterogeneity
Overview
Platform
Description
Capture support
PostgreSQL
Delivery support
Teradata
Multibyte DDL
SQL Server
Sybase
Computed Columns
New datatypes - BIGINT, Unsigned Integer, Optimized
LOB management
40
MySQL
IBM z/OS
REAL, SMALLINT)
String, Binary (CHAR, BINARY, VARCHAR, VARBINARY)
Large Objects (BLOB, CLOB, DBCLOB, GRAPHIC, VARGRAPHIC)
Times and Dates (DATE,TIME, TIMESTAMP)
Un supported Datatypes
DATALINK, UDT, DECFLOAT and XML
41
42
Oracle
GoldenGate
11gR2
43
44
LinkedIn
Oracle Data Integration
Facebook
facebook.com/OracleDataIntegration
Oracle.com/goto/dataintegration
45
46
47