Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
:::::::::Overview:::::::::::
Agenda
Oracle GoldenGate provides real-time data integration to support high availability capabilities across heterogeneous systems to achieve business continuity. GoldenGate provides the ability to capture and deliver updates of critical data as the changes occur and provide continuous synchronized data across heterogeneous environments. Use Cases: Online banking, Claims processing and Online shopping can use GoldenGate to operate without any disruption.
Query Offloading
Performanc e
GoldenGate
Reporting Database
Flexible / Extensible
Open, modular architecture - Supports heterogeneous sources and targets Maintains transactional integrity - Resilient against interruptions and failures
Real-time BI
EDW
Reliable
Data Distribution
SOA/EDA
Oracle GoldenGate
Capture: Committed transactions are captured (and can be filtered) real time, from the
DB Redo 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.
Capture
Trail
Trail
Delivery
Oracle GoldenGate
Capture: Committed transactions are captured (and can be filtered) real time, from the
DB Redo 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.
Capture
Trail
Bi-directional
Target Database(s)
BPM
Native database API ODBC Batched Operations Filtering Transaction/Operations Grouping Parallel Coordination Local/Remote
Queue (Trail) Management Process Management (Dynamic) Monitoring and Administration (Lag reports) Reporting (Events, Errors, Thresholds) Receive/Route requests from UI
On-disk Components
Trail Files Checkpoint Files (Capture, Pump, Delivery) Data Definition Files (SOURCEDEFS/TARGETDEFS) Configuration Files Discard Files Report/Log Files Executables
GGSCI
Interactive Interface
Manager
Manager
GGSCI
Interactive Interface
Network
Source Trail
Target Trail
Source
Capture
Pump
Collector
Delivery
Target
Target Database
GoldenGate Capture
GoldenGate Parameter File
Messaging Subsystem Checkpoint Manager Parser Memory Manager
Transaction Logs
Redo API (Log reader interface)
Formatting
Filtering
Metadata Manager
Metadata Manager
SQL Interface
Transformation Engine
Database Access To gather Metadata (to interpret log data) & for SQL interface for data lookup, advanced filtering etc.
Source Database
Capture
GoldenGate Delivery
GoldenGate Parameter File
Messaging Subsystem Checkpoint Manager Parser Memory Manager
Read API
Formatting
Filtering
SQL Generation
Delivery
Target Database
GoldenGate Instantiation
Current source Commit Sequence Number (CSN) is 356
Source Database
Capture
Pump
Delivery
Target Database
Initial Initial data Load load1 Create the Data extract process
ADD EXTRACT load1, SOURCEISTABLE Create Parameter file for Load1: Edit params load1
Source:
1.
1.
ADD EXTRACT ext1, TRANLOG, BEGIN NOW ADD EXTRACT dpump, EXTTRAILSOURCE /ora/app/stage/GoldenGate-Zip/ggs/dirdat/lt
1.
1.
On the source/target system, the trail files will be created having a prefix rt/lt which will be used by the Replicat/Extract processes also running on the target /source system(s) ADD EXTTRAIL /ora/app/stage/GoldenGate-Zip/ggs/dirdat/lt, EXTRACT EXT1 ADD RMTTRAIL /ora/app/stage/GoldenGate-Zip/ggs/dirdat/rt, EXTRACT dpump
1.
When Data Pump is not used, the Extract process writes to a remote trail that is located on the target system using TCP/IP When Data Pump is configured, Extract process writes to a local trail for Data Pump to read and write over the network to the remote trail located on the target system The advantages of Data Pump can be seen as it protects against a network failure as in the absence of a storage device on the local system, the Extract process writes data into memory before the same is sent over the network Any failures in the network could then cause the Extract process to abort (abend) Additionally, if there are any complex data transformations or filtering, Data Pump can be used to perform these