Top Banner
Zero Downtime Migrations & High Availability for your Oracle databases Ales Zeman
23

Zero Downtime Migrations & High Availability for …...Zero Downtime Migrations & High Availability for your Oracle databases Ales Zeman • Definitions • Case study - Migration

Jul 08, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Zero Downtime Migrations & High Availability for …...Zero Downtime Migrations & High Availability for your Oracle databases Ales Zeman • Definitions • Case study - Migration

Zero Downtime Migrations &High Availability for your Oracle databasesAles Zeman

Page 2: Zero Downtime Migrations & High Availability for …...Zero Downtime Migrations & High Availability for your Oracle databases Ales Zeman • Definitions • Case study - Migration

• Definitions• Case study - Migration• Case study - High Availability• How does SharePlex work?

Agenda

Page 3: Zero Downtime Migrations & High Availability for …...Zero Downtime Migrations & High Availability for your Oracle databases Ales Zeman • Definitions • Case study - Migration

• Physical replication• Physically identical databases (e.g. Oracle DataGuard)• Good for Standby Systems but very inflexible

• Logical replication• Independent databases with synchronized data• Very flexible but more complex

• SharePlex is about asynchronous logical replication.

What kinds or replication are there?

Page 4: Zero Downtime Migrations & High Availability for …...Zero Downtime Migrations & High Availability for your Oracle databases Ales Zeman • Definitions • Case study - Migration

Use Case - Migration

Page 5: Zero Downtime Migrations & High Availability for …...Zero Downtime Migrations & High Availability for your Oracle databases Ales Zeman • Definitions • Case study - Migration

How many DBAsdoes it take to change

a light bulb?

None. It’s a hardware

issue.

Page 6: Zero Downtime Migrations & High Availability for …...Zero Downtime Migrations & High Availability for your Oracle databases Ales Zeman • Definitions • Case study - Migration

• Vehicle Description Module• Ten year old database• Contains all vehicle data

• From the conveyor belt to the junkyard• Used worldwide around the clock

• 5000 car dealers and garages• 4000 employees

• Challenges• System reached its capacity limits

• Migration was inevitable (out of Oracle support)• Database size: 12 TB

• Duration optimized conventional exp/imp: 5 days

Automotive Group – Migration FBM Database

Page 7: Zero Downtime Migrations & High Availability for …...Zero Downtime Migrations & High Availability for your Oracle databases Ales Zeman • Definitions • Case study - Migration

• Solution SharePlex• Database size does not have impact on downtime

• Downtime only during application switch• Done by Herrmann & Lenz Services GmbH

• Certified Quest Software Partner

• Advantages• Minimal downtime for the application

• Four hours window• Fallback possible at any time

• Without big downtime or data loss• New, faster hardware• Change to Unicode character set during migration.

Automotive Group – Migration FBM Database

Page 8: Zero Downtime Migrations & High Availability for …...Zero Downtime Migrations & High Availability for your Oracle databases Ales Zeman • Definitions • Case study - Migration

Production

Copy ofOld-DB

New-DB

Old-DB

Initialization(Hot Backup)

Old

New Before the switch

Upgrade or

Restructuring

SharePlex

Stopped post

Process: Migration without risk

Page 9: Zero Downtime Migrations & High Availability for …...Zero Downtime Migrations & High Availability for your Oracle databases Ales Zeman • Definitions • Case study - Migration

Process: Migration without risk

Production

New-DB

Old-DBOld

New After the switch

SharePlex Fallbackpossible at any time

Page 10: Zero Downtime Migrations & High Availability for …...Zero Downtime Migrations & High Availability for your Oracle databases Ales Zeman • Definitions • Case study - Migration

Zero Downtime Migration Setup

Shareplex

Shareplex

Page 11: Zero Downtime Migrations & High Availability for …...Zero Downtime Migrations & High Availability for your Oracle databases Ales Zeman • Definitions • Case study - Migration

Migration from on Premises to AWS RDS

Page 12: Zero Downtime Migrations & High Availability for …...Zero Downtime Migrations & High Availability for your Oracle databases Ales Zeman • Definitions • Case study - Migration
Page 13: Zero Downtime Migrations & High Availability for …...Zero Downtime Migrations & High Availability for your Oracle databases Ales Zeman • Definitions • Case study - Migration

Use Case - High Availability

Page 14: Zero Downtime Migrations & High Availability for …...Zero Downtime Migrations & High Availability for your Oracle databases Ales Zeman • Definitions • Case study - Migration

How many certified Oracle DBAs does it take to change a light bulb?

No one knows. This wasn’t on the

test.

Page 15: Zero Downtime Migrations & High Availability for …...Zero Downtime Migrations & High Availability for your Oracle databases Ales Zeman • Definitions • Case study - Migration

• Global billing application• Complex billing system for Online Advertisement

• High available layout• Redundant datacenters in Munich and Gütersloh

• Worldwide 24/7 usage• Ad-hoc Reports available during production time

• Challenges• Tough SLAs for availability• Huge transaction load• Very intrusive billing reports at the end of each month• Multi-master – conflicts may occur

Financial Services – Global Billing

Page 16: Zero Downtime Migrations & High Availability for …...Zero Downtime Migrations & High Availability for your Oracle databases Ales Zeman • Definitions • Case study - Migration

• Solution SharePlex• Replication between the sites

• Additional high availability with dataguard on the sites• Automatic conflict resolution routines• Done by customer DBAs

• Trained and certified in SharePlex

• Advantages• 3 second latency SLA between Munich and Gütersloh• Low bandwidth overhead• Dedicated reporting database – no load on production + additional

indexes for reporting• Switch between datacenters possible anytime

Financial Services – Global Billing

Page 17: Zero Downtime Migrations & High Availability for …...Zero Downtime Migrations & High Availability for your Oracle databases Ales Zeman • Definitions • Case study - Migration

SharePlex

SharePlex

High availability and load balancing

Prod 1 Prod 2

Prodor

Hot StbyProd

Initialization

Page 18: Zero Downtime Migrations & High Availability for …...Zero Downtime Migrations & High Availability for your Oracle databases Ales Zeman • Definitions • Case study - Migration

Redo/Archive logs

Capture/Read

Capture/Read

Capture/Read

Export

Export

Export

Import

Import

Import

Import

Post

Post

Post

Post

Redo/Archive logs

Redo/Archive logs

Conf

A

Conf

B1

Conf

B16

Z L1

…L16

Page 19: Zero Downtime Migrations & High Availability for …...Zero Downtime Migrations & High Availability for your Oracle databases Ales Zeman • Definitions • Case study - Migration

How does SharePlex work?

Page 20: Zero Downtime Migrations & High Availability for …...Zero Downtime Migrations & High Availability for your Oracle databases Ales Zeman • Definitions • Case study - Migration

How many Oracle Support Engineers

does it take to change a light bulb?

The Knowledge Base says it’s not an issue

with the bulb. Simply re-boot the power plant and

the light will work fine.

Page 21: Zero Downtime Migrations & High Availability for …...Zero Downtime Migrations & High Availability for your Oracle databases Ales Zeman • Definitions • Case study - Migration

How does SharePlex work?

Page 22: Zero Downtime Migrations & High Availability for …...Zero Downtime Migrations & High Availability for your Oracle databases Ales Zeman • Definitions • Case study - Migration

What can you do with SharePlex?

Page 23: Zero Downtime Migrations & High Availability for …...Zero Downtime Migrations & High Availability for your Oracle databases Ales Zeman • Definitions • Case study - Migration

What Questionsdo you have?