Professional Documents
Culture Documents
Agenda
1 GoldenGate - Introduction 2 Architecture 3 Implementation 4 Conclusion
Introduction
GoldenGate - Introduction
GoldenGate Software Inc. is a leading provider of high availability and real-time data integration solutions. GoldenGate helps mission-critical systems maintain 24/7 operations to meet end-user demand for continuous access. GoldenGate also helps organizations to immediately distribute critical data across the enterprise, to enable timely and accurate decision making. In short, GoldenGate solutions enable real-time access to real-time information. GoldenGate solutions are powered by GoldenGates Transactional Data Management (TDM) platform, which provides continuous capture, routing, transformation, and delivery of transactional data between heterogeneous systems in real time and with minimal overhead.
GoldenGate High Availability and Disaster Tolerance solutions eliminate downtime caused by unplanned and planned outages and boost the performance and scalability of systems burdened by the tremendous growth of data or usage demands.
GoldenGate Live Standby significantly improves recovery time for business-critical systems. GoldenGate Zero-Downtime Operations enables uninterrupted business operations during necessary system upgrade, migration, and maintenance activities. GoldenGate Active-Active improves performance and reliability for two or more databases by enabling workload balancing. Database Tiering allows companies to ensure the highest performance of their production systems while still easily supporting necessary read-only activities.
GoldenGate Real-Time Data Integration solutions provide real-time change data to data warehouses, operational data stores, reporting systems, or other OLTP-supporting databases without batch windows and with minimal performance impact.
GoldenGate Real-Time Data Warehousing enables continuous, real-time capture, transformation, and delivery of the most recent change data between OLTP systems and the data warehouse. It can also integrate with existing ETL solutions. GoldenGate Live Reporting off-loads reporting activity from the production database to a lower-cost secondary system, where the most current data is always available to support real-time reporting needs. GoldenGate Transactional Data Integration offers point-to-point data integration between OLTP systems in real time and with minimal impact.
Architecture
Architecture
Sources Supported
Databases: Oracle DB2 Microsoft Sql Server Sybase ASE Ingres Teradata Enscribe SQL/MP SQL/MX Platforms: HP NonStop HP-UX HP TRU64 HP OpenVMS Windows 2000, 2003, XP Linux Sun Solaris IBM AIX IBM z/OS
Architecture (Contd)
Targets Supported
Databases: Oracle DB2 Microsoft Sql Server Sybase ASE Ingres Teradata Enscribe SQL/MP SQL/MX MySQL HP Neoview Netezza Greenplum JMS Message Bus ETL Servers Any ODBC compatible database Platforms: HP NonStop HP-UX HP TRU64 HP OpenVMS Windows 2000, 2003, XP Linux Sun Solaris IBM AIX IBM z/OS
Architecture (Contd)
The following are the components & processes involved in the GoldenGate Capture (Extract)
Capture module reads the transaction logs (redo or archive logs) of the desired source database. Captures committed transactions - insert, update & delete operations - and maintains transaction integrity. Immediately writes the transactions to GoldenGate external trail file for distribution to targets Process efficiently and with low impact - does not create additional work in the database or create triggers Offers selective capture and delivery capability: Advanced filtering at the database/schema, table, row or column level or based on operation type, matched patterns and value thresholds
Architecture (Contd)
Data Pump (Capture Once, Apply Many)
The GoldenGate Pump reads the trail file and distributes the data to the designated target database Multiple pumps may be configured to send the data to multiple targets, even different databases (ie. capture from Oracle, apply to Teradata & Sql Server)
Routing
GoldenGate send data over TCP/IP - this means no distance constraints between source and target systems! Encryption may be applied Additional compression may be applied as desired Can send thousands of transaction operations per second (TPS) Extremely efficient, low-bandwidth implementation
Delivery (Replicat)
GoldenGate Delivery reads changed data transactions from the Trail File Continuously applies changed data to the target database using the native Sql for that RDBMS Ensures transaction integrity by applying transactions in the same order that they were committed on the source system
Architecture (Contd)
Transaction commit boundaries are preserved throughout each step of the data movement Delivery also supported to non-RDBMS targets via flat file integration Supports high-volume environments while keeping source and target "in sync" All of this happens with only sub-second latency!!
Manager
Manager is GoldenGates control process. Manager must be running on each system involved in GoldenGate synchronization. Manager performs the following functions: Monitor and restart GoldenGate processes. Issue threshold reports, for example when Extract processing slows down or when synchronization latency increases. Maintain trail files and logs. Allocate data storage space. Report errors and events. Receive and route user requests from the user interface.
Architecture (Contd)
Collector
Collector is a process that runs in the background on the target system to receive data sent across the TCP/IP network and write it to the trail or extract file. Typically, Manager starts Collector automatically
Implementation
Implementation
GoldenGate can be installed and configured quickly and easily in just four easy Steps: 1. Prepare the environment
2. Configure Change Capture
3. Initial Data Load 4. Configure Change Delivery
Install GoldenGate
Start GoldenGate Manager Generate source definitions for heterogeneous configurations Add supplemental log data from Oracle or MS SQL log-based solution Add loop-detection for bi-directional configuration
3.
4. 5. 6. 7.
3. 4. 5. 6.
7.
By default, the errors logged are generic. To enable the display of more specific error content, copy the category.dll & ggsmsg.dll files from the GoldenGate installation directory to the SYSTEM32 directory. The enhanced output
Overview of runtime parameters Runtime parameters give you control over the various aspects of GoldenGate synchronization, such as: Data selection, mapping, transformation, and replication DDL selection, mapping, and replication (where supported) Error resolution Logging Status and error reporting System resource usage Startup and runtime behavior Note: There can be only one active parameter file for the Manager process or an Extract or Replicat group. There are two types of parameters: global (not to be confused with GLOBALS parameters) and tablespecific.
The following are examples of basic parameter files for Extract and Replicat. Sample Extract parameter file EXTRACT capt USERID etluser, PASSWORD ********* DISCARDFILE /ggs/capt.dsc, PURGE RMTHOST sysb, MGRPORT 7809 RMTTRAIL /ggs/dirdat/aa TABLE fin.*; TABLE sales.*;
Conclusion
Conclusion
Other Information:
There are several other commands, parameters, functions, etc used during the Manager, Extract, Replicat Processes which we are not going in detail here. Pls refer the GGS_WinUnix_Reference_9.5.pdf & GGS_WinUnix_QuickRef_9.5.pdf documents comes with the GoldenGate software.
References:
GoldenGate website GoldenGate Fundamentals Student Guide study material GoldenGate reference manuals