Oracle AI Database High Availability Solutions for Unplanned Downtime

Oracle AI Database offers an integrated suite of high availability solutions that increase availability.

These solutions also eliminate or minimize both planned and unplanned downtime, and help enterprises maintain business continuity 24 hours a day, 7 days a week. However, Oracle’s high availability solutions not only go beyond reducing downtime, but also help to improve overall performance, scalability, and manageability.

Outage Types and Oracle High Availability Solutions for Unplanned Downtime

Various Oracle MAA high availability solutions for unplanned downtime are described here in an easy to navigate matrix.

The following table shows how the features discussed in the referenced (hyperlinked) sections can be used to address various causes of unplanned downtime. Where several Oracle solutions are listed, the MAA recommended solution is indicated in the Oracle MAA Solution column.

Table 1 Outage Types and Oracle High

Outage Scope Oracle MAA Solution Benefits

Site failures

Oracle Data Guard and Enabling Continuous Service for Applications (MAA recommended)

  • Integrated client and application failover

  • Fastest and simplest database replication

  • Supports all data types

  • Zero or near-zero data loss, depending on the protection mode, redo transport, synchronization, and failure circumstances

  • Oracle Active Data Guard

    • Supports read-only services and DML on global temporary tables and sequences to off-load more work from the primary
    • Allows small updates to be redirected to the primary enabling read-mostly reports to be offloaded to standby
  • Database In-Memory support

Oracle GoldenGate

  • Flexible logical replication solution (target is open read/write)

  • Active-active high availability (with conflict resolution)

  • Heterogeneous platform and heterogeneous database support

  • Potential zero downtime with custom application failover

Oracle Globally Distributed AI Database with Raft replication (Diamond Tier Option 1)

  • Active-active high availability with strong consistency
  • Single logical database across distributed deployments
  • Synchronous commit-record replication protects committed transactions while a quorum is available
  • Automatic leader election and application routing with a replica quorum and appropriately configured clients
  • Simple, high-performance logical replication with Raft

Recovery Manager, Zero Data Loss Recovery Appliance and Oracle Secure Backup

  • Fully managed database recovery and integration with Oracle Secure Backup

  • Recovery Appliance

    • provides end-to-end data protection for backups
    • reduces data loss for database restores
    • Non-real-time recovery

Instance or computer failures

Oracle Real Application Clusters and Oracle Clusterware and Enabling Continuous Service for Applications (MAA recommended)

  • Integrated client and application failover

  • Automatic recovery of failed nodes and instances

  • Lowest application brownout with Oracle Real Application Clusters

Oracle RAC One Node and Enabling Continuous Service for Applications

  • Integrated client and application failover

  • Online database relocation migrates connections and instances to another node

  • Better database availability than traditional cold failover solutions

Oracle Data Guard and Enabling Continuous Service for Applications

  • Integrated client and application failover

  • Fastest and simplest database replication

  • Supports all data types

  • Zero or near-zero data loss, depending on the protection mode, redo transport, synchronization, and failure circumstances

  • Oracle Active Data Guard

    • Supports read-only services and DML on global temporary tables and sequences to off-load more work from the primary
    • Allows small updates to be redirected to the primary enabling read-mostly reports to be offloaded to standby
  • Database In-Memory support

Oracle Globally Distributed AI Database with Raft replication (Diamond Tier Option 1)

  • Active-active high availability with strong consistency
  • Single logical database across distributed deployments
  • Synchronous commit-record replication protects committed transactions while a quorum is available
  • Automatic leader election and application routing with a replica quorum and appropriately configured clients
  • Simple, high-performance logical replication with Raft

Oracle GoldenGate

  • Flexible logical replication solution (target is open read/write)

  • Active-Active high availability (with conflict resolution)

  • Heterogeneous platform and heterogeneous database support

  • Potential zero downtime with custom application failover

Storage failures

Oracle Automatic Storage Management (MAA recommended)

Mirroring and online automatic rebalancing places redundant copies of the data in separate failure groups.

Oracle Data Guard (MAA recommended)

  • Integrated client and application failover

  • Fastest and simplest database replication

  • Supports all data types

  • Zero or near-zero data loss, depending on the protection mode, redo transport, synchronization, and failure circumstances

  • Oracle Active Data Guard supports read-only services and DML on global temporary tables and sequences to off-load more work from the primary

  • Database In-Memory support

Recovery Manager with Fast Recovery Area, and Zero Data Loss Recovery Appliance (MAA recommended)

Fully managed database recovery and managed disk and tape backups

Oracle Globally Distributed AI Database with Raft replication (Diamond Tier Option 1)

  • Active-active high availability with strong consistency
  • Single logical database across distributed deployments
  • Synchronous commit-record replication protects committed transactions while a quorum is available
  • Automatic leader election and application routing with a replica quorum and appropriately configured clients
  • Simple, high-performance logical replication with Raft

Oracle GoldenGate

  • Flexible logical replication solution (target is open read/write)

  • Active-active high availability (with conflict resolution)

  • Heterogeneous platform and heterogeneous database support

  • Potential zero downtime with custom application failover

Data corruption

Corruption Prevention, Detection, and Repair (MAA recommended)

Database initialization settings such as DB_BLOCK_CHECKING, DB_BLOCK_CHECKSUM, and DB_LOST_WRITE_PROTECT

Different levels of data and redo block corruption prevention and detection at the database level

Data corruption

Oracle Data Guard (MAA recommended)

Oracle Active Data Guard Automatic Block Repair

DB_LOST_WRITE_PROTECT initialization parameter

  • In a Data Guard configuration with an Oracle Active Data Guard standby

    • Physical block corruptions detected by Oracle at a primary database are automatically repaired using a good copy of the block retrieved from the standby, and vice versa
    • Eligible block repairs can be transparent to users and applications when a good copy is available
  • With MAA recommended initialization settings, Oracle Active Data Guard and Oracle Exadata Database Machine, achieve most comprehensive full stack corruption protection.

  • With DB_LOST_WRITE_PROTECT enabled

    • A lost write that occurred on the primary database is detected either by the physical standby database or during media recovery of the primary database, recovery is stopped to preserve the consistency of the database
    • Failing over to the standby database using Data Guard will result in some data loss
    • Data Guard Broker's PrimaryLostWrite property supports SHUTDOWN and CONTINUE, plus FAILOVER and FORCEFAILOVER options, when lost writes are detected on the primary database. See Oracle Data Guard Broker
    • DB_LOST_WRITE_PROTECT initialization parameter provides lost write detection
  • Shadow lost write protection detects a lost write before it can result in major data corruption. You can enable shadow lost write protection for a database, a tablespace, or a data file without requiring an Oracle Data Guard standby database. Note the impact on your workload may vary.

Dbverify, Analyze, Recovery Manager, Zero Data Loss Recovery Appliance, and ASM Scrub with Fast Recovery Area (MAA recommended)

These tools allow the administrator to run manual checks to help detect and potentially repair from various data corruptions.

  • Dbverify and Analyze conduct physical block and logical intra-block checks. Analyze can conduct inter-object consistency checks.

  • RMAN operations can

    • Conduct both physical and inter-block logical checks
    • Run online block-media recovery using flashback logs, backups, or the standby database to help recover from physical block corruptions
  • Recovery Appliance

    • Does periodic backup validation that helps ensure that your backups are valid
    • Allows you to input your recovery window requirements, and alerts you when those SLAs cannot be met with your existing backups managed by Recovery Appliance
  • ASM Scrub detects and attempts to repair physical and logical data corruptions with the ASM pair in normal and high redundancy disks groups.

Data corruption

Oracle Exadata Database Machine and Oracle Automatic Storage Management (MAA recommended)

DIX + T10 DIF Extensions (MAA recommended where applicable)

  • If Oracle ASM detects a corruption and has a good mirror, ASM returns the good block and repairs the corruption during a subsequent write I/O.

  • Exadata provides implicit HARD enabled checks to prevent data corruptions caused by bad or misdirected storage I/O.

  • Exadata provides automatic HARD disk scrub and repair. Detects and fixes bad sectors.

  • DIX +T10 DIF Extensions provides end to end data integrity for reads and writes through a checksum validation from a vendor's host adapter to the storage device

Oracle Globally Distributed AI Database with Raft replication (Diamond Tier Option 1)

  • A healthy Raft replica can support recovery from eligible physical corruption when the required replicas and quorum remain available. Recovery depends on the corruption type and scope.
  • Active-active high availability

Oracle GoldenGate

  • A healthy GoldenGate replica can support application failover for eligible corruption scenarios. Recovery depends on the corruption type, replication state, and application routing.

  • Active-active high availability (with conflict resolution)

  • Heterogeneous platform and heterogeneous database support

Human errors

Oracle security features (MAA recommended)

Restrict access to prevent human errors

Oracle Flashback Technology (MAA recommended)

  • Fine-grained error investigation of incorrect results

  • Fine-grained and database-wide or pluggable database rewind and recovery capabilities

Delays or slow downs

Oracle AI Database and Oracle Enterprise Manager

Oracle Data Guard (MAA recommended) and Enabling Continuous Service for Applications

  • Oracle AI Database automatically monitors for instance and database delays or cluster slow downs and attempts to remove blocking processes or instances to prevent prolonged delays or unnecessary node evictions.

  • Oracle Enterprise Manager or a customized application heartbeat can be configured to detect application or response time slowdown and react to these SLA breaches. For example, you can configure the Enterprise Manager Beacon to monitor and detect application response times. Then, after a certain threshold expires, Enterprise Manager can call the Data Guard
    DBMS_DG.INITIATE_FS_FAILOVER
    PL/SQL procedure to initiate a failover. See the section about "Managing Fast-Start Failover" in Oracle Data Guard Broker.
  • Database In-Memory support

File system data

Oracle Replication Technologies for Non-Database Files

Enables full stack failover that includes non-database files

Managing Unplanned Outages for MAA Reference Architectures and Multitenant Architectures

High availability solutions in each of the MAA service-level tiers for the MAA reference architectures and multitenant architectures are described in an easy to navigate matrix.

If you are managing many databases in DBaaS, we recommend using the MAA tiers and Oracle Multitenant as described in Oracle MAA Reference Architectures.

The following table compares unplanned outage responses across MAA reference architectures, including the applicable tier options. RTO and RPO values are service level objectives, not guarantees. Outcomes depend on the outage, detection, replication and protection settings, application readiness, and available replicas. Permanent node replacement and corruption recovery can have different durations from the recoverable-node and disaster objectives. See the MAA reference architectures for option-specific prerequisites and objectives.

Table 2 Unplanned Outage Matrix for MAA

Event Solutions by MAA Architecture Recovery Window (RTO) Data Loss (RPO)
Instance failure Bronze: Oracle Restart Minutes if the instance can restart Zero for a recoverable instance failure
Instance failure Silver Tier Option 1: Oracle RAC or Oracle RAC One Node Seconds to minutes, depending on platform and configuration Zero for a recoverable instance failure
Instance failure Silver Tier Option 2: local Oracle Data Guard standby Seconds to minutes Zero or near-zero, depending on configuration and failure
Instance failure Gold: Oracle RAC with Oracle Data Guard or Oracle Active Data Guard Less than 60 seconds Zero for a recoverable instance failure
Instance failure Platinum Tier Options 1 and 2: Oracle RAC on Exadata with the selected replication option Less than 10 seconds Zero for a recoverable instance failure
Instance failure Diamond Tier Option 1: Globally Distributed AI Database with Raft replication Less than 3 seconds for a recoverable node or instance failure Zero for a recoverable instance failure
Instance failure Diamond Tier Option 2: GoldenGate-based active-active architecture Less than 3 seconds for a recoverable node or instance failure Zero for a recoverable instance failure
Permanent node failure; storage available Bronze: restart on a suitable server or restore and recover as required Depends on server availability and the recovery method Depends on storage and recovery state
Permanent node failure; storage available Silver Tier Option 1: Oracle RAC or Oracle RAC One Node Depends on failover or relocation and available capacity Zero when database storage remains intact
Permanent node failure; storage available Silver Tier Option 2: local Oracle Data Guard standby Depends on detection and role transition Zero or near-zero, depending on configuration and failure
Permanent node failure; storage available Gold and Platinum: use the configured RAC and Data Guard or GoldenGate failover capabilities Depends on the failure and application failover configuration Depends on protection and replication configuration
Permanent node failure; storage available Diamond Tier Option 1: Raft replica failover with quorum; Option 2: GoldenGate-based replica failover Depends on failure detection, replica availability, and application routing Depends on the selected option and failure
Storage failure Redundant Oracle ASM storage, where configured and supported Potentially zero interruption for a failure within the configured redundancy Zero when a valid redundant copy remains available
Storage failure Data Guard, GoldenGate, or Globally Distributed AI Database with Raft, as applicable to the tier and failure Depends on surviving storage, replicas, and the selected architecture Depends on protection mode, replication state, and failure scope
Data corruption Bronze and Silver: validation and recovery from backups; Silver Tier Option 2 can use its local standby when appropriate Depends on the corruption and recovery method Depends on the last usable protected backup or replica; Recovery Appliance can reduce potential data loss
Data corruption Gold: Data Guard; automatic block repair with Active Data Guard when eligible Automatic block repair can avoid an outage; other corruption requires a suitable recovery or failover method Depends on corruption type, protection configuration, and failure
Data corruption Platinum Tier Option 1: Active Data Guard; Option 2: Active Data Guard and GoldenGate replicas Depends on whether block repair or failover to a suitable replica is applicable Zero or seconds for the documented disaster objectives; other outcomes depend on the corruption and configuration
Data corruption Diamond Tier Option 1: Raft replicas; Option 2: GoldenGate replicas Depends on corruption type, detection, and availability of a healthy replica Zero or seconds for the documented disaster objectives; logical errors and their propagation require separate assessment
Human error Flashback technologies, undo, or point-in-time recovery, where supported and appropriate Depends on detection time, affected data, and recovery method Depends on the error and chosen recovery point
Database, site, or regional disaster Bronze and Silver: restore and recover from protected backups when local availability is insufficient Hours to days for regional disasters Depends on backup and redo protection; Recovery Appliance can reduce potential data loss
Database, site, or regional disaster Gold: remote Data Guard or Active Data Guard standby Less than 5 minutes Zero or seconds, depending on configuration and failure
Database, site, or regional disaster Platinum Tier Option 1: Active Data Guard Less than 30 seconds, with the documented prerequisites Zero or seconds, depending on configuration and failure
Database, site, or regional disaster Platinum Tier Option 2: GoldenGate replicas with application failover Less than 3 seconds Zero or seconds, depending on configuration and failure
Database, site, or regional disaster Diamond Tier Option 1: Globally Distributed AI Database with Raft replication Less than 3 seconds for the documented disaster objective Zero or seconds for the documented disaster objective
Database, site, or regional disaster Diamond Tier Option 2: GoldenGate 26ai active-active architecture Less than 3 seconds for the documented disaster objective Zero or seconds for the documented disaster objective
Performance degradation Monitoring and remediation, including Enterprise Manager and configured application health checks Depends on detection, remediation, and application impact Depends on the failure and protection configuration