+ All Categories
Home > Documents > OracleDB HA 12cR1 Overview

OracleDB HA 12cR1 Overview

Date post: 06-Jul-2018
Category:
Upload: ocruzmtz
View: 230 times
Download: 0 times
Share this document with a friend

of 40

Transcript
  • 8/16/2019 OracleDB HA 12cR1 Overview

    1/40

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

  • 8/16/2019 OracleDB HA 12cR1 Overview

    2/40

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

    Oracle Database 12cExtreme Availability

    Geovanni Vega VelasquezDatabase Brand Manager Mexico

  • 8/16/2019 OracleDB HA 12cR1 Overview

    3/40

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

    Oracle Database 12c

    Oracle Database 12c introduces significant new HA cap

     – 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

    Extreme Availability

  • 8/16/2019 OracleDB HA 12cR1 Overview

    4/40

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

    Oracle Maximum Availability Architectu

     Active Da

     – Data Pro

     – Query Of

    GoldenG –  Active-ac

     – Heteroge

    RMAN, Orac – Backup to ta

     Active

    Edition-based Redefinition,

    Online Redefinition, Data Guard, GoldenGate –  Minimal downtime maintenance, upgrades, migrations

    RAC

     – Scalability

     – Server HA

    Flashback – Human error

    correction

    Production Site  Application Continuity –  Application HA

    Global Data Services – Service Failover / Load Balancing

  • 8/16/2019 OracleDB HA 12cR1 Overview

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

    Oracle Database 12cHigh Availability Key New Features

     Application Continuity

    Global Data Services

    Data Guard Enhancements

    RMAN Enhancements

    Flex ASM

    Other HA Enhancements

    GoldenGate Update

  • 8/16/2019 OracleDB HA 12cR1 Overview

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

    Database outages canflight work to be lost, le

    users and applications

    Often leads to

    User pains

    Duplicate submiss Rebooting mid-tie

    Developer pains

    In-Flight Work: Dealing With OutagesCurrent Situation

     Application

    Servers

    DatabaseServers

    End User

  • 8/16/2019 OracleDB HA 12cR1 Overview

    7/40

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

    Solving Application Development Pain

    Transaction Guard

    A reliable protocol and API

    that returns the outcome ofthe last transaction

    New in Oracle Database 12c

    Application Contin

    Safely attempts to rep

    flight work following oand planned operat

  • 8/16/2019 OracleDB HA 12cR1 Overview

    8/40

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

    Transaction GuardPreserve and Retrieve COMMIT Outcome 

     API that supports kn

    outcome for every tr Without Transaction

    failures – transaction

    cause logical corrup

    With Transaction Gu

    applications can dea

    with error situations,

    improving end-user

    Used transparently b

     Application Continui

     Application

    Servers

    DatabaseServers

    End User

  • 8/16/2019 OracleDB HA 12cR1 Overview

    9/40

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

    Application ContinuityMasks Unplanned/Planned Outages 

    Replays in-flight work

    recoverable errors

    Masks many hardwar

    network, storage erro

    when successful

    Improves end-user ex

    productivity without recustom app developm

    WebLogic Server 12c

    advantage of the feat

    configuration

    Transaction Replayed

    WebLogic

    Servers

    DatabaseServers

    End User

  • 8/16/2019 OracleDB HA 12cR1 Overview

    10/40

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

    Oracle Database 12cHigh Availability Key New Features

     Application Continuity Global Data Services

    Data Guard Enhancements

    RMAN Enhancements

    Flex ASM Other HA Enhancements

    GoldenGate Update

  • 8/16/2019 OracleDB HA 12cR1 Overview

    11/40

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

    Databases in Replicated EnvironmentsChallenges

    No seamless way to euse all the databases

    No automated load ba

    and fault tolerance

    Primary

     Active Standby

     Active Standby

    GoldenGate

  • 8/16/2019 OracleDB HA 12cR1 Overview

    12/40

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

    Global Data Services

    Global Data Services

    • Extends RAC-style service f

    balancing (within and acrosscenters), and management  

    a set of replicated database

    • Takes into account network

    replication lag, and service p

    policies

    •  Achieve higher availability, i

    manageability and maximize

    performance

    Load Balancing and Service Failover for Replicated Datab

  • 8/16/2019 OracleDB HA 12cR1 Overview

    13/40

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

    Global Data Services

    Reporting client routed to ‘b

     – Based on location, response time,data lag

     – Reports will automatically run on l

    Reporting client failover

     – If preferred database not available

    another database in same region o

    database

    Global service migration

     –  Automatically migrates services b

    failover/switchover - if primary dat

    Call Center service on the new pri

     Active Data Guard Example

     Active Data Guard

    Reporting Service

    Call Center Service

  • 8/16/2019 OracleDB HA 12cR1 Overview

    14/40

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

    Global Data Services

    Call Center Client connectiorequests transparently route

    closest  / best  database

     – Runtime load balancing metrics giv

    information on which database to is

    If a database fails, its global

    restarted on another replica

    GoldenGate Example

    GoldenGate

    Call Center Service

  • 8/16/2019 OracleDB HA 12cR1 Overview

    15/40

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

    Global Data ServicesWebLogic Server Example

    WebLogic

     ApplicationsEurope

    Eur.

    Service

    WebLogic Applications

    North America

    Eur.

    Service

    N.A.

    Service

    WebLogic Server application

    Global Data Services using Afor RAC

    Data service migrated becau

    database management actio

    WebLogic Server transparen

    to migrated data service Applications seamlessly leve

    Data Services for load balan

    availability

  • 8/16/2019 OracleDB HA 12cR1 Overview

    16/40

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

    Oracle Database 12cHigh Availability Key New Features

     Application Continuity Global Data Services

    Data Guard Enhancements

    RMAN Enhancements

    Flex ASM Other HA Enhancements

    GoldenGate Update

  • 8/16/2019 OracleDB HA 12cR1 Overview

    17/40

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

    Zero Data Loss Challenge

    The longer the distance, the larger the performance impac

    Synchronous Communication Leads To Performance Trad

    Primary S

    Commit

    Commit Ack

    Network Send

    Network Ack

    D t G d A T d

  • 8/16/2019 OracleDB HA 12cR1 Overview

    18/40

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

    Primary ASYNC

    Data Guard Async  – TodaySome Data Loss Exposure Upon Disaster

    A ti D t G d F S

  • 8/16/2019 OracleDB HA 12cR1 Overview

    19/40

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

    Far Sync: light-weight Oracle instance: standby control f

    redo logs, archived redo logs, no data files

    Receives redo synchronously from primary, forwards red

    asynchronously in real-time to standby

    Upon Failover: Async standby transparently obtains last

    redo from Far Sync and applies: zero data loss failover

    Second Far Sync Instance can be pre-configured to tran

    reverse direction after failover/switchover

    Terminal standbys required to be Active Data Guard Sta

    Active Data Guard Far SyncZero Data Loss For Async Deployments

    A ti D t G d F S

  • 8/16/2019 OracleDB HA 12cR1 Overview

    20/40

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

    Primary

    Far Sync

    Instance

    Active Data Guard Far SyncOperational Flow

     ASYNC

    SYNC

    Active Data Guard Far Sync

  • 8/16/2019 OracleDB HA 12cR1 Overview

    21/40

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

    Primary

    Far Sync

    Instance

    Active Data Guard Far SyncOperational Flow (contd.)

    No Compromise Between Availability an

     ASYNC

    SYNC

    Zero Data Lo

    Active Data Guard Far Sync

  • 8/16/2019 OracleDB HA 12cR1 Overview

    22/40

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

    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

    Active Data Guard Far SyncBenefits

  • 8/16/2019 OracleDB HA 12cR1 Overview

    23/40

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

    Oracle Database 12cHigh Availability Key New Features

     Application Continuity Global Data Services

    Data Guard Enhancements

    RMAN Enhancements

    Flex ASM Other HA Enhancements

    GoldenGate Update

  • 8/16/2019 OracleDB HA 12cR1 Overview

    24/40

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

    1 0 1

    0 1 0 1 0

    1 1 1 0 1 0 0 1

    1 0 1 1 0 1 1 1 1 0

    0 0 1 0 1 0 0 0 0

    1 0 0 1 1 0 1

    1 0 1 0

    0 1

    Fine-grained Table Recovery From Bac

    Simple RECOVER TABL

    recover one or more ta

    recent or older version)backup

    Eliminates time and co

    associated with manua

    & export

     – Enables fine-grained

    recovery of individualthe contents of the enRMAN

    Backups

    Demonstration: RMAN Table Recovery

  • 8/16/2019 OracleDB HA 12cR1 Overview

    25/40

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

    RMAN Table Recovery 

    http://www.oracle.com/technetwork/database/features/availability/demonstrations

    Demonstration: RMAN Table Recovery

    Pl bl D t b B k & R t

    http://localhost/var/www/apps/conversion/tmp/scratch_6/RMANTableRecovery.exehttp://localhost/var/www/apps/conversion/tmp/scratch_6/RMANTableRecovery.exe

  • 8/16/2019 OracleDB HA 12cR1 Overview

    26/40

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

    Backup and recover specific pluggable databases with new PLUGGABLE DATARMAN> BACKUP PLUGGABLE DATABASE , ;

    Familiar BACKUP DATABASE command backs up CDB, including all PDBs

    PDB Complete Recovery

     – RESTORE PLUGGABLE DATABASE ;

     – RECOVER PLUGGABLE DATABASE ;

    PDB Point-in-Time Recovery

     – RMAN> RUN {

     – SET UNTIL TIME 'SYSDATE-3';

     – RESTORE PLUGGABLE DATABASE ;

     – RECOVER PLUGGABLE DATABASE ;

     –  ALTER PLUGGABLE DATABASE OPEN RESETLOGS; }

    Familiar RECOVER DATABASE command recovers CDB, including all PDBs

    Pluggable Database Backup & RestoreFine-Grained Backup & Recovery to Support Consolidatio

    O l D t b 12

  • 8/16/2019 OracleDB HA 12cR1 Overview

    27/40

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

    Oracle Database 12cHigh Availability Key New Features

     Application Continuity Global Data Services

    Data Guard Enhancements

    RMAN Enhancements

    Flex ASM Other HA Enhancements

    GoldenGate Update

    A t ti St M t (ASM) O

  • 8/16/2019 OracleDB HA 12cR1 Overview

    28/40

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

    Automatic Storage Management (ASM) O

     ASM Cluster Pool of StorageDisk Group BDisk Group AShared Disk

    Groups

    Wide File Striping

    One to One

    Mapping of ASMInstances to

    Servers

     ASM Instance

    Database Instance

    RAC Cluster

    Node4Node3Node2Node1  ASM  ASM  ASM  ASM

     ASM Instance

    Database Instance

    DB A  DB A  DBB  DBBDBB 

    Current State

    Fl ASM Eli i t 1 1 S M i

  • 8/16/2019 OracleDB HA 12cR1 Overview

    29/40

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

    Flex ASM: Eliminate 1:1 Server MappinNew: ASM Storage Consolidation in Oracle Database 12c

     ASM Cluster Pool of StorageDisk Group BDisk Group AShared Disk

    Groups

    Wide File Striping

    Databases share

     ASM instances

     ASM Instance

    Database Instance

    RAC Cluster

    Node4Node3Node2Node1

    Node1

    runs as

     ASM

    Client to

    Node2

    Node1

    runs as

     ASM

    Client to

    Node4

    Node2

    runs as

     ASM

    Client to

    Node3

     ASM  ASM  ASM

     ASM InstanceDB A  DB A  DBB  DBBDBB 

    Fle ASM S pporting Oracle Database

  • 8/16/2019 OracleDB HA 12cR1 Overview

    30/40

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

    Flex ASM: Supporting Oracle DatabasePrevious Database Versions Will Host Local ASM Instance

     ASM Cluster Pool of Storage

    Disk Group BDisk Group AShared Disk

    Groups

    Wide File Striping

    Databases share

     ASM instances

     ASM Instance

    Database Instance

    RAC Cluster

    Node4Node3Node2Node1  ASM  ASM  ASM

    DB A  DB A  DBB  DBBDBB 

     ASM

    11.2

    DB

    Oracle Database 12c

  • 8/16/2019 OracleDB HA 12cR1 Overview

    31/40

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

    Oracle Database 12cHigh Availability Key New Features

     Application Continuity Global Data Services

    Data Guard Enhancements

    RMAN Enhancements

    Flex ASM Other HA Enhancements

    GoldenGate Update

    Other HA Enhancements

  • 8/16/2019 OracleDB HA 12cR1 Overview

    32/40

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

    Online Redefinition Enhan

    Improved sync_interim_table

     Ability to redefine table with VPD p

    Improved resilience of finish_re

    Better handling of multi-partition re

    Other HA Enhancements

    Online Datafile Move

    Relocate a datafile while users are actively

    accessing data: ALTER DATABASE MOVEDATAFILE … 

    Maintains data availability during storage

    migration

    Separation of Duties

    SYSDG / SYSBACKUP: Data Guard & RMAN

    specific administrative privileges

    No access to user data: enforce security

    standards throughout the enterprise

    Additional Online Operatio

    Drop index online / Alter index unu

    index visible / invisible online

    Drop constraint online / Set unused

    Online move partition: ALTER TABPARTITION … ONLINE 

    Oracle Database 12c

  • 8/16/2019 OracleDB HA 12cR1 Overview

    33/40

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

    Oracle Database 12cHigh Availability Key New Features

     Application Continuity

    Global Data Services

    Data Guard Enhancements

    RMAN Enhancements

    Flex ASM

    Other HA Enhancements

    GoldenGate Update

    Oracle GoldenGate 12c*

  • 8/16/2019 OracleDB HA 12cR1 Overview

    34/40

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

    Log-based

    Changed Data

    Oracle & Non-Oracle

    Database(s)

    Message Bus

    Oracle Database12c *

    Oracle GoldenGate 12cLow-Impact, Real-Time Data Integration & Transactional R

    Data Integrator

    New DB/

    HW/OS/APP

    Fully Active

    DistributedDB

    Reporting

    Database

    Data

    Warehouse

    ODS

    Ze

    Que

    Data S

    Rea

    Event

    Active

    Message

    Bus

    Global

    Data

    Centers

    Exact Copy

    of PrimaryDN

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

    GoldenGate Zero Downtime Migration/

  • 8/16/2019 OracleDB HA 12cR1 Overview

    35/40

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

    GoldenGate Zero Downtime Migration/Seamless Migration and Upgrades to Oracle Database 12

    • Consolidate/migrate/

    maintain systems withoutdowntime

    • Minimize risk with

    failback option

    • Validate data before

    switchover

    • Use Active-Active

    replication for phased

    user migration

    Nn-OracleERP

    Oracle Database 12c

    Non-OracleERP

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

    Real-Time

    ReplicationFor Migrations

    Optional

    FailbackData Flow

    Oracle10.2CRM

    Oracle11.2DW

    Oracle GoldenGate for Active-Active D

  • 8/16/2019 OracleDB HA 12cR1 Overview

    36/40

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

    Oracle GoldenGate for Active-Active DIncrease ROI on Existing Servers & Synchronize Data

    • Utilize secondary

    systems for transactions

    • Enable continuous

    availability during

    unplanned & planned

    outages

    • Synchronize data across

    global data centers

    • Use intelligent conflict

    detection & resolution

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

    Oracle Database 12c

    Oracle10.2App2

    Oracle11.2App3

    Non-Oracle

    App

    Heterogeneous Bi-Directional

    Real-Time Replication

    Oracle Database 12c

  • 8/16/2019 OracleDB HA 12cR1 Overview

    37/40

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

    Oracle Database 12c

    Oracle Database 12c offers a tremendously sophisticate

    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

    Extreme Availability: Summary

    Safe Harbor Statement

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

  • 8/16/2019 OracleDB HA 12cR1 Overview

    38/40

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

    Safe Harbor Statement

    THE PRECEDING IS INTENDED TO OUTLINE OUR GENE

    PRODUCT DIRECTION. IT IS INTENDED FOR INFORMATPURPOSES ONLY, AND MAY NOT BE INCORPORATED IN

    CONTRACT. IT IS NOT A COMMITMENT TO DELIVER ANY

    MATERIAL, CODE, OR FUNCTIONALITY, AND SHOULD N

    RELIED UPON IN MAKING PURCHASING DECISIONS. TH

    DEVELOPMENT, RELEASE, AND TIMING OF ANY FEATU

    FUNCTIONALITY DESCRIBED FOR ORACLE’S PRODUCT

    REMAINS AT THE SOLE DISCRETION OF ORACLE.

  • 8/16/2019 OracleDB HA 12cR1 Overview

    39/40

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

  • 8/16/2019 OracleDB HA 12cR1 Overview

    40/40

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


Recommended