SlideShare una empresa de Scribd logo
1 de 35
Descargar para leer sin conexión
Maximize Availability With
Oracle Database 12c
Jean-Philippe Breysse
Oracle Suisse

1

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Oracle Database 12c
Extreme Availability
 Oracle Database 12c introduces significant new (HA) capabilities that
– Drastically cut down planned and unplanned downtime
– Eliminate compromises between HA and Performance
– Tremendously boost operational productivity

 These take Availability to unprecedented new levels
– Next-generation Maximum Availability Architecture (MAA)

– Optimized for Oracle

2

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Maximum Availability Architecture
Production Site

Application Continuity
– Application HA

RAC
– Scalability
– Server HA

Global Data Services
– Service Failover / Load Balancing

Flashback
– Human error
correction

Edition-based Redefinition,
Online Redefinition, Data Guard, GoldenGate
– Minimal downtime maintenance, upgrades, migrations
3

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Active Replica
Active Data Guard
– Data Protection, DR
– Query Offload

GoldenGate
– Active-active
– Heterogeneous

RMAN, Oracle Secure Backup
– Backup to tape / cloud
Oracle Database 12c
High Availability Key New Features
 Application Continuity
 Global Data Services
 Data Guard Enhancements

 RMAN Enhancements
 Flex ASM

4

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
In-Flight Work: Dealing With Outages
Current Situation
 Database outages can cause inEnd User
Application
Servers

flight work to be lost, leaving
users and applications in-doubt
 Often leads to
 User pains

Database
Servers

 Duplicate submissions
 Rebooting mid-tiers
 Developer pains

5

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Solving Application Development Pains
New in Oracle Database 12c

Transaction Guard

A reliable protocol and API
that returns the outcome of
the last transaction

6

Application Continuity

Safely attempts to replay inflight work following outages
and planned operations

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Transaction Guard
Preserve and Retrieve COMMIT Outcome
 API that supports known commit
outcome for every transaction
End User
Application
Servers

Database
Servers

 Without Transaction Guard, upon
failures – transaction retry can
cause logical corruption
 With Transaction Guard,
applications can deal gracefully
with error situations, vastly
improving end-user experience
 Used transparently by
Application Continuity

7

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Application Continuity
Masks Unplanned/Planned Outages

End User

 Replays in-flight work on
recoverable errors

Application
Servers

Transaction Replayed

8

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

 Masks many hardware, software,
network, storage errors and outages
when successful

Database
Servers

 Improves end-user experience and
productivity without requiring
custom app development
Oracle Database 12c
High Availability Key New Features
 Application Continuity
 Global Data Services
 Data Guard Enhancements

 RMAN Enhancements
 Flex ASM

9

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Databases in Replicated Environments
Challenges
 No seamless way to efficiently

use all the databases
Primary

Active Standby
Active Standby
GoldenGate

10

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

 No automated load balancing

and fault tolerance
Global Data Services
Load Balancing and Service Failover for Replicated Databases
• Extends RAC-style service failover, load

Global Data Services

balancing (within and across data
centers), and management capabilities to
a set of replicated databases
• Takes into account network latency,

replication lag, and service placement
policies
• Achieve higher availability, improved

manageability and maximize
performance
11

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Global Data Services
Active Data Guard Example
 Reporting client routed to ‘best’ database
Reporting Service

– Based on location, response time, data, acceptable

data lag
– Reports will automatically run on least loaded server

Call Center Service

 Reporting client failover
– If preferred database not available, will route to

Active Data Guard

another database in same region or a remote
database

 Global service migration
– Automatically migrates services based on

failover/switchover - if primary database is down, start
Call Center service on the new primary

12

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Global Data Services
GoldenGate Example
 Call Center Client connections and
Call Center Service

requests transparently routed to the
closest / best database
– Runtime load balancing metrics give client real-time

information on which database to issue next request
GoldenGate

 If a database fails, its global services

restarted on another replica

13

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Global Data Services
Use Case: Active Data Guard without GDS
Critical E-Commerce App accessing
Active Data Guard Standby
Order Capture

Order History View

What happens when
Active Standby is down?
Order Capture

Order History View

?
History
Service

Orders
Service

Data Guard

Data Guard

Primary

14

History
Service

Orders
Service

Active Standby

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Primary

Active Standby
Global Data Services
Use Case: Active Data Guard with GDS: All HA
Order
Capture

When Active Standby is down …

GDS fails over History Service
to primary, redirects
connection through FAN/FCF

Order History
View

Global Data Services

Orders
Service

History
Service

History
Service

Data Guard

Primary

15

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Active Standby
Global Data Services: Concepts
 GDS Region: Group of databases and clients in close network proximity, e.g., East, West
 GDS Pool: Databases that offer a common set of global services, e.g., HR, Sales
 Global Service: Database Service provided by multiple databases with replicated data
– Local service + {region affinity, replication lag, database cardinality}

 Global Service Manager (GSM): Provides main GDS functionality: service management

and load balancing
– Clients connect to GSM instead of database listener
– At least one GSM per region or multiple GSMs for High Availability
– All databases/services register to all GSM Listeners

 GDS Catalog: stores all metadata, enables centralized global monitoring & management
– Global service configuration stored in GDS Catalog

 GDSCTL: Command-line Interface to administer GDS

16

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Global Data Services: Summary
Globally Replicated, High Availability Architecture
Data Center #1
APAC

Data Center #2
EMEA
SALES POOL (sales_reporting_srvc, sales_entry_srvc)
Active
Data
Guard

Active
Data Guard

Local
Standby

Primary

Active
Data
Guard

Remote
Standby

Reader Farm

All GDS client databases connected to all GSMs

Global Service
Managers

HR POOL(hr_apac_srvc, hr_emea_srvc)

Oracle
GoldenGate

Active
Data
Guard
Local
Standby

17

Master
Master

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

– Based on location, load,
and availability

• Provides global availability
– Supports automatic
service failover

GDS Catalog
Standby

GDS Catalog
Primary

GDSCTL

Global Service
Managers

• GDS Framework
dynamically balances user
requests across multiple
replicated sites

Active
Data Guard

Local
Standby

• GDS integrates disparate
databases into a unified
data cloud
GSM - Global Service Manager
Oracle Database 12c
High Availability Key New Features
 Application Continuity
 Global Data Services
 Data Guard Enhancements

 RMAN Enhancements
 Flex ASM

18

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Zero Data Loss Challenge
Synchronous Communication Leads To Performance Trade-Offs

Commit Ack

Network Ack

Network Send

Commit

Primary

Standby

The longer the distance, the larger the performance impact

19

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Data Guard Async – Today
Some Data Loss Exposure Upon Disaster
ASYNC

Primary

20

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Standby
Active Data Guard Far Sync – New in 12.1
Zero Data Loss For Async Deployments
 Far Sync: light-weight Oracle instance: standby control file, standby

redo logs, archived redo logs, no data files
 Receives redo synchronously from primary, forwards redo

asynchronously in real-time to standby
 Upon Failover: Async standby transparently obtains last committed

redo from Far Sync and applies: zero data loss failover
 Second Far Sync Instance can be pre-configured to transmit in

reverse direction after failover/switchover
 Terminal standbys required to be Active Data Guard Standbys

21

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Active Data Guard Far Sync
Operational Flow
Standby

Primary
SYNC
ASYNC

Far Sync
Instance

22

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Active Data Guard Far Sync
Operational Flow (contd.)
Zero Data Loss

Primary

Standby

SYNC
ASYNC

Far Sync
Instance
No Compromise Between Availability and Performance!
23

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Active Data Guard Far Sync
Benefits
 Best data protection, least performance impact

 Low cost and complexity
 Best way to implement a near DR + Far DR model
 Relevant to existing Data Guard ASYNC configurations
 Data Guard Failover? No Problem! Just do it – No Data Loss!

24

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Data Guard Fast Sync
Reduced Primary Database Impact for Maximum Availability
Primary

Standby
LGWR

RFS

NSS

Commit
Commit
Acknowledge

Redo
Logs

Standby
Redo
Logs

 For SYNC transport: remote site
acknowledges received redo before
writing it to standby redo logs

 Reduces latency of commit on primary
 Better DR – increased SYNC distance

Acknowledge
returned on receipt

Primary

Standby
LGWR

NSS

RFS

Commit
Commit
Acknowledge

25

Redo
Logs

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Standby
Redo
Logs

 If network round-trip latency less than
time for local online redo log write,
synchronous transport will not impact
primary database performance
Oracle Database 12c
High Availability Key New Features
 Application Continuity
 Global Data Services
 Data Guard Enhancements

 RMAN Enhancements
 Flex ASM

26

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Fine-grained Table Recovery From Backup
 Simple RECOVER TABLE command to

recover one or more tables (most
recent or older version) from an RMAN
backup
101
01 010
1 1 101001
1 011011110
0 0 1 0 1 00 0 0
1001101
1010
01
RMAN
Backups

27

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

 Eliminates time and complexity

associated with manual restore, recover
& export
– Enables fine-grained point-in-time

recovery of individual tables instead of
the contents of the entire tablespace
Cross-Platform Backup & Restore
Simplified Platform Migration
Source Database (AIX)

1 1 101
1 0110111101
00 1010000 1
1001

101 1 1
1011110110 1
1 0000101 00
1001

Backup
to Disk/Tape
(data files, optional
endian conversion,
metadata export)

Destination Database (Solaris)

Restore Backup
(optional endian
conversion,
metadata import)

 Simplifies procedure for platform migration
 Minimize read-only impact with multiple incremental backups
28

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Oracle Multitenant Backup & Restore
Fine-Grained Backup & Recovery to Support Consolidation
 Backup and recover specific pluggable databases with new PLUGGABLE DATABASE keywords:

RMAN> BACKUP PLUGGABLE DATABASE <PDB1>, <PDB2>;
 Familiar BACKUP DATABASE command backs up CDB, including all PDBs
 PDB Complete Recovery
–

RESTORE PLUGGABLE DATABASE <PDB>;

–

RECOVER PLUGGABLE DATABASE <PDB>;

 PDB Point-in-Time Recovery
–

RMAN> RUN {

–

SET UNTIL TIME 'SYSDATE-3';

–

RESTORE PLUGGABLE DATABASE <PDB>;

–

RECOVER PLUGGABLE DATABASE <PDB>;

–

ALTER PLUGGABLE DATABASE <PDB> OPEN RESETLOGS; }

 Familiar RECOVER DATABASE command recovers CDB, including all PDBs

29

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Oracle Database 12c
High Availability Key New Features
 Application Continuity
 Global Data Services
 Data Guard Enhancements

 RMAN Enhancements
 Flex ASM

30

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Automatic Storage Management (ASM) Overview
Current State
RAC Cluster
Database Instance

One to One
Mapping of ASM
Instances to
Servers

DBA

DBA

ASM Instance

DBB

DBB

DBB

DBC

ASM Instance

Node1

ASM

Node2

ASM

Node3

ASM

Node4

ASM

Node5

ASM

ASM Cluster Pool of Storage

Shared Disk
Groups

Disk Group A

Wide File Striping

31

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Disk Group B

ASM Disk
Flex ASM: Eliminate 1:1 Server Mapping
New: ASM Storage Consolidation in Oracle Database 12c
RAC Cluster
Database Instance

Databases share
ASM instances

DBA

DBA

ASM Instance

DBB

DBB

DBB

DBC

ASM Instance

Node1

Node2

ASM

Node3

ASM

Node4

Node2
Node1
runs as
runs as
ASM
ASM
Client to
Client to
Node3
Node4
Node2
ASM Cluster Pool of Storage

Shared Disk
Groups

Disk Group A

Wide File Striping

32

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

ASM

Node5
Node5
runs as
ASM
Client to
Node4

Disk Group B

ASM Disk
Flex ASM: Supporting Oracle Database 11g
Previous Database Versions Will Host Local ASM Instance
RAC Cluster
Database Instance

Databases share
ASM instances

DBA

ASM Instance

Node1

11.2
DB
ASM

DBA
Node2

DBB
ASM

DBB
Node3

ASM

DBB
Node4

ASM

11.2
DBC
DB
Node5

ASM

ASM Cluster Pool of Storage

Shared Disk
Groups

Disk Group A

Wide File Striping

33

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Disk Group B

ASM Disk
Safe Harbor Statement
THE PRECEDING IS INTENDED TO OUTLINE OUR GENERAL
PRODUCT DIRECTION. IT IS INTENDED FOR INFORMATION
PURPOSES ONLY, AND MAY NOT BE INCORPORATED INTO ANY
CONTRACT. IT IS NOT A COMMITMENT TO DELIVER ANY
MATERIAL, CODE, OR FUNCTIONALITY, AND SHOULD NOT BE
RELIED UPON IN MAKING PURCHASING DECISIONS. THE
DEVELOPMENT, RELEASE, AND TIMING OF ANY FEATURES OR
FUNCTIONALITY DESCRIBED FOR ORACLE’S PRODUCTS
REMAINS AT THE SOLE DISCRETION OF ORACLE.

34

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
35

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

Oracle RAC 19c - the Basis for the Autonomous Database
Oracle RAC 19c - the Basis for the Autonomous DatabaseOracle RAC 19c - the Basis for the Autonomous Database
Oracle RAC 19c - the Basis for the Autonomous Database
 
Oracle Active Data Guard: Best Practices and New Features Deep Dive
Oracle Active Data Guard: Best Practices and New Features Deep Dive Oracle Active Data Guard: Best Practices and New Features Deep Dive
Oracle Active Data Guard: Best Practices and New Features Deep Dive
 
LAD - GroundBreakers - Jul 2019 - Using Oracle Autonomous Health Framework to...
LAD - GroundBreakers - Jul 2019 - Using Oracle Autonomous Health Framework to...LAD - GroundBreakers - Jul 2019 - Using Oracle Autonomous Health Framework to...
LAD - GroundBreakers - Jul 2019 - Using Oracle Autonomous Health Framework to...
 
Database Upgrades Automation using Enterprise Manager 12c
Database Upgrades Automation using Enterprise Manager 12cDatabase Upgrades Automation using Enterprise Manager 12c
Database Upgrades Automation using Enterprise Manager 12c
 
Standard Edition High Availability (SEHA) - The Why, What & How
Standard Edition High Availability (SEHA) - The Why, What & HowStandard Edition High Availability (SEHA) - The Why, What & How
Standard Edition High Availability (SEHA) - The Why, What & How
 
Oracle Autonomous Health Service- For Protecting Your On-Premise Databases- F...
Oracle Autonomous Health Service- For Protecting Your On-Premise Databases- F...Oracle Autonomous Health Service- For Protecting Your On-Premise Databases- F...
Oracle Autonomous Health Service- For Protecting Your On-Premise Databases- F...
 
Best Practices for the Most Impactful Oracle Database 18c and 19c Features
Best Practices for the Most Impactful Oracle Database 18c and 19c FeaturesBest Practices for the Most Impactful Oracle Database 18c and 19c Features
Best Practices for the Most Impactful Oracle Database 18c and 19c Features
 
Oracle GoldenGate
Oracle GoldenGate Oracle GoldenGate
Oracle GoldenGate
 
New availability features in oracle rac 12c release 2 anair ss
New availability features in oracle rac 12c release 2 anair   ssNew availability features in oracle rac 12c release 2 anair   ss
New availability features in oracle rac 12c release 2 anair ss
 
Oracle Cloud – Application Performance Monitoring
Oracle Cloud – Application Performance MonitoringOracle Cloud – Application Performance Monitoring
Oracle Cloud – Application Performance Monitoring
 
Oracle Multitenant meets Oracle RAC 12c OOW13 [CON8706]
Oracle Multitenant meets Oracle RAC 12c OOW13 [CON8706]Oracle Multitenant meets Oracle RAC 12c OOW13 [CON8706]
Oracle Multitenant meets Oracle RAC 12c OOW13 [CON8706]
 
Oracle Database – Mission Critical
Oracle Database – Mission CriticalOracle Database – Mission Critical
Oracle Database – Mission Critical
 
01 Ronald Vargas Verdades ciertas, mitos y falacias sobre oracle database 19c
01 Ronald Vargas Verdades ciertas, mitos y falacias sobre oracle database 19c01 Ronald Vargas Verdades ciertas, mitos y falacias sobre oracle database 19c
01 Ronald Vargas Verdades ciertas, mitos y falacias sobre oracle database 19c
 
Oracle Database 19c - poslední z rodiny 12.2 a co přináší nového
Oracle Database 19c - poslední z rodiny 12.2 a co přináší novéhoOracle Database 19c - poslední z rodiny 12.2 a co přináší nového
Oracle Database 19c - poslední z rodiny 12.2 a co přináší nového
 
TechEvent 2019: Create a Private Database Cloud in the Public Cloud using the...
TechEvent 2019: Create a Private Database Cloud in the Public Cloud using the...TechEvent 2019: Create a Private Database Cloud in the Public Cloud using the...
TechEvent 2019: Create a Private Database Cloud in the Public Cloud using the...
 
Performance Stability, Tips and Tricks and Underscores
Performance Stability, Tips and Tricks and UnderscoresPerformance Stability, Tips and Tricks and Underscores
Performance Stability, Tips and Tricks and Underscores
 
HA, Scalability, DR & MAA in Oracle Database 21c - Overview
HA, Scalability, DR & MAA in Oracle Database 21c - OverviewHA, Scalability, DR & MAA in Oracle Database 21c - Overview
HA, Scalability, DR & MAA in Oracle Database 21c - Overview
 
AutoUpgrade and Best Practices
AutoUpgrade and Best PracticesAutoUpgrade and Best Practices
AutoUpgrade and Best Practices
 
Oracle Sharding 18c - Technical Overview
Oracle Sharding 18c - Technical OverviewOracle Sharding 18c - Technical Overview
Oracle Sharding 18c - Technical Overview
 
Aioug ha day oct2015 goldengate- High Availability Day 2015
Aioug ha day oct2015 goldengate- High Availability Day 2015Aioug ha day oct2015 goldengate- High Availability Day 2015
Aioug ha day oct2015 goldengate- High Availability Day 2015
 

Similar a Maximize Availability With Oracle Database 12c

C4 delivering database as a service within your organization
C4   delivering database as a service within your organizationC4   delivering database as a service within your organization
C4 delivering database as a service within your organization
Dr. Wilfred Lin (Ph.D.)
 
B7 accelerating your business with oracle data integration solutions
B7   accelerating your business with oracle data integration solutionsB7   accelerating your business with oracle data integration solutions
B7 accelerating your business with oracle data integration solutions
Dr. Wilfred Lin (Ph.D.)
 
Oracle presentations RAC dataguard active database
Oracle presentations RAC dataguard active databaseOracle presentations RAC dataguard active database
Oracle presentations RAC dataguard active database
mabessisindu
 

Similar a Maximize Availability With Oracle Database 12c (20)

Oracle database 12c new features
Oracle database 12c new featuresOracle database 12c new features
Oracle database 12c new features
 
C4 delivering database as a service within your organization
C4   delivering database as a service within your organizationC4   delivering database as a service within your organization
C4 delivering database as a service within your organization
 
High Availability And Oracle Data Guard 11g R2
High Availability And Oracle Data Guard 11g R2High Availability And Oracle Data Guard 11g R2
High Availability And Oracle Data Guard 11g R2
 
Oracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for ConsolidationOracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for Consolidation
 
Bilbao oracle12c keynote
Bilbao  oracle12c keynoteBilbao  oracle12c keynote
Bilbao oracle12c keynote
 
B7 accelerating your business with oracle data integration solutions
B7   accelerating your business with oracle data integration solutionsB7   accelerating your business with oracle data integration solutions
B7 accelerating your business with oracle data integration solutions
 
Greenplum feature
Greenplum featureGreenplum feature
Greenplum feature
 
Exadata x4 for_sap
Exadata x4 for_sapExadata x4 for_sap
Exadata x4 for_sap
 
Data Guard25 August
Data Guard25 AugustData Guard25 August
Data Guard25 August
 
Maximum Availability Architecture - Best Practices for Oracle Database 19c
Maximum Availability Architecture - Best Practices for Oracle Database 19cMaximum Availability Architecture - Best Practices for Oracle Database 19c
Maximum Availability Architecture - Best Practices for Oracle Database 19c
 
Disaster Recovery pomocí Oracle Cloudu
Disaster Recovery pomocí Oracle ClouduDisaster Recovery pomocí Oracle Cloudu
Disaster Recovery pomocí Oracle Cloudu
 
Tendencias Storage
Tendencias StorageTendencias Storage
Tendencias Storage
 
Multi-Tenancy: Da Teoria à Prática, do DB ao Middleware
Multi-Tenancy: Da Teoria à Prática, do DB ao MiddlewareMulti-Tenancy: Da Teoria à Prática, do DB ao Middleware
Multi-Tenancy: Da Teoria à Prática, do DB ao Middleware
 
dgintro (1).ppt
dgintro (1).pptdgintro (1).ppt
dgintro (1).ppt
 
Oracle presentations RAC dataguard active database
Oracle presentations RAC dataguard active databaseOracle presentations RAC dataguard active database
Oracle presentations RAC dataguard active database
 
8392-exadatamaa-1887964.pptx
8392-exadatamaa-1887964.pptx8392-exadatamaa-1887964.pptx
8392-exadatamaa-1887964.pptx
 
Oracle MAA Best Practices - Applications Considerations
Oracle MAA Best Practices - Applications ConsiderationsOracle MAA Best Practices - Applications Considerations
Oracle MAA Best Practices - Applications Considerations
 
con8832-cloudha-2811114.pdf
con8832-cloudha-2811114.pdfcon8832-cloudha-2811114.pdf
con8832-cloudha-2811114.pdf
 
Optimize Data Connectivity in .NET Applications
Optimize Data Connectivity in .NET ApplicationsOptimize Data Connectivity in .NET Applications
Optimize Data Connectivity in .NET Applications
 
Greenplum Architecture
Greenplum ArchitectureGreenplum Architecture
Greenplum Architecture
 

Más de Digicomp Academy Suisse Romande SA

Digicomp Citrix Day 2015 : Keynote
Digicomp Citrix Day 2015 : KeynoteDigicomp Citrix Day 2015 : Keynote
Digicomp Citrix Day 2015 : Keynote
Digicomp Academy Suisse Romande SA
 

Más de Digicomp Academy Suisse Romande SA (20)

Innovation et gestion de projet
Innovation et gestion de projetInnovation et gestion de projet
Innovation et gestion de projet
 
VMware vSphere 6 & Horizon View 6.1 – What's New ?
VMware vSphere 6 & Horizon View 6.1 – What's New ?VMware vSphere 6 & Horizon View 6.1 – What's New ?
VMware vSphere 6 & Horizon View 6.1 – What's New ?
 
What's new in Windows 10 ?
What's new in Windows 10 ?What's new in Windows 10 ?
What's new in Windows 10 ?
 
Customer Case : Citrix et Nutanix
Customer Case : Citrix et NutanixCustomer Case : Citrix et Nutanix
Customer Case : Citrix et Nutanix
 
Citrix Day 2015 Net Scaler Release 10.5 Update v10
Citrix Day 2015 Net Scaler Release 10.5 Update v10Citrix Day 2015 Net Scaler Release 10.5 Update v10
Citrix Day 2015 Net Scaler Release 10.5 Update v10
 
Citrix Day 2015 Cloud Bridge 7.3 and WSA v10
Citrix Day 2015 Cloud Bridge 7.3 and WSA v10Citrix Day 2015 Cloud Bridge 7.3 and WSA v10
Citrix Day 2015 Cloud Bridge 7.3 and WSA v10
 
Google Analytics pour l'innovation entrepreneuriale
Google Analytics pour l'innovation entrepreneurialeGoogle Analytics pour l'innovation entrepreneuriale
Google Analytics pour l'innovation entrepreneuriale
 
L'impression 3D et ses nouvelles perspectives métiers
L'impression 3D et ses nouvelles perspectives métiersL'impression 3D et ses nouvelles perspectives métiers
L'impression 3D et ses nouvelles perspectives métiers
 
Digicomp Citrix Day 2015 : Upate
Digicomp Citrix Day 2015 : UpateDigicomp Citrix Day 2015 : Upate
Digicomp Citrix Day 2015 : Upate
 
Digicomp Citrix Day 2015 : Mobility
Digicomp Citrix Day 2015 : MobilityDigicomp Citrix Day 2015 : Mobility
Digicomp Citrix Day 2015 : Mobility
 
Digicomp citrix day 2015 : Introduction
Digicomp citrix day 2015 : IntroductionDigicomp citrix day 2015 : Introduction
Digicomp citrix day 2015 : Introduction
 
Digicomp Citrix Day 2015 : Keynote
Digicomp Citrix Day 2015 : KeynoteDigicomp Citrix Day 2015 : Keynote
Digicomp Citrix Day 2015 : Keynote
 
MS Project VS ProjectLibre
MS Project VS ProjectLibreMS Project VS ProjectLibre
MS Project VS ProjectLibre
 
Heat Map and Automatic Data Optimization with Oracle Database 12c
Heat Map and Automatic Data Optimization with Oracle Database 12cHeat Map and Automatic Data Optimization with Oracle Database 12c
Heat Map and Automatic Data Optimization with Oracle Database 12c
 
Oracle Database 12c : Multitenant
Oracle Database 12c : MultitenantOracle Database 12c : Multitenant
Oracle Database 12c : Multitenant
 
Augmenter la satisfaction de l'utilisateur
Augmenter la satisfaction de l'utilisateurAugmenter la satisfaction de l'utilisateur
Augmenter la satisfaction de l'utilisateur
 
L'expérience utilisateur
L'expérience utilisateurL'expérience utilisateur
L'expérience utilisateur
 
Plan de continuité des activités: le vrai enjeu stratégique
Plan de continuité des activités: le vrai enjeu stratégiquePlan de continuité des activités: le vrai enjeu stratégique
Plan de continuité des activités: le vrai enjeu stratégique
 
Les nouveautés de Cobit 5
Les nouveautés de Cobit 5Les nouveautés de Cobit 5
Les nouveautés de Cobit 5
 
Introduction à Microsoft Project 2010
Introduction à Microsoft Project 2010Introduction à Microsoft Project 2010
Introduction à Microsoft Project 2010
 

Último

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Último (20)

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 

Maximize Availability With Oracle Database 12c

  • 1. Maximize Availability With Oracle Database 12c Jean-Philippe Breysse Oracle Suisse 1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 2. Oracle Database 12c Extreme Availability  Oracle Database 12c introduces significant new (HA) capabilities that – Drastically cut down planned and unplanned downtime – Eliminate compromises between HA and Performance – Tremendously boost operational productivity  These take Availability to unprecedented new levels – Next-generation Maximum Availability Architecture (MAA) – Optimized for Oracle 2 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 3. Maximum Availability Architecture Production Site Application Continuity – Application HA RAC – Scalability – Server HA Global Data Services – Service Failover / Load Balancing Flashback – Human error correction Edition-based Redefinition, Online Redefinition, Data Guard, GoldenGate – Minimal downtime maintenance, upgrades, migrations 3 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Active Replica Active Data Guard – Data Protection, DR – Query Offload GoldenGate – Active-active – Heterogeneous RMAN, Oracle Secure Backup – Backup to tape / cloud
  • 4. Oracle Database 12c High Availability Key New Features  Application Continuity  Global Data Services  Data Guard Enhancements  RMAN Enhancements  Flex ASM 4 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 5. In-Flight Work: Dealing With Outages Current Situation  Database outages can cause inEnd User Application Servers flight work to be lost, leaving users and applications in-doubt  Often leads to  User pains Database Servers  Duplicate submissions  Rebooting mid-tiers  Developer pains 5 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 6. Solving Application Development Pains New in Oracle Database 12c Transaction Guard A reliable protocol and API that returns the outcome of the last transaction 6 Application Continuity Safely attempts to replay inflight work following outages and planned operations Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 7. Transaction Guard Preserve and Retrieve COMMIT Outcome  API that supports known commit outcome for every transaction End User Application Servers Database Servers  Without Transaction Guard, upon failures – transaction retry can cause logical corruption  With Transaction Guard, applications can deal gracefully with error situations, vastly improving end-user experience  Used transparently by Application Continuity 7 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 8. Application Continuity Masks Unplanned/Planned Outages End User  Replays in-flight work on recoverable errors Application Servers Transaction Replayed 8 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.  Masks many hardware, software, network, storage errors and outages when successful Database Servers  Improves end-user experience and productivity without requiring custom app development
  • 9. Oracle Database 12c High Availability Key New Features  Application Continuity  Global Data Services  Data Guard Enhancements  RMAN Enhancements  Flex ASM 9 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 10. Databases in Replicated Environments Challenges  No seamless way to efficiently use all the databases Primary Active Standby Active Standby GoldenGate 10 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.  No automated load balancing and fault tolerance
  • 11. Global Data Services Load Balancing and Service Failover for Replicated Databases • Extends RAC-style service failover, load Global Data Services balancing (within and across data centers), and management capabilities to a set of replicated databases • Takes into account network latency, replication lag, and service placement policies • Achieve higher availability, improved manageability and maximize performance 11 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 12. Global Data Services Active Data Guard Example  Reporting client routed to ‘best’ database Reporting Service – Based on location, response time, data, acceptable data lag – Reports will automatically run on least loaded server Call Center Service  Reporting client failover – If preferred database not available, will route to Active Data Guard another database in same region or a remote database  Global service migration – Automatically migrates services based on failover/switchover - if primary database is down, start Call Center service on the new primary 12 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 13. Global Data Services GoldenGate Example  Call Center Client connections and Call Center Service requests transparently routed to the closest / best database – Runtime load balancing metrics give client real-time information on which database to issue next request GoldenGate  If a database fails, its global services restarted on another replica 13 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 14. Global Data Services Use Case: Active Data Guard without GDS Critical E-Commerce App accessing Active Data Guard Standby Order Capture Order History View What happens when Active Standby is down? Order Capture Order History View ? History Service Orders Service Data Guard Data Guard Primary 14 History Service Orders Service Active Standby Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Primary Active Standby
  • 15. Global Data Services Use Case: Active Data Guard with GDS: All HA Order Capture When Active Standby is down …  GDS fails over History Service to primary, redirects connection through FAN/FCF Order History View Global Data Services Orders Service History Service History Service Data Guard Primary 15 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Active Standby
  • 16. Global Data Services: Concepts  GDS Region: Group of databases and clients in close network proximity, e.g., East, West  GDS Pool: Databases that offer a common set of global services, e.g., HR, Sales  Global Service: Database Service provided by multiple databases with replicated data – Local service + {region affinity, replication lag, database cardinality}  Global Service Manager (GSM): Provides main GDS functionality: service management and load balancing – Clients connect to GSM instead of database listener – At least one GSM per region or multiple GSMs for High Availability – All databases/services register to all GSM Listeners  GDS Catalog: stores all metadata, enables centralized global monitoring & management – Global service configuration stored in GDS Catalog  GDSCTL: Command-line Interface to administer GDS 16 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 17. Global Data Services: Summary Globally Replicated, High Availability Architecture Data Center #1 APAC Data Center #2 EMEA SALES POOL (sales_reporting_srvc, sales_entry_srvc) Active Data Guard Active Data Guard Local Standby Primary Active Data Guard Remote Standby Reader Farm All GDS client databases connected to all GSMs Global Service Managers HR POOL(hr_apac_srvc, hr_emea_srvc) Oracle GoldenGate Active Data Guard Local Standby 17 Master Master Copyright © 2013, Oracle and/or its affiliates. All rights reserved. – Based on location, load, and availability • Provides global availability – Supports automatic service failover GDS Catalog Standby GDS Catalog Primary GDSCTL Global Service Managers • GDS Framework dynamically balances user requests across multiple replicated sites Active Data Guard Local Standby • GDS integrates disparate databases into a unified data cloud GSM - Global Service Manager
  • 18. Oracle Database 12c High Availability Key New Features  Application Continuity  Global Data Services  Data Guard Enhancements  RMAN Enhancements  Flex ASM 18 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 19. Zero Data Loss Challenge Synchronous Communication Leads To Performance Trade-Offs Commit Ack Network Ack Network Send Commit Primary Standby The longer the distance, the larger the performance impact 19 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 20. Data Guard Async – Today Some Data Loss Exposure Upon Disaster ASYNC Primary 20 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Standby
  • 21. Active Data Guard Far Sync – New in 12.1 Zero Data Loss For Async Deployments  Far Sync: light-weight Oracle instance: standby control file, standby redo logs, archived redo logs, no data files  Receives redo synchronously from primary, forwards redo asynchronously in real-time to standby  Upon Failover: Async standby transparently obtains last committed redo from Far Sync and applies: zero data loss failover  Second Far Sync Instance can be pre-configured to transmit in reverse direction after failover/switchover  Terminal standbys required to be Active Data Guard Standbys 21 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 22. Active Data Guard Far Sync Operational Flow Standby Primary SYNC ASYNC Far Sync Instance 22 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 23. Active Data Guard Far Sync Operational Flow (contd.) Zero Data Loss Primary Standby SYNC ASYNC Far Sync Instance No Compromise Between Availability and Performance! 23 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 24. Active Data Guard Far Sync Benefits  Best data protection, least performance impact  Low cost and complexity  Best way to implement a near DR + Far DR model  Relevant to existing Data Guard ASYNC configurations  Data Guard Failover? No Problem! Just do it – No Data Loss! 24 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 25. Data Guard Fast Sync Reduced Primary Database Impact for Maximum Availability Primary Standby LGWR RFS NSS Commit Commit Acknowledge Redo Logs Standby Redo Logs  For SYNC transport: remote site acknowledges received redo before writing it to standby redo logs  Reduces latency of commit on primary  Better DR – increased SYNC distance Acknowledge returned on receipt Primary Standby LGWR NSS RFS Commit Commit Acknowledge 25 Redo Logs Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Standby Redo Logs  If network round-trip latency less than time for local online redo log write, synchronous transport will not impact primary database performance
  • 26. Oracle Database 12c High Availability Key New Features  Application Continuity  Global Data Services  Data Guard Enhancements  RMAN Enhancements  Flex ASM 26 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 27. Fine-grained Table Recovery From Backup  Simple RECOVER TABLE command to recover one or more tables (most recent or older version) from an RMAN backup 101 01 010 1 1 101001 1 011011110 0 0 1 0 1 00 0 0 1001101 1010 01 RMAN Backups 27 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.  Eliminates time and complexity associated with manual restore, recover & export – Enables fine-grained point-in-time recovery of individual tables instead of the contents of the entire tablespace
  • 28. Cross-Platform Backup & Restore Simplified Platform Migration Source Database (AIX) 1 1 101 1 0110111101 00 1010000 1 1001 101 1 1 1011110110 1 1 0000101 00 1001 Backup to Disk/Tape (data files, optional endian conversion, metadata export) Destination Database (Solaris) Restore Backup (optional endian conversion, metadata import)  Simplifies procedure for platform migration  Minimize read-only impact with multiple incremental backups 28 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 29. Oracle Multitenant Backup & Restore Fine-Grained Backup & Recovery to Support Consolidation  Backup and recover specific pluggable databases with new PLUGGABLE DATABASE keywords: RMAN> BACKUP PLUGGABLE DATABASE <PDB1>, <PDB2>;  Familiar BACKUP DATABASE command backs up CDB, including all PDBs  PDB Complete Recovery – RESTORE PLUGGABLE DATABASE <PDB>; – RECOVER PLUGGABLE DATABASE <PDB>;  PDB Point-in-Time Recovery – RMAN> RUN { – SET UNTIL TIME 'SYSDATE-3'; – RESTORE PLUGGABLE DATABASE <PDB>; – RECOVER PLUGGABLE DATABASE <PDB>; – ALTER PLUGGABLE DATABASE <PDB> OPEN RESETLOGS; }  Familiar RECOVER DATABASE command recovers CDB, including all PDBs 29 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 30. Oracle Database 12c High Availability Key New Features  Application Continuity  Global Data Services  Data Guard Enhancements  RMAN Enhancements  Flex ASM 30 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 31. Automatic Storage Management (ASM) Overview Current State RAC Cluster Database Instance One to One Mapping of ASM Instances to Servers DBA DBA ASM Instance DBB DBB DBB DBC ASM Instance Node1 ASM Node2 ASM Node3 ASM Node4 ASM Node5 ASM ASM Cluster Pool of Storage Shared Disk Groups Disk Group A Wide File Striping 31 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Disk Group B ASM Disk
  • 32. Flex ASM: Eliminate 1:1 Server Mapping New: ASM Storage Consolidation in Oracle Database 12c RAC Cluster Database Instance Databases share ASM instances DBA DBA ASM Instance DBB DBB DBB DBC ASM Instance Node1 Node2 ASM Node3 ASM Node4 Node2 Node1 runs as runs as ASM ASM Client to Client to Node3 Node4 Node2 ASM Cluster Pool of Storage Shared Disk Groups Disk Group A Wide File Striping 32 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. ASM Node5 Node5 runs as ASM Client to Node4 Disk Group B ASM Disk
  • 33. Flex ASM: Supporting Oracle Database 11g Previous Database Versions Will Host Local ASM Instance RAC Cluster Database Instance Databases share ASM instances DBA ASM Instance Node1 11.2 DB ASM DBA Node2 DBB ASM DBB Node3 ASM DBB Node4 ASM 11.2 DBC DB Node5 ASM ASM Cluster Pool of Storage Shared Disk Groups Disk Group A Wide File Striping 33 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Disk Group B ASM Disk
  • 34. Safe Harbor Statement THE PRECEDING IS INTENDED TO OUTLINE OUR GENERAL PRODUCT DIRECTION. IT IS INTENDED FOR INFORMATION PURPOSES ONLY, AND MAY NOT BE INCORPORATED INTO ANY CONTRACT. IT IS NOT A COMMITMENT TO DELIVER ANY MATERIAL, CODE, OR FUNCTIONALITY, AND SHOULD NOT BE RELIED UPON IN MAKING PURCHASING DECISIONS. THE DEVELOPMENT, RELEASE, AND TIMING OF ANY FEATURES OR FUNCTIONALITY DESCRIBED FOR ORACLE’S PRODUCTS REMAINS AT THE SOLE DISCRETION OF ORACLE. 34 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 35. 35 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.