Folien - Friedrich-Schiller
Transcrição
Folien - Friedrich-Schiller
Data Replication with ORACLE 19.06.2012 – Friedrich-Schiller Universität Jena Joachim Jaensch Principal Sales Consultant BU ST-PCM Agenda Replication Basics Overview Oracle Data Guard <Insert Picture Here> Physical Standby Logical Standby Oracle Replication Components Oracle Streams Oracle GoldenGate (OGG) Demo: „Active - Active Replication“ Gegenüberstellungen Die Oracle Strategie Zusammenfassung [email protected] Replication Basics [email protected] Distributed vs. Replicated Databases Databse 1 Database 2 Distributed Databases connected by DB Links Database 3 Distributed Databases Replicated Databases - Share Data between multiple Sites - Use Distributed Database Technology - One Table resides at only one Location - Same Data resides at multiple Locations Each Database can be a Distributed and/or a Replicated Database ! [email protected] What Replication means Database 1 Database 2 Source Database Target Database Source Database changes should be also made at the Target Database. SCOTT.EMP SCOTT.DEPT INSERT ... UPDATE ... DELETE ... CREATE TABLE ... ALTER TABLE ... ... Initial Load SCOTT.EMP SCOTT.DEPT (DML) Replication INSERT ... UPDATE ... DELETE ... (DDL) Replication CREATE TABLE ... ALTER TABLE ... ... (optional) [email protected] Replication Methods Synchronous Replication - Changes on Source Site occur immediately at all Target Sites - Very stable Environment required - Transactions pending (cannot completed) if Network down - In most Cases not acceptable (Performance degradation!) Asynchronous Replication - Deferred Transactions (DML) - Propagated in regular Intervalls (periodically synchronized) Snapshot Replication (No permanent Connection) - Continous Propagation (nearly instantanueous synchronized) Real-Time Replication (Permanent Connection!) [email protected] Replication Components Database 1 Database 2 Source Database Target Database 1. Track Changes at Source Database 2. Propagate Changes to Target Database Trigger based or Redolog based or 3. Run Changes at Target Database Proprietary DB, OS or Depends from Target DB or Relational DB: Run SQL TCP/IP Journal based [email protected] Oracle Replication Components Terminology Database 1 Database 2 Source Database Target Database 1. Track Changes Capture or Extract 2. Propagate Changes 3. Run Changes Propagation Apply or or Extract Replicat (Remote File) or Datapump or Delivery [email protected] Overview [email protected] Oracle Replication Components 1. Replication Goal: High Availability Oracle Data Guard (Whole Database) Physical Standby Database Active Data Guard Snapshot Database Platform Restrictions: Note 413484.1 Logical Standby Database Transient Logical Standby Platform Restrictions: Note 1085687.1 2. Replication Goal: Identical Data Oracle Streams (Objects/Schemas) Oracle GoldenGate (Objects/Schemas) Homogeneous (Oracle Oracle) Homogen (Oracle Oracle) Heterogeneous (Oracle Gateway Foreign System) Heterogeneous (System 1 System 2) Part of Oracle Enterprise Edition * Extra cost Component ** ** All Oracle Editionen, 1 Licence per System * SE Synchronous Capture only Active Data Guard is included [email protected] Oracle Replication Technologies Replication Requirements EditionActive GoldenGate based Data Guard redefinition Data Protection / Data Availability / DR Database Rolling Upgrades Cross Platform Migrations Zero Downtime Application Upgrades Active/Active Multimaster Data Integration Many-to-One Replication Replicate Data Subsets, Transformations [email protected] Oracle Replication Concepts Uni-Directional Bi-Directional Peer-to-Peer (Single-Source) (Multi-Master) Query Off-Loading Zero-Downtime Migration Hot Standby or Active-Active for HA Load Balancing Multi-Master ! = Konflikte ! ! Broadcast Integration/Consolidation Data Distribution Data Distribution Data Warehouse via Messaging BPM BAM CEP [email protected] Oracle Data Guard [email protected] What is Oracle Data Guard? Primary Seite Active Standby Site Data Guard Primary Database Physical or Logical Standby Database High Availability of Oracle Data and Data Protection At to 30 Standby Databases are supported (11gR2) Standby Datenbank is used for: Queries, Reports, Test, Backups [email protected] Redo Apply or SQL Apply? Redo Apply – Physical Standby Transparent – no data type or other limitations Highest performance, simplest to administer Secure - standby database is an EXACT replica of primary Offload read-only workloads, testing, or backups to standby database Best data protection SQL Apply – Logical Standby For offloading reporting if standby database must be open read-write Database rolling upgrades Using an existing logical standby database (10.1.0.3 onward) Using an existing physical standby and the transient logical database rolling upgrade process (11.1.0.6 onward) [email protected] Data Guard Snapshot Standby (3) Änderungen Primary Datenbank Abfragen Active (Physical) Standby Datenbank DGMGRL> convert database <name> to physical standby; [email protected] Redo Transport vs. Protection Mode Mode Risk of data loss Transport If no acknowledgement from standby: Maximum Protection Zero Data Loss Double Failure Protection SYNC Stall primary until acknowledgement is received from replica Maximum Availability Zero Data Loss Single Failure Protection SYNC Stall primary until acknowledgement is received or timeout threshold period expires – then resume processing Maximum Performance Potential for Minimal Data Loss ASYNC Primary never waits for standby acknowledgement NET_TIMEOUT parameter of LOG_ARCHIVE_DEST_n Data Guard 11g default = 30 seconds Data Guard 10g default = 180 seconds Protection Mode Controls Response to Failure Events [email protected] Oracle Data Guard – Support Master Note Title Note Number Master Note for Data Guard 1101938.1 Heterogeneous Primary & Physical Standby 413484.1 Heterogeneous Primary & Logical Standby 1085687.1 https://support.oracle.com 18 [email protected] Oracle Replication Components [email protected] Oracle Replikationskomponenten (1) Oracle 7.1 – Advanced Replication (Snapshots, Multimaster Replication) Oracle 8.1 – Materialized Views ersetzen Snapshots Oracle 9.2 – Oracle Streams (Replication, Message Queuing) Oracle 10.2 – Autotuning Streams Pool, Buffered Messaging, EM Support Simplified APIs, Deklarative Transformation Oracle 11.1 – Combined Capture & Apply Streams Advisor & Topology Sychronous Capture Transparent Data Encryption Support Split and Merge of a Streams Destination LCR Tracking Oracle 11.2 – Compressed Tables Capture & Apply SecureFile LOBs, Statement DML Handlers, Keep Column Declarative RuleBased Transformation, Automatic Split and Merge of a Streams Destination „Oracle Streams will continue to be supported, but will not be actively enhanced.“ [email protected] Oracle Replikationskomponenten (2) OGG 10.4 – Oracle on SUSE Linux System z 2009 EXCLUDEUSER / ...ID Oracle Spatial Objects Cluster Tables OGG 11.1 – DDL Support Enhanced, Embedded XML in UDTs 2010 Extract API for Oracle ASM, TDE & TSE, New Monitor OGG 11.2 – Integrated Capture, Enhanced Conflict Detection & Resolution 2012 Globalization, Security & Perfromance, Extensibility, Managebility & Monitoring, Expanded Heterogeneity Oracle GoldenGate 11g Release 2 New Features Overview White Paper, May 2012 [email protected] Oracle Streams [email protected] Oracle Streams Oracle Streams ist Bestandteil der SE1*, SE* und EE Oracle Streams verursacht nur geringen System-Overhead Der Netzwerk-Overhead kann optimiert werden Oracle Streams bietet höchste Verfügbarkeit Entlastung einer Produktions DB durch Downstream Capture Replizieren zwischen Oracle DBs (zu wenigen Fremd-DBs) Replizierte Objekte müssen auf Source und Destination DB nicht identisch sein Replizieren kann man die gesamte Datenbank, Schemas, Objekte oder Teile davon (z.B.: Tabellenspalten) * Synchronous Capture, kein redolog-based Capture ab Version 11gR1 [email protected] Oracle Streams – Prozesse Quell-DB Ziel-DB (Source) (Destination) P Queue ------ Propagation LCRs RedoLog C Capture Queue ----LCRs Staging A Apply Verbindung der Datenbanken über Database Link(s) In der Regel ein Link (Multiple Links möglich) LCR = Logical Change Record Oracle Streams Prozess [email protected] Oracle Streams – Prozesse Capture Rules Capture Process Propagation Rules Combined Apply Rules Apply Process Capture/Apply Downstream Capture DML/DDL-Handler Queue-to-Queue Synchronous Capture Conflict-Handler Error-Handler [email protected] Downstream Capture Quell-DB (Source) Ziel- (Target) oder Verteiler (Intermediate) DB P Queue ----LCRs RedoLog Files Remote Archiving C A Capture läuft nicht auf der Source Database Standby RedoLogs auf Ziel-DB Real-Time-Capture (siehe oben!) Archivelog Transport zur Ziel-DB Archivelog-Based Capture Entlastung der Source Database vom Capture Overhead Abhängigkeiten zwischen Source DB und Capture DB wie bei DataGuard (Plattform, Version usw.) [email protected] Streams und die Oracle Editionen Oracle Streams Capture Process SE1 SE EE NO NO YES YES YES YES Propagation Process YES YES YES Apply Process YES YES YES (Asynchronous, Redolog based) Synchronous Capture * ab: O11gR1 * nur DML auf Tabellenbasis [email protected] Logical Change Record (LCR) Database Change = LCR DML Row change = LCR Object name, Owner, Type of DML, SCN OLD, NEW values Optional attributes: Username, Session, Thread,… DDL Object name, owner, Type of DDL, SCN DDL text Optional attributes: username, session, thread,… LOB and LONG Multiple LCRs per LOB or LONG column Piecewise Chunks [email protected] Konflikte und Konfliktlösung Automatische Konflikterkennung beim Update Vorgehensweise: Vergleich des aktuellen Wertes am Bestimmungsort mit dem alten Wert der veränderten Zeile am Quellort (muß im LCR sein) 1. Identisch Übernahme der „neuen Werte“ 2. Nicht identisch Konfliktlösungsroutine 3. Konflikt nicht lösbar Transaktion in Exception Queue stellen Konfliktlösung Routinen zur Konfliktlösung (mitgeliefert): 1. Maximum 2. Minimum 3. Discard 4. Overwrite Benutzerdefinierte Konfliktlösungsroutinen: PL/SQL-Routinen (sind selbst zu erstellen) [email protected] Konfigurieren von Oracle Streams 1. Benutzung von DBMS-Packages (Oracle Streams API) DBMS_STREAMS_ADM DBMS_xxx_ADM oder (xxx = Capture, Propagation, Apply, Rule) 2. Benutzung des Oracle Enterprise Managers (Einschränkungen) Database Control oder Grid Control GUI Two-sites, One-way ab Version 10.2. 3. Über Oracle Streams Commander (einfach & schnell) 00_define.sql 00_install.sql [email protected] Oracle EM (DB-C) – Streams-Setup Enterprise Manager Database Control 11gR1 Setup ist beschränkt auf Replikation von Quell- in Ziel-Datenbank [email protected] Oracle EM (Grid-C) – Streams-Setup Enterprise Manager Grid Control 10.2.0.5 entspricht Enterprise Manager Database Control 11gR2 [email protected] Oracle Streams Commander – Download http://apex.oracle.com/pls/apex/BUDBG_PT.osc_download_page [email protected] Oracle Streams Commander (Flash Tracker !) [email protected] Oracle Streams Commander (Flash Tracker !) [email protected] Oracle Streams – Support Master Notes Title Note Number Streams Performance Recommendations 335516.1 Streams Recommended Configuration 418755.1 Streams Setup and Administration 789445.1 Streams Downstream Capture 1264598.1 https://support.oracle.com 36 [email protected] Oracle GoldenGate [email protected] Oracle GoldenGate Kostenpflichtige Zusatzkomponente Lizenz für 1 Jahr möglich (Active Data Guard enthalten) Oracle Datenbank Versionen: GoldenGate 10.4: 8i (DML Only), 9i, 10.1, 10.2, 11.1 GoldenGate 11gR1: 9.2.0.7, 10.1+, 10.2.0.4+, 11.1+, 11.2+ GoldenGate 11gR2 (11.2.1): 11.2.0.1+ Normalerweise schneller als Oracle Streams Leichtere Konfiguration und Nutzung als Oracle Streams Weniger Datentyp-Einschränkungen als Oracle Streams Oracle GoldenGate Installation and Setup Guide Viele Fremd-Systeme bzw. –Datenbanken unterstützt Oracle Compression Support mit Integrated Capture (11.2.1) GoldenGate auf “Oracle Technology Network”: http://www.oracle.com/technetwork/middleware/goldengate/overview/index.html [email protected] OGG – Architektur (1) Capture: Auslesen der bestätigten Transaktionen (optional gefiltert) wie sie im Transaktionslog erscheinen. Trail files:Speichern der Daten für Weiterleitung. Capture QuellDatenbank Source Trail LAN / WAN / Internet ZielDatenbank [email protected] OGG – Architektur (2) Capture: Auslesen der bestätigten Transaktionen (optional gefiltert) wie sie im Transaktionslog erscheinen. Trail files:Speichern der Daten für Weiterleitung. Route: Datendistribution zu mehreren Zielen. Delivery: Anwenden mit Transaktionsintegrität, Transformationen wie benötigt. Capture QuellDatenbank Source Trail LAN / WAN / Internet Target Trail Deliver ZielDatenbank [email protected] OGG – Architektur (3) Capture: Auslesen der bestätigten Transaktionen (optional gefiltert) wie sie im Transaktionslog erscheinen. Trail files:Speichern der Daten für Weiterleitung. Route: Datendistribution zu mehreren Zielen. Delivery: Anwenden mit Transaktionsintegrität, Transformationen wie benötigt. Capture QuellDatenbank Source Trail LAN / WAN / Internet Target Trail Target Trail Deliver Source Trail Deliver Capture Bi-Direktional ZielDatenbank [email protected] OGG – Oracle Open World Flash 42 [email protected] OGG 11g – Unterstützte Plattformen Databases O/S and Platforms Oracle GoldenGate Capture: Oracle DB2 for v 9.7 DB2 for v 10 on z/OS Microsoft SQL Server for 2008 R1, R2 Sybase ASE, 15.5 Teradata Enscribe SQL/MP SQL/MX MySQL JMS message queues Linux Sun Solaris Windows 2000, 2003, XP, 2008 HP NonStop HP-UX IBM AIX IBM z Series zLinux Oracle GoldenGate Delivery: All listed above, plus: TimesTen, IBM System I, Netezza & Greenplum ETL product Capture für IBM System I ist angekündigt für Patch Set 11.2.1.0.? [email protected] Management Pack for GoldenGate (1) http://www.oracle.com/us/products/middleware/data-integration/management-pack/index.html [email protected] Management Pack for GoldenGate (2) Alter Name: GoldenGate Director Grafisches Nutzer-Interface zum Monitoring und zum Management der Oracle GoldenGate Prozesse. Der Oracle GoldenGate Director besteht aus diesen Komponenten: 1. Oracle GoldenGate Director Administrator: Definieren von Nutzerrechten und Instanzen einer Oracle GoldenGate Umgebung. 2. Oracle GoldenGate Director Server: Komponente zum Sammeln von Daten der einzelnen Oracle GoldenGate Prozesse. 3. Oracle GoldenGate Director Client: Client-Interface zur Verbindung mit dem Oracle GoldenGate Director. 4. Oracle GoldenGate Director Web: Browser-Interface zum Oracle GoldenGate Director (Keine zusätzliche Software nötig!). Oracle WebLogic Server notwendig [email protected] Management Pack for GoldenGate (3) Zwei Produkte Ein Preis: 1. Oracle GoldenGate Director: Basiskonfiguration, Management, Monitoring, und Alerting. Basiert auf vorhandener Infrastruktur in allen GoldenGate Instanzen. 2. Oracle GoldenGate Monitor: Java-Neuentwicklung nach Übernahme durch Oracle Erweitertes Monitoring, Alerting (SNMP support), Lag Graphs und History Repository. Basierend auf neuer Agent Infrastruktur, die die Grundlage für alle zukünftigen Erweiterungen bildet. Verfügbar mit OGG 11.1.1.1.1+ Datenblatt: http://www.oracle.com/us/products/middleware/data-integration/goldengate/059449.pdf?ssSourceSiteId=otnen [email protected] OGG Monitor oder OGG Director ? Erweitertes Monitoring OGG Monitor Infos über SNMP, Emails und CLI Alerts; Statistikreports für alle Monitor-Punkte; Status- und Summary-Informationen, Dynamische End-To-End Diagramme; Verfügbar mit OGG 11.1.1.1.1+; Oracle Enterprise Manager Grid Control Plug-In ist in Arbeit und wird demnächst verfügbar sein! ( EM 12c) Konfiguration und Prozeßüberwachug OGG Director ADD, ALTER, DELETE, START und STOP von OGG Prozessen; Editieren von OGG Paramater Files; Unterstützt ältere OGG Versionen. [email protected] OGG - Director Architektur [email protected] OGG - Monitor Architektur Maximal 20 OGG Instanzen Maximal 50 Prozesse pro OGG Instanz [email protected] OGG - Monitor Snapshot [email protected] OGG – Veridata http://www.oracle.com/us/products/middleware/data-integration/goldengate-veridata/index.html [email protected] OGG – Veridata Architektur [email protected] OGG – Support Master Notes Komponente Note Number Oracle GoldenGate (OGG) 1313280.1 OGG - Veridata 1307285.1 OGG - Management Pack (Director) 1307305.1 OGG – Management Pack (Monitor) ? OGG - Certification Matrix 976287.1 https://support.oracle.com 53 [email protected] „Active – Active Replication“ Demo [email protected] OGG – Demo Environment ORAP ex2prio.prm re2seco.prm re2prio.prm ex2seco.prm ORAS Bi-directional 1 Tabelle: GG_HEARTBEAT_TABLE Manager Port: 7810 Manager Port: 7811 (.\dirprm\mgr.prm) (.\dirprm\mgr.prm) Extract ORAP Replicat ORAS (.\dirprm\ex2prio.prm) (.\dirprm\re2seco.prm) Replicat ORAP Extract ORAS (.\dirprm\re2prio.prm) (.\dirprm\ex2seco.prm) [email protected] GoldenGate – 1 Folder per Instance ogg_new_src GoldenGate Instance for Database ORAP ogg_new_tar GoldenGate Instance for Database ORAS Windows7: Open command prompt window by right mouse click on folder name! [email protected] Open Command Prompt Window [email protected] Command Prompt Window per Instance Command Prompt Window ORAP ORAS [email protected] OGG Command Line Interface (GGSCI) GoldenGate Software Command Interface ORAP ORAS [email protected] OGG – Start Instance Manager Both GoldenGate Manager are running, but no replication process is active. Replication is still down because no replication process was started at present. [email protected] Heartbeat-Tables – Only local “In time” SQL> @gg_hb_select_table Connect durchgefⁿhrt. GLOBAL_NAME -----------------ORAP.DE.ORACLE.COM '-------------------------' 'Heartbeat Table from ORAP' '-------------------------‚ DB_NAME -----------------------------ORAP.DE.ORACLE.COM ORAS.DE.ORACLE.COM Current-Time ------------------08.03.2012,11.08.00 08.03.2012,10.52.00 Connect durchgefⁿhrt. GLOBAL_NAME -----------------ORAS.DE.ORACLE.COM '-------------------------' 'Heartbeat Table from ORAS' '-------------------------‚ DB_NAME -----------------------------ORAP.DE.ORACLE.COM ORAS.DE.ORACLE.COM Current-Time ------------------08.03.2012,10.52.00 08.03.2012,11.08.00 SQL> [email protected] OGG – Start Replication Processes Extract and Replicat Processes are running for both databases. GG_HEARTBEAT_TABLE should be „In Time“ at both sides. [email protected] Heartbeat-Tables – All “In time” SQL> @gg_hb_select_table Connect durchgefⁿhrt. GLOBAL_NAME -----------------ORAP.DE.ORACLE.COM '-------------------------' 'Heartbeat Table from ORAP' '-------------------------‚ DB_NAME -----------------------------ORAP.DE.ORACLE.COM ORAS.DE.ORACLE.COM Current-Time ------------------08.03.2012,11.15.00 08.03.2012,11.15.00 Connect durchgefⁿhrt. GLOBAL_NAME -----------------ORAS.DE.ORACLE.COM '-------------------------' 'Heartbeat Table from ORAS' '-------------------------‚ DB_NAME -----------------------------ORAP.DE.ORACLE.COM ORAS.DE.ORACLE.COM Current-Time ------------------08.03.2012,11.15.00 08.03.2012,11.15.00 SQL> [email protected] Gegenüberstellungen [email protected] Oracle steht für Maximale Verfügbarkeit Oracle Maximum Availability Architecture (OMAA) Flashback • Datenwiederherstellung auf konkrete Zeit • Instanz Fehler • Server Fehler • Datenwiederherstellung • Wartung ohne nach FehlverStillstand arbeitung • Leistungs• Transaktion erweiterung • Tabelle • Zusammenlegung • Datenbank Oracle RAC ASM, RMAN, OSB • Speicher Fehler • Datenwiederherstellung • DatenbankSicherungen Active Data Guard • Datenbank Fehler • System Fehler • Standort Fehler • Kein Datenverlust • Automatisches Datenbank “Failover” • Bester Schutz vor physischen Datenfehlern • Datenbank Upgrade ohne Stillstand • Standby DB für Abfragen und Sicherungen Golden Gate • Flexibilität bei geplanter Wartung und bei geplanten Migrationen • “Near-Zero Downtime” Upgrades und Migrationen • Schema Migrationen in bestimmten Umgebungen • Bi-Directionale und “Multimaster” Replikation • Verteilung von Datenbank-Abfragen und -Änderungen [email protected] Oracle Streams vs. Oracle GoldenGate Merkmal Architektur Prozesse Netzverbindung Quelle-Ziel Heterogene Replikation Oracle Streams Oracle GoldenGate Oracle Database Server Prozesse Betriebssystem Prozesse ständig aktiv und kommunizieren zeitlich voneinander entkoppelt immer nein* in speziellen Fällen ja DML Änderungen ja ja DDL Änderungen ja ja Parallelisierung ja ja Flexibilität hoch hoch * Wenige Fremddatenbanken, nur über Gateway zur Fremddatenbank (Uni-Direktional) [email protected] Oracle Streams & GoldenGate Vergleichbare Konzepte: 1. 2. 3. 4. 5. 6. 7. Start “Capturing Changes” auf der Quell-Datenbank Erstellen einer Kopie und Einspielen auf der Ziel-Datenbank (Exp/Imp, Data Pump, RMAN Backup/Restore, TTS, etc.) Optional: Ziel-DB neue Version / andere Plattform Start “Apply changes” auf der Ziel-Datenbank Synchronisation beendet, wenn alle Änderungen in Ziel-DB sind. Optional: Disconnect auf Quell-DB Connect auf Ziel-DB Zeit für Disconnect / Connect ist die einzige “Downtime” Oracle Streams & GoldenGate arbeiten plattformübergreifend “endian”-übergreifend versionsübergreifend bi-direktional (Rückkehr von neuer auf alte Umgebung möglich!) Völlig unterschiedliche Replikationsarchitektur [email protected] Active Data Guard und GoldenGate (1) „Oracle Active Data Guard and Oracle GoldenGate are strategic capabilities within Oracle‘s software portfolio.“ „Use Active Data Guard for data protection, high availability, and disaster recovery.“ „GoldenGate is an advanced logical replication product that supports multi-master replication, hub and spoke deployment and data transformation, ...“ [email protected] Active Data Guard und GoldenGate (2) Active Data Guard GoldenGate Lesen SGA und Übertragung Synchron oder Asynchron Nur Uni-Direktional Standby DB offen für Abfragen “Near-Zero” Aufwand auf Quell-DB Standby Datenbank ist exakt gleich Keinerlei Datentyp oder andere Restriktionen Oracle Datenbankserver Funktion Lesen RedoLogs und Übertragen nur Asynchron Uni-, Bi-Direktional, Multimaster * Ziel-DB ist offen für Änderungen Aufwand auf Quell-DB (I/O, Capture) Standby Datenbank ist eine logische Kopie, gepflegt über SQL Apply Datentyp- und andere Restriktionen Betriebssystemspezifische Programme * Konflikte treten auf und müssen gelöst werden! [email protected] Leistungsstarke Kombinationen (1) Active Data Guard Data Guard Broker - Disaster Recovery - Schutz vor Datenverlust - Echtzeit Abfragen RAC - Skalierbarkeit - Hochverfügbarkeit Synchron / Asynchron ProduktionsDatenbank Standby Datenbank Bi-Direktionale Replikation Daten für Reports MySQL GoldenGate - Datenverteilung - Heterogen / Homogen [email protected] Leistungsstarke Kombinationen (2) Data Guard Broker RAC Active Data Guard - Disaster Recovery - Schutz vor Datenverlust - Echtzeit Abfragen - Skalierbarkeit - Hochverfügbarkeit Synchron / Asynchron ProduktionsDatenbank Standby Datenbank GoldenGate Daten für Reports MySQL - Datenverteilung - Heterogen / Homogen [email protected] Oracle Products for Data Movement Load Data Disaster Recovery & Data Protection Redo in Memory Buffer Direct Active Data Guard Direct Write to Logs Memory Access HETEROGENEOUS T R A N S F O R M AT I O N INCREASING DECREASING L AT E N C Y Retrieve Data Real Time Data Integration & High Availability GoldenGate Read Fast SQL On-Disk Logs Data Integration for Data Warehouse & SOA SQL Query Data Integrator Set-based, Complex SQL Comparing How They Work 72 [email protected] Oracle Strategie [email protected] Oracle GoldenGate und Oracle Streams GoldenGate ist Oracle’s strategische Replikationslösung Streams bleibt eine unterstützte Oracle Datenbank Komponente Oracle GoldenGate Oracle Streams “Out-of-the-box” Lösung Vielzahl heterogener Systeme Exzellente Kundenreferenzen Hochflexibel und konfigurierbar Optimiert für die Oracle Datenbank Wenig große Referenzen Ein Kunde nutzt Oracle Streams im Rahmen seiner Oracle-Lizenz. Warum sollte er GoldenGate kaufen? • Return Of Investment: GoldenGate ist einfacher zu implementieren und zu warten. • Unternehmensweite Lösung: GoldenGate ist auf Non-Oracle Systeme erweiterbar. • Streams Unterstützung bleibt erhalten: Streams weiter nutzen wo es vorhanden ist. Die Zukunft heißt: GoldenGate [email protected] 74 Die Zukunft von Oracle Streams ... Oracle GoldenGate ... Oracle GoldenGate is the strategic replication solution for Oracle Database and for heterogeneous databases, with proven success in a wide range of demanding industries and mission critical use cases. Quelle: Oracle Streams Oracle Streams is a built-in feature of the Oracle Database that allows information Oracle – GoldenGate sharing among multiple Oracle databases. With Oracle Streams, transactional changes Statement of Direction and events are captured, propagated and applied within an Oracle database or between Page 4 Oracle databases, creating a flexible replication solution for a homogeneous all-Oracle environment. Given the strategic nature of Oracle GoldenGate, Oracle Streams will continue to be supported, but will not be actively enhanced. Rather, the best elements of Oracle Streams will be evaluated for inclusion with Oracle GoldenGate. Current customers depending on Oracle Streams will continue to be fully supported, and Oracle Streams customers should continue using the feature wherever it is deployed today. ... [email protected] Oracle Data Integration Solution Best-in-class Heterogeneous Platform for Data Integration Oracle Applications Custom Applications MDM Applications Business Intelligence Activity Monitoring SOA Platforms Comprehensive Data Integration Solution SOA Abstraction Layer Process Manager Service Bus Data Services Data Federation Oracle Data Integrator Oracle GoldenGate Oracle Data Quality ELT/ETL Real-time Data Data Profiling Data Transformation Log-based CDC Data Parsing Bulk Data Movement Bi-directional Replication Data Cleansing Data Lineage Data Verification Match and Merge Storage Data Warehouse/ Data Mart OLTP System OLAP Cube Flat Files Web 2.0 Web and Event Services, SOA [email protected] Überblick über die Datenintegrationsprozesse “Staging”-DB Produktions-Datenbank Quell-Tabellen Ziel-DB Ziel-Tabellen Replizierte Quell-Tabellen ODI CDC Framework ODI Schnittstelle Datapump Extract WAN Replicat Source Staging Trail Trail Files Files ODI & OGG arbeiten zusammen [email protected] Zusammenwirken von OGG und ODI Oracle GoldenGate • • • • • Schnellste Echtzeit-Lösung Datenbereitstellung in Sekundenbruchteilen Garantierte Datenübergabe verhindert Datenverlust “Zero-Downtime” für Migrationen und Upgrades Sehr geringe Belastung des Quell-Systems Oracle Data Integrator • • • • Schnellste E-LT Lösung Optimiert für Transformation großer Datenmengen “Data Lineage” zum Verfolgen von Datenflüssen Integrierte Daten-Qualität-Funktionen [email protected] Oracle Data Integration Community Informationsportal für unsere deutschsprachigen Kunden [email protected] Oracle BU ST-PCM Registration Page http://www.oracle.com/webfolder/technetwork/de/community/platform/index.html [email protected] Oracle BU ST-PCM Data Integration - Global http://apex.oracle.com/pls/otn/f?p=43477:1 [email protected] Oracle BU ST-PCM Data Integration - Community http://apex.oracle.com/pls/otn/f?p=9530:1 YouTube Video [email protected] Hilfreiche Links [email protected] Oracle Streams – Links Datenblatt Oracle Database 11g Streams Features Overview http://www.oracle.com/technetwork/database/focus-areas/information-management/streams-fov-11g-134280.pdf White Papers Oracle Streams Configuration Best Practices: Oracle Database 10g Release 10.2 http://www.oracle.com/technetwork/database/features/availability/maa-10gr2-streams-configuration-132039.pdf Oracle Streams Performance Tuning Best Practices: Oracle Database 10g Release 10.2 http://www.oracle.com/technetwork/database/features/availability/maa-wp-10gr2-streams-performance-130059.pdf Präsentation Grid Control 10.2.0.5: Streams Management http://www.oracle.com/technetwork/database/features/data-integration/gc10-2-0-5-streams-ext-with-notes-133545.pdf [email protected] Oracle GoldenGate – Links Datenblatt Oracle GoldenGate 11g http://www.oracle.com/us/products/middleware/data-integration/goldengate11g-ds-168062.pdf White Papers Oracle GoldenGate 11g: Real-Time Access to Real-Time Information http://www.oracle.com/us/products/middleware/data-integration/goldengate11g-realtime-wp-168153.pdf Best Practices for Migrating/Upgrading Oracle Database Using Oracle GoldenGate 11g http://www.oracle.com/jp/gridcenter/partner/fujitsu/20110627-wp-ggupgrade-en-423587-ja.pdf Präsentation Oracle GoldenGate Product Strategy and Roadmap http://www.oracle.com/technetwork/database/features/availability/s317414-175934.pdf [email protected] Oracle Data Guard – Links Datenblatt Oracle Active Data Guard 11g http://www.oracle.com/technetwork/database/features/availability/ds-activedataguard-11gr2-130305.pdf White Papers Oracle Active Data Guard Oracle Data Guard 11g Release 1 http://www.oracle.com/technetwork/database/features/availability/maa-wp-11gr1-activedataguard-1-128199.pdf Database Rolling Upgrade Using Transient Logical Standby: Oracle Data Guard 11g http://www.oracle.com/technetwork/database/features/availability/maa-wp-11g-transientlogicalrollingu-1-131927.pdf Präsentation Oracle Active Data Guard What They Didn’t Print in the Manuals http://www.oracle.com/technetwork/database/focus-areas/performance/s291920-meekssmith-130511.pdf [email protected] Questions & Answers [email protected] USB-Stick – README.txt Hinweise zum Inhalt des USB-Sticks 14.06.2012 -------------------------------------------------------------------- Folder-Struktur: Business_Integration Data_Integration 1. Business Integration (Was - Wann - Wie) -----------------------------------------Öffnen des PDF-Files: "WasWannWie_BusinessIntegration". Über die Links im File kann man sich "Top-Down" in die von Oracle angebotenen Software-Komponenten klicken. 2. Data Integration (Focus: Real-Time Replication) -------------------------------------------------- DOJOs Presentation Video_Links Quick_Information Doppelklick auf das File "ODI_start.html" Über das angebotene Auswahlmenü werden alle Information zum Thema Oracle Data Integration angeboten. Einige Links erfordern eine aktive Internet-Verbindung. 3. Oracle DOJOs --------------Alle bisher veröffentlichten Büchlein der "Oracle DOJO" Serie. Klein und handlich liefern sie einen schnellen und fundierten Überblick zu abgeschlossenen Oracel-Themen. Oracle DOJOs sind gegenwärtig in Papierform oder als PDF-File erhältlich. 4. Presentation --------------Hier finden Sie die heutige Präsentation im PDF-Format 5. Quick Information -------------------- README.txt ... [email protected] USB-Stick – Data Integration [email protected]