Mais conteúdo relacionado Semelhante a Oracle GoldenGate - Herve Schweitzer, dbi services - Hilton Basel 5/2011 (20) Mais de dbi services (10) Oracle GoldenGate - Herve Schweitzer, dbi services - Hilton Basel 5/20111. Who I am
Herve Schweitzer
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
1 www.dbi-services.com 06.10.2011 © dbi services
2. Agenda
Oracle GoldenGate
Agenda
i. Introduction
ii. Architecture
iii. Used Cases
iv. Demo
v. Conclusion
2 www.dbi-services.com 06.10.2011 © dbi services
3. Oracle GoldenGate
GoldenGate is Strategic for Oracle
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
3 www.dbi-services.com 06.10.2011 © dbi services
4. Oracle GoldenGate
GoldenGate is Strategic for Oracle
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
4 www.dbi-services.com 06.10.2011 © dbi services
5. Agenda
Oracle GoldenGate
Agenda
i. Introduction
ii. Architecture
iii. Used Cases
iv. Demo
v. Conclusion
5 www.dbi-services.com 06.10.2011 © dbi services
6. Oracle GoldenGate
GoldenGate Technical Overview
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
6 www.dbi-services.com 06.10.2011 © dbi services
7. Oracle Golden Gate
Architecture
Robust and Modular Architecture
Mgr Mgr
Extract Remote
Trail Data Pump Trail
Source Target
Database Database
Capture Delivery
(Extract) (Replicat)
Online Archived Online
Log Files Log Files Archived Log Files
Log Files
7 www.dbi-services.com 06.10.2011 © dbi services
8. Oracle GoldenGate
Use Cases for Real Time Solutions
Zero Downtime Active - Active Multi Master
Migration and Upgrade Hot Standby
Reporting Database
Data Distribution Data Collection Cascading
8 www.dbi-services.com 06.10.2011 © dbi services
9. Oracle GoldenGate
GoldenGate Additional Key Features
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
9 www.dbi-services.com 06.10.2011 © dbi services
10. Oracle GoldenGate
GoldenGate Heterogeneity
Databases O/S and Platforms
Oracle GoldenGate Capture:
• Oracle Linux
• DB2 since v9.7 *new* Sun Solaris
• Microsoft SQL Server Windows 2000, 2003, 2008
• Sybase ASE Oracle Exadata
• MySql *new* HP NonStop
• Etc… HP-UX
UP OpenVMS
Oracle GoldenGate Delivery: IBM AIX
• All listed above IBM z Series
• TimesTen *new* zLinux
• ETL products
• Greenplum
• Netazza, HPNeoview
10 www.dbi-services.com 06.10.2011 © dbi services
11. Oracle GoldenGate
Licencing Model
www.oracle.com -> Store-> Fusion Middleware-> Data integrator
11 www.dbi-services.com 06.10.2011 © dbi services
12. Agenda
Oracle GoldenGate
Agenda
i. Introduction
ii. Architecture
iii. Used Cases
iv. Demo
v. Conclusion
12 www.dbi-services.com 06.10.2011 © dbi services
13. Oracle GoldenGate
Zero Downtime Migration Example
exp/imp used for the initial load
Copy Dump
File
Start Export 3 Import Data into
4
flashback_scn=<value> empty schema
Remote
Capture Trail
Delivery
Start Replicat
5
Start extract
begin now 1 aftercsn <value>
Select
dbms_flashback.get_system_chang
e_number from dual;
<value> 2
13 www.dbi-services.com 06.10.2011 © dbi services
14. Oracle GoldenGate
Zero Downtime Migration Example
Capture Select dbms_flashback.
get_system_change_number
Start Export 3
flashback_scn=<value>
Start extract 1 from dual;
2
begin now <value>
Oracle 9i Windows
Delivery
Start Replicat
5
aftercsn <value>
Import Data into
empty schema 4
Oracle 11.2 Linux
14 www.dbi-services.com 06.10.2011 © dbi services
15. Oracle GoldenGate
DR Setup (Live Standby Database)
Switchover Scenario Example
Remote
Delivery Trail Capture
Start Replicat start Extract
Remote
Delivery
Capture Trail
Start replicat
Start extract
Stop replicat
Lag extract
Stop extract
15 www.dbi-services.com 06.10.2011 © dbi services
16. Oracle GoldenGate
MultiMaster Setup
Active-Active Example
Remote
Delivery Trail Capture
Start Replicat start Extract
Remote
Delivery
Capture Trail
Start replicat
Start extract
16 www.dbi-services.com 06.10.2011 © dbi services
17. Oracle GoldenGate
Non-Supported Data Types
Non-Supported Oracle Goldengate
Data Types
ORDDICOM
ANYDATA
ANYDATASET
ANYTYPE
BFILE
MLSLABEL
TIMEZONE_ABBR
TIMEZONE_REGION
URITYPE
UROWID
17 www.dbi-services.com 06.10.2011 © dbi services
18. Oracle GoldenGate
Not Supported Schemas
DDL On Oracle Reserved Schemas is not supported
ANONYMOUS ORDSYS
AURORA OSE$HTTP$ADMIN
$JIS OUTLN
$UTILITY PERFSTAT
$AURORA PUBLIC
$ORB REPADMIN
$UNAUTHENTICATED SYS
CTXSYS SYSMAN
DBSNMP SYSTEM
DMSYS TRACESVR
DSSYS WKPROXY
EXFSYS WKSYS
MDSYS WMSYS
ODM XDB
ODM_MTR
OLAPSYS
ORDPLUGINS
18 www.dbi-services.com 06.10.2011 © dbi services
19. Oracle GoldenGate
Not Supported
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
19 www.dbi-services.com 06.10.2011 © dbi services
20. Agenda
Oracle GoldenGate
Agenda
i. Introduction
ii. Architecture
iii. Used Cases
iv. Demo
v. Conclusion
20 www.dbi-services.com 06.10.2011 © dbi services
21. Oracle GoldenGate
Zero Downtime Migration Example
Capture Select dbms_flashback.
get_system_change_number
Start Export 3
flashback_scn=<value>
Start extract 1 from dual;
2
begin now <value>
Oracle 9i Windows
Delivery
Start Replicat
5
aftercsn <value>
Import Data into
empty schema 4
Oracle 11.2 Linux
21 www.dbi-services.com 06.10.2011 © dbi services
22. Agenda
Oracle GoldenGate
Agenda
i. Introduction
ii. Architecture
iii. Used Cases
iv. Demo
v. Conclusion
22 www.dbi-services.com 06.10.2011 © dbi services
23. Oracle GoldenGate
Conclusion
+ 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 ?
23 www.dbi-services.com 06.10.2011 © dbi services