44375211-Oracle-Golden-Gate.ppt

8
1 An Overview of GoldenGate Replication Muhammad Qasim ORACLE

description

GG

Transcript of 44375211-Oracle-Golden-Gate.ppt

Page 1: 44375211-Oracle-Golden-Gate.ppt

1

An Overview of GoldenGateReplication

Muhammad Qasim

ORACLE

Page 2: 44375211-Oracle-Golden-Gate.ppt

2

OUTLINE

Introduction

Overview of GoldenGate

Overview of the DEMO

DEMO Scenarios

Page 3: 44375211-Oracle-Golden-Gate.ppt

3

INTRODUCTION

GoldenGate

Page 4: 44375211-Oracle-Golden-Gate.ppt

4

GoldenGate Introduction

The GoldenGate replication utility provides flexible and powerful framework, for automatic propagation of data changes

This presentation will provide an overview of GoldenGate replication; and it will display some examples of actually using GoldenGate.

In order to provide examples of using GoldenGate, a DEMO environment, which uses GoldenGate, has been set up.

Page 5: 44375211-Oracle-Golden-Gate.ppt

5

Overview of GoldenGate Replication

GoldenGate replication consists of three basic utilities: “extract”,”replicat” and “data pump”. In addition all three of these utilities access “trail files”, which are flat files that contain formatted GoldenGate data.

An extract group mines a database’s redo logs; and writes information about the changes it find into trail files. Extract is functionally similar to the Streams “capture” process.

A replicat group reads information from trail files; and then writes those changes into database tables. Replicat is functionally similar to the Streams “apply” process.

A data pump group copies information between trail files. Data is functionally similar to Streams “propagate” process.

Page 6: 44375211-Oracle-Golden-Gate.ppt

Overview of the DEMO

6

We have two 11g databases deployed in different environments.

Source: Windows XP 32bit 11g release 2 Target: Linux x86 32bit 11g release 2

We will demonstrate two scenarios where data will be replicated from source to target.

Page 7: 44375211-Oracle-Golden-Gate.ppt

7

Scenario 1: One-to-One Configuration using Direct Load Method

In this configuration, one Extract group sends captured data over

TCP/IP to a trail on the target system, where it is stored until

processed by one Replicat group.

Scenario 2: One-to-One Configuration using File to Replicate

This method uses an Extract process to extract source data into

flat files or trails on the target system.

The initial load Replicat task then moves the data from

the intermediate file to the target database.

Demonstration Scenarios

Page 8: 44375211-Oracle-Golden-Gate.ppt

8