Вы находитесь на странице: 1из 40

1

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

Oracle Database 12c


Extreme Availability
Geovanni Vega Velasquez
Database Brand Manager Mexico

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

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

Oracle 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
4

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

Other HA Enhancements
GoldenGate Update

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

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

Solving Application Development Pains


New in Oracle Database 12c

Transaction Guard

Application Continuity

A reliable protocol and API


that returns the outcome of
the last transaction

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

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

Application Continuity
Masks Unplanned/Planned Outages
Replays in-flight work on
recoverable errors
End User
WebLogic
Servers

Transaction Replayed

Database
Servers

Masks many hardware, software,


network, storage errors and outages
when successful
Improves end-user experience and
productivity without requiring
custom app development

WebLogic Server 12c takes full


advantage of the feature via simple
configuration
10

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

Other HA Enhancements
GoldenGate Update

13

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

14

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
15

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

16

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

17

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

Global Data Services


WebLogic Server Example
WebLogic Server applications connect to
WebLogic
Applications
North America
Eur.
Service
N.A.
Service

18

WebLogic
Applications
Europe

Eur.
Service

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

Global Data Services using Active GridLink


for RAC
Data service migrated because of failure or
database management action
WebLogic Server transparently reconnects
to migrated data service
Applications seamlessly leverage Global
Data Services for load balancing and
availability

Oracle Database 12c


High Availability Key New Features
Application Continuity
Global Data Services
Data Guard Enhancements
RMAN Enhancements
Flex ASM

Other HA Enhancements
GoldenGate Update

24

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

25

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

Data Guard Async Today


Some Data Loss Exposure Upon Disaster
ASYNC

Primary

26

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

Standby

Active Data Guard Far Sync


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
27

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

Active Data Guard Far Sync


Operational Flow
Standby

Primary
SYNC
ASYNC

Far Sync
Instance

28

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!
29

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!

30

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

Other HA Enhancements
GoldenGate Update

34

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

35

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

Demonstration: RMAN Table Recovery

RMAN Table Recovery

http://www.oracle.com/technetwork/database/features/availability/demonstrations-092317.html
36

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

Pluggable Database 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

38

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

Other HA Enhancements
GoldenGate Update

40

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

41

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
Node2
Node4
ASM Cluster Pool of Storage

Shared Disk
Groups

Disk Group A

Wide File Striping

42

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

43

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

Disk Group B

ASM Disk

Oracle Database 12c


High Availability Key New Features
Application Continuity
Global Data Services
Data Guard Enhancements
RMAN Enhancements
Flex ASM

Other HA Enhancements
GoldenGate Update

44

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

Other HA Enhancements
Online Datafile Move
Relocate a datafile while users are actively
accessing data: ALTER DATABASE MOVE
DATAFILE

Improved sync_interim_table performance

Maintains data availability during storage


migration

Improved resilience of finish_redef_table

Separation of Duties

45

Online Redefinition Enhancements


Ability to redefine table with VPD policies

Better handling of multi-partition redefinition

Additional Online Operations

SYSDG / SYSBACKUP: Data Guard & RMAN


specific administrative privileges

Drop index online / Alter index unusable online / Alter


index visible / invisible online

No access to user data: enforce security


standards throughout the enterprise

Drop constraint online / Set unused column online

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

Online move partition: ALTER TABLE MOVE


PARTITION ONLINE

Oracle Database 12c


High Availability Key New Features
Application Continuity
Global Data Services
Data Guard Enhancements
RMAN Enhancements
Flex ASM

Other HA Enhancements
GoldenGate Update

46

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

Oracle GoldenGate 12c*


Low-Impact, Real-Time Data Integration & Transactional Replication
New DB/
HW/OS/APP

Oracle Database12c *

Log-based
Changed Data

Data Integrator

Message Bus
*: GoldenGate 12c for Oracle Database 12c will be available in CY2013
Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Active-Active High Availability

Exact Copy
of Primary

Disaster Recovery for


Non-Oracle Databases

Data
Warehouse
ODS

47

Fully Active
Distributed
DB

Reporting
Database

Oracle & Non-Oracle


Database(s)

Zero Downtime Upgrade


& Migration

Query & Report Offloading


Real-time BI, Operational
Reporting, MDM

Global
Data
Centers

Data Synchronization within the


Enterprise

Message
Bus

Event Driven Architecture, SOA

GoldenGate Zero Downtime Migration/Upgrade


Seamless Migration and Upgrades to Oracle Database 12c*
Consolidate/migrate/
maintain systems without
downtime

Switchover

Oracle Database 12c

Minimize risk with


failback option
Validate data before
switchover

Use Active-Active
replication for phased
user migration

Compare &
Verify using
Oracle GoldenGate
Veridata
Real-Time
Replication
For Migrations

NnNonOracle
Oracle
ERP
ERP

*: GoldenGate 12c for Oracle Database 12c will be available in CY2013


48

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

Optional
Failback
Data Flow
Oracle
10.2
CRM

Oracle
11.2
DW

Oracle GoldenGate for Active-Active Databases


Increase ROI on Existing Servers & Synchronize Data
Utilize secondary
systems for transactions

Oracle Database 12c

Enable continuous
availability during
unplanned & planned
outages
Synchronize data across
global data centers
Use intelligent conflict
detection & resolution

Heterogeneous Bi-Directional
Real-Time Replication
NonOracle
App

*: GoldenGate 12c for Oracle Database 12c will be available in CY2013


49

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

Oracle
10.2
App2

Oracle
11.2
App3

Oracle Database 12c


Extreme Availability: Summary
Oracle Database 12c offers a tremendously sophisticated

set of high availability (HA) capabilities


These capabilities
Further reduce downtime
Significantly improve productivity
Eliminate traditional compromises

Visit http://www.oracle.com/goto/availability

for further information

50

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

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 ORACLES PRODUCTS
REMAINS AT THE SOLE DISCRETION OF ORACLE.

51

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

52

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

53

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

Вам также может понравиться