Understanding Oracle GoldenGate 12c

Post on 12-Apr-2017

220 views 15 download

Transcript of Understanding Oracle GoldenGate 12c

http://ithelpdeskinc.com/

Understanding Oracle GoldenGate 12c

http://ithelpdeskinc.com/

Content

Introduction Features Topologies Architecture Supported Data types

http://ithelpdeskinc.com/

GoldenGate Introduction Oracle GoldenGate is a heterogeneous replication solution. GoldenGate (the company and the product) was acquired by Oracle Corporation in 2009. Controversial replacement for Oracle Streams. Key Plays for Oracle GoldenGate.

Query Offloading Continuous Availability Real Time Data Integration

• Cost Reduction Move reads to lower cost systems.

• Resource Utilization Use physical standby for reads.

• Zero Downtime Migration & Upgrade Migrate to Oracle DB or upgrade to latest application version with no downtime

• Disaster Recovery & Data Protection Create live standby for failover, avoid and repair block corruptions

• Data Distribution Synchronize hub & spoke or distributed systems.

• Operational Reporting Quickly report on transaction system data with no source impact.

• Real Time Business Intelligence Understand current metrics in historical context.

http://ithelpdeskinc.com/

GoldenGate supports: Live standby database. Active-active high availability. Zero Downtime Upgrade and Migration. Query and Report offloading. System Integration / Data Synchronization. Real-time Data distribution. Real-time Data Warehousing.

http://ithelpdeskinc.com/

New features in Oracle GoldenGate 12c Optimizations for Oracle Database 12c

Support for multitenant architecture and cloud-based real-time replication.

Integrated Delivery for the Oracle DatabaseLeveraging lightweight streaming API built exclusively for Oracle GoldenGate for better performance and scalability.

Coordinated Delivery for Non-Oracle DatabasesOrchestrates the high-speed apply processes and simplifies set-up and management.

Integrated Capture EnhancementsImproved performance and streamlined DDL replication.

Improved Ease of UseAutomatic discard file, enhanced debugging, and schema wildcarding.

Tighter SecurityIntegration with the Oracle Credential Store and Oracle Wallet to store and retrieve encrypted usernames and passwords.

http://ithelpdeskinc.com/

New features in Oracle GoldenGate 12c Expanded Heterogeneity

Enhancements to existing supported platforms such as Oracle MySQL, Microsoft SQL Server, Sybase, and IBM DB2.

Enhanced High AvailabilityIntegration with Oracle Data Guard and Fast-Start-Fail-Over (FSFO) for automated and transparent failover of components.

Expanded Oracle Application and Technology SupportLow downtime database platform migrations for E-Business Suite, Active-Active Oracle ATG web commerce and seamless integration with Oracle Coherence “HotCache”.

http://ithelpdeskinc.com/

GoldenGate Supported Topologies

http://ithelpdeskinc.com/

GoldenGate Supported Databases DB2 LUW on IBM AIX, HP-UX, Sun Solaris, LINUX. DB2 for I programs IBM i7.1 Group PTF/IBM i6.1 Group PTF/BM OS/400 V5R4 Group

PTF. Informix on Sun Solaris, LINUX. MySQL on IBM AIX, IBM z/OS, HP-UX, Sun Solaris. Microsoft SQL Server 2000, 2005, 2008 Nonstop SQL/MX. PostgreSQL on IBM AIX, HP-UX, Sun Solaris, HP Tru64 (OSF/1), LINUX. Sybase on Windows, UNIX and Linux Teradata on Windows, UNIX and Linux TimesTen on IBM AIX, HP-UX, Sun Solaris, LINUX. Oracle Database on Windows, Linux, Solaris SPARC.

http://ithelpdeskinc.com/

Oracle Streams versus GoldenGate

http://ithelpdeskinc.com/

GoldenGate Basic Architecture

http://ithelpdeskinc.com/

GoldenGate Configuration Options

http://ithelpdeskinc.com/

GoldenGate Classic Capture

http://ithelpdeskinc.com/

GoldenGate Integrated Capture

http://ithelpdeskinc.com/

GoldenGate Downstream Capture Real Time Downstream Mode

http://ithelpdeskinc.com/

GoldenGate Downstream Capture Downstream Archive Log Mode

http://ithelpdeskinc.com/

GoldenGate Bi-Directional Replication Also known as Active-Active Replication

http://ithelpdeskinc.com/

GoldenGate Supported Data Types The following data types are supported for both classic and integrated capture

NUMBER BINARY FLOAT BINARY DOUBLE CHAR VARCHAR2 LONG NCHAR NVARCHAR2 RAW LONG RAW DATE TIMESTAMP

http://ithelpdeskinc.com/

GoldenGate Supported Data Types There is limited support in classic capture for the following data types:

INTERVAL DAY INTERVAL YEAR TIMESTAMP WITH TIME ZONE TIMESTAMP WITH LOCAL TIME ZONE

The following data types are not supported Abstract data types with scalar, LOBs, VARRAYs, nested tables , REFS ANYDATA ANYDATASET ANYTYPE BFILE MLSLABEL ORDDICOM TIMEZONE_ABBR URITYPE UROWID

http://ithelpdeskinc.com/

GoldenGate Supported Data Types The following data types are supported for both classic and integrated capture

NUMBER BINARY FLOAT BINARY DOUBLE CHAR VARCHAR2 LONG NCHAR NVARCHAR2 RAW LONG RAW DATE TIMESTAMP

http://ithelpdeskinc.com/

GoldenGate Restrictions Neither capture method supports

Database replay EXTERNAL tables Materialized views with ROWID

Classic capture does not support IOT mapping tables Key compressed IOTs XMLType tables stored as XML Object Relational Distributed Transactions XA and PDML distributed transactions Capture from OLTP table compressed tables Capture from compressed tablespaces Exadata Hybrid Columnar Compression (EHCC)

http://ithelpdeskinc.com/

GoldenGate Oracle-Reserved Schemas The following schema names are reserved by Oracle and should not be configured for

GoldenGate replication:

$AURORA EXFSYS REPADMIN

$JIS MDSYS SYS

$ORB ODM SYSMAN

$UNAUTHENTICATED ODM_MTR SYSTEM

$UTILITY OLAPSYS TRACESVR

ANONYMOUS ORDPLUGINS WKPROXY

AURORA ORDSYS WKSYS

CTXSYS OSE$HTTP$ADMIN WMSYS

DBSNMP OUTLN XDB

DMSYS PERFSTAT

DSSYS PUBLIC

http://ithelpdeskinc.com/

GoldenGate RAC Support RAC support has some limitations in classic capture mode

Extract can only run against one instance If instance fails,

Manager must be stopped on failed node: Manager and extract must be started on a surviving node

Failover can be configured in Oracle Grid Infrastructure Additional archive log switching may be required in archive log mode Before shutting down extract process

Insert dummy record into a source table Switch log files on all nodes

Additional configuration required to access ASM instance

Shared storage for trails can be: OCFS ACFS DBFS No mention of NFS in the documentation

http://ithelpdeskinc.com/

Thank You!