35
<Insert Picture Here> Oracle Streams Replication Made Easy Stephan Haisley Principal Member Technical Staff Maximum Availability Architecture (MAA)

haisley_01

Embed Size (px)

Citation preview

8/3/2019 haisley_01

http://slidepdf.com/reader/full/haisley01 1/35

<Insert Picture Here>

Oracle Streams Replication Made Easy

Stephan HaisleyPrincipal Member Technical StaffMaximum Availability Architecture (MAA)

8/3/2019 haisley_01

http://slidepdf.com/reader/full/haisley01 2/35

2

<Insert Picture Here>

Agenda

• Oracle Streams Overview

• Streams and Grid Control

8/3/2019 haisley_01

http://slidepdf.com/reader/full/haisley01 3/35

3

Oracle Streams

• Simple solution for information sharing

Provides– Uniquely flexible information sharing

– Active/Active replication

– Real-time ETL for data warehouses

– Availability during database migration

– Availability during application upgrade

– Message queuing

– Event management and notification

8/3/2019 haisley_01

http://slidepdf.com/reader/full/haisley01 4/35

4

Apply1Capture

Apply2

Oracle StreamsPowerful Logical Database Replication Solution

Redo Logs 

Non-Oracle Database 

• All sites active and updateable

• Automatic conflict detection & optional resolution• Supports data transformations

• Flexible configurations – n-way, hub & spoke, …

• Database platform / release / schema structure can differ

• Provides HA for custom apps where update conflicts can be avoided or managed

Transparent

Gateway

Propagate

Target Database 

Source Database 

8/3/2019 haisley_01

http://slidepdf.com/reader/full/haisley01 5/35

5

Streams Functional Components

• Asynchronous Information Sharing• Capture messages at a database– Store messages in a queue

–Propagate messages across databases

– Apply messages at local or remote databases

• Integrated feature of the database

• Flexibility to meet business requirements beyondreplication

ConsumptioConsumptioStaginStaginCapturCaptur

8/3/2019 haisley_01

http://slidepdf.com/reader/full/haisley01 6/35

6

Grid Control 10.2.0.5Simplified Management, Fine-Grained Monitoring

• Wizards to configure replication

• Monitor Streams components by database or by path

– Database: Streams components on specific database

– Path: Streams components in path from source to target (acrossdatabases)

• Streams metrics for EM alerts notification

– Default thresholds for Latency, Process Status, or Errors

– Additional metrics(threshold) available for alerting.

• Automated Workflows for common Streams/DBA actions

8/3/2019 haisley_01

http://slidepdf.com/reader/full/haisley01 7/35

7

Streams Replication Wizard

8/3/2019 haisley_01

http://slidepdf.com/reader/full/haisley01 8/35

8

Monitoring with Grid Control

8/3/2019 haisley_01

http://slidepdf.com/reader/full/haisley01 9/35

9

Streams Metrics

8/3/2019 haisley_01

http://slidepdf.com/reader/full/haisley01 10/35

10

Available Streams Metrics

8/3/2019 haisley_01

http://slidepdf.com/reader/full/haisley01 11/35

11

Expanded Metrics

8/3/2019 haisley_01

http://slidepdf.com/reader/full/haisley01 12/35

12

Streams Overview

8/3/2019 haisley_01

http://slidepdf.com/reader/full/haisley01 13/35

13

Monitor Streams Activity by Path11g Database

8/3/2019 haisley_01

http://slidepdf.com/reader/full/haisley01 14/35

14

Monitor Streams by Database

1 activetransaction forcapture

8/3/2019 haisley_01

http://slidepdf.com/reader/full/haisley01 15/35

15

Automated WorkflowCreate Source LogMiner Session

8/3/2019 haisley_01

http://slidepdf.com/reader/full/haisley01 16/35

16

Automated WorkflowRedo Scanning

8/3/2019 haisley_01

http://slidepdf.com/reader/full/haisley01 17/35

17

Automated WorkflowReview Source Transaction

8/3/2019 haisley_01

http://slidepdf.com/reader/full/haisley01 18/35

18

Automated WorkflowReview Source Transaction

8/3/2019 haisley_01

http://slidepdf.com/reader/full/haisley01 19/35

19

Manage Process ParametersExample: Apply Parameters

8/3/2019 haisley_01

http://slidepdf.com/reader/full/haisley01 20/35

20

Managing Apply ErrorsAutomatic Conflict Detection

8/3/2019 haisley_01

http://slidepdf.com/reader/full/haisley01 21/35

21

Component Details

8/3/2019 haisley_01

http://slidepdf.com/reader/full/haisley01 22/35

22

Automatic Transformations

8/3/2019 haisley_01

http://slidepdf.com/reader/full/haisley01 23/35

23

Monitor Streams Activity by Path11g Database

8/3/2019 haisley_01

http://slidepdf.com/reader/full/haisley01 24/35

24

Apply Status

8/3/2019 haisley_01

http://slidepdf.com/reader/full/haisley01 25/35

25

Apply Statistics

8/3/2019 haisley_01

http://slidepdf.com/reader/full/haisley01 26/35

26

Streams Performance Advisor View

8/3/2019 haisley_01

http://slidepdf.com/reader/full/haisley01 27/35

27

Apply Server Statistics

8/3/2019 haisley_01

http://slidepdf.com/reader/full/haisley01 28/35

28

Apply Server Statistics

8/3/2019 haisley_01

http://slidepdf.com/reader/full/haisley01 29/35

29

Session Information

8/3/2019 haisley_01

http://slidepdf.com/reader/full/haisley01 30/35

30

Session Information – SQL Identification

8/3/2019 haisley_01

http://slidepdf.com/reader/full/haisley01 31/35

31

Streams Performance Advisor PageAdvisor Central

8/3/2019 haisley_01

http://slidepdf.com/reader/full/haisley01 32/35

32

Replication Made Easy

Grid Control is a great tool managing Streams

– Streams configuration

– Monitoring Streams

– Troubleshooting a Streams environment

8/3/2019 haisley_01

http://slidepdf.com/reader/full/haisley01 33/35

33

Streams Resources

• Oracle Streams Technology Portal on OTN:http://otn.oracle.com/products/dataint/content.html

• Oracle Streams Customer Success Stories on OTN:http://www.oracle.com/technology/deploy/availability/htdocs/HA_CaseStudies.html#streams

• 10.2 Oracle Streams Recommendations and BestPractices

– Streams Configuration Best Practices (10.2) on OTN

– Streams Performance Tuning Best Practices (10.2) on OTN

MyOracle Support Notes– 784021.1 - Streams and Enterprise Manager 10g Release 5 Grid Control

– 556742.1 - Extended Datatype Support

8/3/2019 haisley_01

http://slidepdf.com/reader/full/haisley01 34/35

34

For More Information

search.oracle.com

or

oracle.com

8/3/2019 haisley_01

http://slidepdf.com/reader/full/haisley01 35/35

35