Home - Hôpital Albert Schweitzer Haiti...Home - Hôpital Albert Schweitzer Haiti ... adj ...
Oracle GoldenGate - Herve Schweitzer, dbi services - Hilton Basel 5/2011
-
Upload
dbi-services -
Category
Technology
-
view
1.981 -
download
3
description
Transcript of Oracle GoldenGate - Herve Schweitzer, dbi services - Hilton Basel 5/2011
© dbi services
Lead of High Availability Solutions
Principal Consultant at dbi services
DMK project Manager
Focus: High Availability projects
Oracle Data Guard
Oracle RAC 11.2 (Grid Infrastructure)
Oracle Failover Cluster (Windows Failsafe)
Main Skills:
Oracle 11g OCP
Oracle Backup/Recovery
Oracle Performance Tuning
Who I am
Herve Schweitzer
www.dbi-services.com 1 06.10.2011
© dbi services
Agenda
Agenda
i. Introduction
ii. Architecture
iii. Used Cases
iv. Demo
v. Conclusion
Oracle GoldenGate
06.10.2011 2 www.dbi-services.com
© dbi services
Copyright (C) GoldenGate Software, Inc. 1995-2009
Based in San Francisco
$100 Million revenue in 2008
500 Employees
Oracle officially purchased GoldenGate September 3, 2009
First Oracle GoldenGate 11g release September 10, 2010
Oracle GoldenGate
GoldenGate is Strategic for Oracle
www.dbi-services.com 3 06.10.2011
© dbi services
Leader in real-time data solutions
Complements existing Oracle products
Used by major Fortune 500 companies
Continuous availability for heterogeneous systems
Real-time data access for reporting
Real-time data access for BI, Data warehouse, etc…
Zero-downtime migration for Oracle Database
Zero-downtime migration for Applications
Oracle GoldenGate
GoldenGate is Strategic for Oracle
www.dbi-services.com 4 06.10.2011
© dbi services
Agenda
Agenda
i. Introduction
ii. Architecture
iii. Used Cases
iv. Demo
v. Conclusion
Oracle GoldenGate
06.10.2011 5 www.dbi-services.com
© dbi services
Real-time data provided with low-impact capture, routing, transformation, and transaction delivery
Facilitates high-performance
Heterogeneous database and platforms
Maintains transaction integrity
Resilient against interruptions and failures
Easier to implement, customize, and maintain
Oracle GoldenGate
GoldenGate Technical Overview
www.dbi-services.com 6 06.10.2011
© dbi services
Oracle Golden Gate Architecture
www.dbi-services.com 7 06.10.2011
Online
Log Files
Archived
Log Files Archived
Log Files
Robust and Modular Architecture
Capture
(Extract)
Source
Database Target
Database
Online
Log Files
Remote
Trail
Delivery
(Replicat)
Extract
Trail Data Pump
Mgr Mgr
© dbi services
Oracle GoldenGate Use Cases for Real Time Solutions
www.dbi-services.com 8 06.10.2011
Active - Active
Hot Standby
Multi Master
Data Distribution Cascading
Zero Downtime
Migration and Upgrade
Reporting Database
Data Collection
© dbi services
Integration with ETL products Using GoldenGate Application Adapter
Flexibility to apply transformations/mappings within the target database
DDL Support (for supported database)
Attention: Oracle recycle bin must be turned off
Detect and resolve conflict in Multi Master
Event marker infrastructure
Routing compression and encryption
Deferred Apply
Automated Memory Management
Oracle GoldenGate
GoldenGate Additional Key Features
www.dbi-services.com 9 06.10.2011
© dbi services
Oracle GoldenGate
GoldenGate Heterogeneity
www.dbi-services.com 10 06.10.2011
Databases O/S and Platforms
Oracle GoldenGate Capture: • Oracle • DB2 since v9.7 *new* • Microsoft SQL Server • Sybase ASE • MySql *new* • Etc…
Linux Sun Solaris Windows 2000, 2003, 2008 Oracle Exadata HP NonStop HP-UX UP OpenVMS IBM AIX IBM z Series zLinux
Oracle GoldenGate Delivery: • All listed above • TimesTen *new* • ETL products • Greenplum • Netazza, HPNeoview
© dbi services
Oracle GoldenGate
Licencing Model
www.dbi-services.com 11 06.10.2011
www.oracle.com -> Store-> Fusion Middleware-> Data integrator
© dbi services
Agenda
Agenda
i. Introduction
ii. Architecture
iii. Used Cases
iv. Demo
v. Conclusion
Oracle GoldenGate
06.10.2011 12 www.dbi-services.com
© dbi services
Oracle GoldenGate Zero Downtime Migration Example
www.dbi-services.com 13 06.10.2011
Capture
Start extract
begin now
Remote
Trail Delivery
Start Replicat
aftercsn <value>
Start Export
flashback_scn=<value>
Import Data into
empty schema
Copy Dump
File
Select
dbms_flashback.get_system_chang
e_number from dual;
<value>
exp/imp used for the initial load
1
3 4
5
2
© dbi services
Oracle GoldenGate
Zero Downtime Migration Example
www.dbi-services.com 14 06.10.2011
Capture
Start extract
begin now 1
Start Export
flashback_scn=<value> 3
Import Data into
empty schema 4
Delivery
Start Replicat
aftercsn <value>
5
Oracle 9i Windows
Oracle 11.2 Linux
Select dbms_flashback.
get_system_change_number
from dual;
<value> 2
© dbi services
Oracle GoldenGate DR Setup (Live Standby Database)
www.dbi-services.com 15 06.10.2011
Capture
Start extract
Lag extract
Stop extract
Remote
Trail Delivery
Start replicat
Stop replicat
Delivery
Start Replicat
Capture
start Extract
Remote
Trail
Switchover Scenario Example
© dbi services
Oracle GoldenGate MultiMaster Setup
www.dbi-services.com 16 06.10.2011
Capture
Start extract
Remote
Trail Delivery
Start replicat
Delivery
Start Replicat
Capture
start Extract
Remote
Trail
Active-Active Example
© dbi services
Oracle GoldenGate
Non-Supported Data Types
www.dbi-services.com 17 06.10.2011
Non-Supported Oracle Goldengate Data Types
ORDDICOM ANYDATA ANYDATASET ANYTYPE BFILE MLSLABEL TIMEZONE_ABBR TIMEZONE_REGION URITYPE UROWID
© dbi services
Oracle GoldenGate
Not Supported Schemas
www.dbi-services.com 18 06.10.2011
DDL On Oracle Reserved Schemas is not supported
ANONYMOUS AURORA $JIS $UTILITY $AURORA $ORB $UNAUTHENTICATED CTXSYS DBSNMP DMSYS DSSYS EXFSYS MDSYS ODM ODM_MTR OLAPSYS ORDPLUGINS
ORDSYS OSE$HTTP$ADMIN OUTLN PERFSTAT PUBLIC REPADMIN SYS SYSMAN SYSTEM TRACESVR WKPROXY WKSYS WMSYS XDB
© dbi services
Oracle GoldenGate supports tables with virtual columns, but does not capture change
Tables created as EXTERNAL are not supported
Tables created with table compression or OLTP table compression are not supported
Materialized views created WITH ROWID are not supported
IOT (Index Organized Tables) are only supported for Oracle version 10.2 and later
Oracle GoldenGate
Not Supported
www.dbi-services.com 19 06.10.2011
© dbi services
Agenda
Agenda
i. Introduction
ii. Architecture
iii. Used Cases
iv. Demo
v. Conclusion
Oracle GoldenGate
06.10.2011 20 www.dbi-services.com
© dbi services
Oracle GoldenGate
Zero Downtime Migration Example
www.dbi-services.com 21 06.10.2011
Capture
Start extract
begin now 1
Start Export
flashback_scn=<value> 3
Import Data into
empty schema 4
Delivery
Start Replicat
aftercsn <value>
5
Oracle 9i Windows
Oracle 11.2 Linux
Select dbms_flashback.
get_system_change_number
from dual;
<value> 2
© dbi services
Agenda
Agenda
i. Introduction
ii. Architecture
iii. Used Cases
iv. Demo
v. Conclusion
Oracle GoldenGate
06.10.2011 22 www.dbi-services.com
© dbi services
+ GoldenGate avoids any production downtime and business loss during cross-platform database migration and upgrade
+ GoldenGate allows to benefit from each infrastructure investment, providing data reporting on the target site
+ GoldenGate supports large data volume for large mission-critical businesses
GoldenGate allows Zero downtime application modification and upgrade with some additional coding effort
However, according to dbi services expertise Data Guard remains the best solution for High Availability:
No synchronous transaction transfer
No possibility for No Data loss setup
Not a 100% identical Database (only a logical copy)
Do you really want Cross Platform High Availability ?
Oracle GoldenGate
Conclusion
www.dbi-services.com 23 06.10.2011