MAA - OnPremises - Overview ORACLE
MAA - OnPremises - Overview ORACLE
MAA - OnPremises - Overview ORACLE
(MAA)
Blueprints for reduced planned and unplanned downtime for
the On-Premises, Exadata-based or Cloud-based Oracle Database
May 2024
Why is Availability so important?
Continuous availability
Data protection
Active replication
Production site Replicated site
Globally Distributed
Zero Downtime Migration (ZDM) RAC FPP
Database
Standby
REDO
10
10 Copyright © 2024, Oracle and/or its affiliates
Oracle Database 23ai MAA Scalability Features
Standby
TEMPFILE
Automatic tempfile
Ordered Sequences creation on the Oracle RAC Fast Start RDMA-based
with Oracle RAC standby database Reconfiguration Exadata RAC Scaling
11
11 Copyright © 2024, Oracle and/or its affiliates
Oracle MAA – Proven at Thousands of Customers
Superior Architecture
for ALL Workloads
• Petabyte Warehouses
• Super Critical Systems
• Financial Trading
• Process manufacturing
• E-commerce
• Complex Applications
• SAP, Fusion Apps, E-Business
Suite, NetSuite, Siebel, PeopleSoft, …
• Database Consolidation
• Maximum Availability Architecture
Oracle Database
On Premises On Cloud
Single
Dev, Test, Prod - Single Instance or Instance
Multitenant Database with Backups Database
Local Replicated
• Single Instance with Clusterware Backup Backups
Restart
• Advanced backup/restore with
RMAN Outage Matrix
• Optional ZDLRA with Unplanned Outage RTO / RPO Service Level Objectives (f1)
incremental forever and near
Recoverable node or instance failure Minutes to hour (f2)
zero RPO
• Storage redundancy and Disasters: corruptions and site failures Hours to days. RPO since last backup or
validation with ASM near zero with ZDLRA
Complementary to VMs
Cloud
Storage
Day 2 Changes N
Day 2 State
1 State
Transactional
Block a
Remote
Changes
Replica
Virtual
Day N Changes
Full
Backup
Bronze +
Local Replicated
• Real Application Clustering (RAC) Backup Backups
• Application Continuity
• Globally Distributed Database
(Optional)
• Provides fault isolation,
Outage Matrix
scalability, and geographical Unplanned Outage RTO/RPO Service Level Objectives(f1)
distribution Recoverable node or instance failure Single digit seconds (f2)
Disasters: corruptions and site failures Hours to days. RPO since last backup or
near zero with ZDLRA
Checklist found in MAA OTN Planned Maintenance
https://www.oracle.com/a/tech/docs/application- Software/Hardware updates Zero (f2)
checklist-for-continuous-availability-for-maa.pdf
Major database upgrade Minutes to hour
f1: RPO=0 unless explicitly specified
f2: To achieve zero downtime or lowest impact, apply application checklist best
practices; Batch jobs should be deferred outside planned maintenance window.
31 Copyright © 2024, Oracle and/or its affiliates | Public
Oracle RAC = Unique Scalability and Availability
Scale applications online and protect from outages at the same time
Shared-nothing architecture
• Shards don’t share any hardware (CPU,
memory, disk), or software (Clusterware)
Mission Critical
Silver +
• Active Data Guard or Data Guard
Local Local Primary Remote Local
• Comprehensive Data Protection backup Standby RAC RAC Standby RAC backup
MAA Architecture:
• At least one standby required
across AD or region.
Outage Matrix
Unplanned Outage RTO/RPO Service Level Objectives (f1)
• Primary in one data center(or AD)
replicated to a Standby in another Recoverable node or instance failure Single digit seconds (f2)
data center
Disasters: corruptions and site failures Seconds to 2 minutes. RPO zero or
• Data Guard Fast-Start Failover seconds
(FSFO)
Planned Maintenance
• Local backups on both primary and
standby Software/Hardware updates Zero (f2)
Exadata HARD checks on write, automatic disk scrub and repair HARD checks on write
• Active-passive
- Standby is used only for failovers
Sync or Async Replication
via in-memory Redo • Automatic failover to Standby site
Rolling Database
• Application Continuity
Upgrades - In-flight transaction protection
Automatic Block Repair
• Zero data loss across any distance
SYNC ASYNC
Limited distance Any distance
Redo compressed over WAN
DATA IS VISIBLE
• “Read-Mostly, Occasional Updates” applications TO CLIENT
READ ONLY
recurring queries and reduces resource usage (CPU, I/O)
Standby Primary
Database Database
(old primary) (old standby) PRESERVED
RESULT CACHE
7000
6000
Standby 5000
Apply
Rate 4000 5000
MB/sec
3000
2000 2752
1000 1400
1480
700 740
190 380
0
1 Instance 2 Instances 4 Instances 8 Instances
OLTP Batch
53 Copyright © 2024, Oracle and/or its affiliates | Public
Active Data Guard Rolling Maintenance and Upgrades
Using DBMS_ROLLING package
THEN SWITCHOVER
PRIMARY TRANSIENT
LOGICAL STANDBY
• Use a transient logical standby database to upgrade with very little downtime.
• The only downtime is as little as it takes to perform a switchover.
• Oracle Database 23ai provides Application Continuity Support
workload
• Both open read-write with different database IDs
UNPROTECTED SOURCE TARGET SOURCE TARGET UNPROTECTED
PDB PDB PDB PDB PDB PDB
• Disaster Protection at the PDB level
• No need to fail over a full Container Database
• Role transition on a single PDB with Data Guard
Broker
• Automatic gap fetching from the source
• ASYNC support
• Real-Time Query for DGPDB configurations now Primary CDB Primary CDB
available in Oracle Database 23ai
Gold + GG
• GoldenGate Active/Active Replication
Replication
Local Local
• Edition-based Redefinition
backup Standby RAC Primary RAC Primary RAC Standby RAC backup
(Alternative)
MAA Architecture:
• Each GoldenGate “primary” replica
protected by Exadata, RAC and
Outage Matrix
Active Data Guard Unplanned Outage RTO/RPO Service Level Objectives
• Primary in one data center (or AD) (f1)
replicated to another Primary in Recoverable node or instance failure Zero or single-digit seconds (f2/f3)
remote data center (or AD)
• Oracle GG & Edition-based Disasters including corruptions and site failures Zero (f3)
Redefinition for zero downtime
application upgrade Planned Maintenance
• Local backups on both sites Most common software/hardware updates Zero (f2)
• Achieve zero downtime through Major database upgrade, application upgrade Zero (f3)
custom failover to GG replica
f1: RPO=0 unless explicitly specified
64 Copyright © 2024, Oracle and/or its affiliates | Public
f2: To achieve zero downtime or lowest impact, apply application checklist best practices
f3: Application failover is custom or with Global Data Services
GoldenGate or Alternatively Edition-based Redefinition to Further
Protect Your Applications
Trail Trail
Capture Files Dist. Receiver Files Delivery
Service Service
LAN / WAN / Internet
Over TCP/IP
1. GoldenGate Hub simplifies migration and administration by offloading work from source
and target
• New GoldenGate cloud marketplace automates GG hub deployment
• Cross endianness capture enables cross platform migration
• Zero Downtime Migration integration with GoldenGate
2. GoldenGate Microservices simplifies administration and management
Resource Link: Oracle Database Migration with an Oracle GoldenGate Hub Configuration
Resource Link: Transparent Role Transitions with Data Guard and Oracle GoldenGate
Observer
Integrated LogMining
Extract Server
ADG Redo Transport
(SYNC or ASYNC)
Redo Transport
OCI Connection
File I/O
Warehouse
Observer
Redo Transport
OCI Connection
File I/O
Warehouse
76
76 Copyright © 2024, Oracle and/or its affiliates | Public
Region 3
Hybrid Cloud – Disaster Recovery & Back-ups
Observer
AVAILABILITY / AUTOMATION 1
RMAN
Customer-specific
Primary Physical
RAC
standby
Data Guard
Active
✓ Offload work to standby
Availability Zone 2 OCI Vault with read-mostly scale-out
VNet
Automatic
Backup
ExaDB-D
Standby Object Storage