Oracle RAC 19c Masterclass — Part 24

RMAN Backup & Recovery Architecture: RAC, ASM, FRA, PITR and Real Failure Scenarios

1. The Real Objective

A production DBA should never say:

“We have RMAN backups.”

The important questions are:

  • Can we restore them?
  • Can we recover to a specific point in time?
  • Can we recover after losing a datafile?
  • Can we recover after losing an entire disk group?
  • Can we recover after accidental data deletion?
  • Can we recover after losing a RAC node?
  • Can we recover after losing the entire database server?
  • How much data can we lose?
  • How long will recovery take?

This is the difference between backup administration and recovery engineering.

2. The Recovery Architecture

A typical Oracle RAC 19c environment:

                    Application
                         |
                  +------+------+
                  |             |
                RAC1          RAC2
                  |             |
                  +------+------+
                         |
                        ASM
                         |
        +----------------+----------------+
        |                |                |
      +DATA            +RECO             +FRA
        |                |                |
     Datafiles       Archivelogs       Backups

RMAN sits above this architecture:

                    RMAN
                     |
          +----------+----------+
          |                     |
       Database               ASM
          |
       Datafiles
       Controlfile
       SPFILE
       Archivelogs

3. First: Verify ARCHIVELOG

For production RAC:

ARCHIVE LOG LIST;

Or:

SELECT name,
       log_mode,
       open_mode
FROM v$database;

You want:

LOG_MODE
---------
ARCHIVELOG

For RAC:

SELECT inst_id,
       thread#,
       sequence#,
       archived,
       status
FROM gv$log
ORDER BY thread#, sequence#;

4. Why ARCHIVELOG Matters

Without ARCHIVELOG:

Backup
   ↓
Restore
   ↓
Database only recovered to backup time

With ARCHIVELOG:

Backup
   ↓
Restore
   ↓
Apply archived redo
   ↓
Recover forward
   ↓
Point-in-time recovery

This is fundamental.

5. RAC Means Multiple Redo Threads

This is extremely important.

In single-instance Oracle:

THREAD 1
  |
  +-- Sequence 100
  +-- Sequence 101
  +-- Sequence 102

In RAC:

THREAD 1                    THREAD 2
   |                           |
   +-- Seq 100                 +-- Seq 200
   +-- Seq 101                 +-- Seq 201
   +-- Seq 102                 +-- Seq 202

Each RAC instance normally has its own redo thread.

6. Check RAC Redo Threads

SELECT thread#,
       instance,
       status,
       enabled
FROM v$thread
ORDER BY thread#;

Example:

THREAD#  INSTANCE  STATUS    ENABLED
-------  --------  --------  -------
1        PROD1     OPEN      PUBLIC
2        PROD2     OPEN      PUBLIC

Then:

SELECT thread#,
       sequence#,
       first_time,
       next_time,
       archived,
       status
FROM gv$log
ORDER BY thread#,
         sequence#;

7. Why RAC Recovery Is Different

Suppose:

RAC1 → Thread 1
RAC2 → Thread 2

A recovery may require redo from:

Thread 1
+
Thread 2

You cannot simply think:

“I only need the archive logs generated by RAC1.”

You need the redo necessary to reconstruct the database consistently.

8. Configure RMAN

Start:

rman target /

Check configuration:

SHOW ALL;

This is one of the first commands you should execute in a new environment.

9. Important RMAN Configuration

Typical configuration:

CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 14 DAYS;

Backup optimization:

CONFIGURE BACKUP OPTIMIZATION ON;

Default device:

CONFIGURE DEFAULT DEVICE TYPE TO DISK;

Parallelism:

CONFIGURE DEVICE TYPE DISK PARALLELISM 4;

Controlfile autobackup:

CONFIGURE CONTROLFILE AUTOBACKUP ON;

10. Why Controlfile Autobackup Is Critical

Imagine:

Database
+
Controlfile

and then:

Controlfile lost

If you have:

CONTROLFILE AUTOBACKUP ON

RMAN can locate a backup of the controlfile/SPFILE.

This can save you during disaster recovery.

11. Check the Configuration

SHOW ALL;

You should know exactly what your environment uses:

Retention policy
Default device
Parallelism
Compression
Encryption
Controlfile autobackup
Archived log deletion policy

Never assume.

12. Basic Full Database Backup

A common backup:

BACKUP DATABASE PLUS ARCHIVELOG;

This means:

Database
+
Archived redo logs

are backed up.

But in production, we need to think more carefully about backup strategy, consistency, retention and recovery requirements.

13. Backup Database

BACKUP DATABASE
FORMAT '/backup/PROD/db_%U.bkp';

%U creates a unique backup piece name.

14. Backup Archivelogs

BACKUP ARCHIVELOG ALL
FORMAT '/backup/PROD/arch_%U.bkp';

Then:

BACKUP DATABASE PLUS ARCHIVELOG;

is often convenient for a complete backup cycle.

15. Backup Controlfile

Explicitly:

BACKUP CURRENT CONTROLFILE
FORMAT '/backup/PROD/control_%U.bkp';

You can also generate a trace version:

ALTER DATABASE BACKUP CONTROLFILE TO TRACE;

The trace file can be useful for reconstructing a controlfile definition, although it is not a replacement for proper RMAN controlfile backups.

16. Backup SPFILE

BACKUP SPFILE
FORMAT '/backup/PROD/spfile_%U.bkp';

In a disaster, having:

Controlfile
+
SPFILE

is extremely valuable.

17. Backup Everything Important

A robust strategy protects:

Datafiles
Controlfile
SPFILE
Archived redo

And depending on your architecture:

Password files
TDE wallet/keystore
Network configuration
ASM metadata
Cluster configuration

RMAN does not replace the need to protect non-database infrastructure.

18. Backup Validation

A backup that was never tested is only a hypothesis.

RMAN can validate:

RESTORE DATABASE VALIDATE;

This checks whether RMAN can access the required backup pieces and whether the backup is usable for restore purposes without actually restoring the database.

You can also use:

BACKUP VALIDATE DATABASE;

19. Validate Specific Backups

RESTORE DATABASE VALIDATE;

or:

RESTORE ARCHIVELOG ALL VALIDATE;

This is particularly useful before a disaster.

20. Backup Reporting

LIST BACKUP SUMMARY;

Example:

BS Key  Type LV Size       Device
------  ---- -- ---------  ------
101     Full    500G       DISK
102     Arch    20G        DISK
103     Full    510G       DISK

21. Detailed Backup Information

LIST BACKUP OF DATABASE;

For archived logs:

LIST BACKUP OF ARCHIVELOG ALL;

For controlfile:

LIST BACKUP OF CONTROLFILE;

22. Crosscheck

RMAN needs to know whether backup pieces physically exist.

Run:

CROSSCHECK BACKUP;

Then:

LIST EXPIRED BACKUP;

If backup files disappeared from the filesystem without RMAN knowing, they may become:

EXPIRED

23. Delete Expired

Only after confirming the backup files are genuinely unavailable:

DELETE EXPIRED BACKUP;

Don’t confuse:

EXPIRED

with:

OBSOLETE

They mean different things.

24. EXPIRED vs OBSOLETE

EXPIRED

RMAN believes the backup record exists, but the physical backup cannot be found.

OBSOLETE

The backup exists, but according to the configured retention policy it is no longer required.

Example:

REPORT OBSOLETE;

Then:

DELETE OBSOLETE;

25. Recovery Window

Suppose:

CONFIGURE RETENTION POLICY
TO RECOVERY WINDOW OF 14 DAYS;

The objective is to maintain enough backups and archived redo to recover the database to any point within the recovery window.

This is a recovery requirement, not simply a storage requirement.

26. FRA

Oracle’s Fast Recovery Area is extremely important.

Check:

SELECT name,
       space_limit,
       space_used,
       space_reclaimable,
       number_of_files
FROM v$recovery_file_dest;

Example:

NAME          SPACE_LIMIT  SPACE_USED
------------  -----------  ----------
+RECO         2TB          1.6TB

27. FRA Utilization

Calculate:

SELECT ROUND(
         space_used / space_limit * 100,
         2
       ) pct_used
FROM v$recovery_file_dest;

If:

95%

don’t wait for:

100%

because archived redo generation can cause serious consequences.

28. FRA Can Become Full

Possible causes:

Large archive generation
Long-running transactions
Backup failures
Flashback logs
Guaranteed restore points
Data Guard transport problems
Backup retention

The correct response depends on the actual cause.

29. Check Archived Log Generation

SELECT thread#,
       sequence#,
       first_time,
       next_time,
       archived,
       deleted
FROM v$archived_log
ORDER BY first_time DESC
FETCH FIRST 50 ROWS ONLY;

In RAC:

SELECT thread#,
       COUNT(*) archive_count
FROM v$archived_log
WHERE first_time >= SYSDATE - 1
GROUP BY thread#
ORDER BY thread#;

This helps identify which thread is generating more redo.

30. RAC Archive Generation

Suppose:

THREAD 1 → 20 GB/hour
THREAD 2 → 2 GB/hour

This can be perfectly normal if RAC1 handles the majority of the workload.

But if the imbalance is unexpected, investigate workload distribution.

31. Archivelog Backup and Deletion

A common pattern:

BACKUP ARCHIVELOG ALL
DELETE INPUT;

This backs up archived logs and then deletes the input logs after successful backup.

But in a Data Guard environment, be careful.

You must consider whether the standby has received and applied the logs before deleting them.

32. Data Guard and Archivelog Deletion

For Data Guard environments, configure an appropriate archived log deletion policy.

For example:

CONFIGURE ARCHIVELOG DELETION POLICY
TO APPLIED ON ALL STANDBY;

The exact policy should match your Data Guard architecture and operational requirements.

Do not copy this command blindly into every environment.

33. The Most Important Recovery Question

Imagine:

10:00
Backup completed

10:30
User accidentally deletes important rows

10:35
Problem discovered

Question:

Can you recover to 10:29:59?

If yes:

Point-in-time recovery

may be possible.

34. PITR Concept

Point-in-time recovery:

Backup
   ↓
Restore
   ↓
Apply redo
   ↓
Stop at target time
   ↓
OPEN RESETLOGS

Conceptually:

10:00 Backup
     |
     +---- redo ----+
                    |
                  10:29
                    |
                 TARGET

35. RMAN PITR Example

A simplified example:

RUN {
    SET UNTIL TIME
        "TO_DATE('2026-08-08 10:29:59',
                 'YYYY-MM-DD HH24:MI:SS')";

    RESTORE DATABASE;
    RECOVER DATABASE;
}

Then:

ALTER DATABASE OPEN RESETLOGS;

The exact recovery procedure depends on the failure scenario and database state.

36. Important Warning

Never run:

ALTER DATABASE OPEN RESETLOGS;

just because recovery finished.

RESETLOGS creates a new incarnation and must be used at the appropriate point in incomplete recovery.

Always confirm the recovery state first.

37. Scenario 1 — Lost Datafile

Let’s begin with a realistic failure.

Suppose:

+DATA
   |
   +-- users01.dbf

is lost.

Database reports:

ORA-01116
ORA-01110

38. Identify the Datafile

SELECT file#,
       name,
       status,
       enabled
FROM v$datafile
ORDER BY file#;

Suppose:

FILE# = 12

and:

STATUS = RECOVER

39. Restore the Datafile

RMAN:

RESTORE DATAFILE 12;

Then:

RECOVER DATAFILE 12;

Finally, if appropriate:

ALTER DATABASE DATAFILE 12 ONLINE;

40. Faster Recovery

If you know the file:

RESTORE DATAFILE '/path/to/users01.dbf';
RECOVER DATAFILE '/path/to/users01.dbf';

For ASM-managed databases, RMAN normally restores to the appropriate ASM destination based on the configured database/ASM environment.

41. Scenario 2 — Lost Tablespace

Suppose:

REPORTING_TBS

is damaged.

If the database remains available and the affected tablespace can be taken offline:

ALTER TABLESPACE REPORTING_TBS OFFLINE IMMEDIATE;

Then:

RESTORE TABLESPACE REPORTING_TBS;
RECOVER TABLESPACE REPORTING_TBS;

Then:

ALTER TABLESPACE REPORTING_TBS ONLINE;

This can be preferable to restoring the entire database.

42. Scenario 3 — Lost Controlfile

This is much more serious.

Start RMAN:

rman target /

Check whether RMAN knows the autobackup:

LIST BACKUP OF CONTROLFILE;

If the controlfile is unavailable, start the instance appropriately and restore the controlfile from backup.

Conceptually:

STARTUP NOMOUNT;

RESTORE CONTROLFILE FROM AUTOBACKUP;

ALTER DATABASE MOUNT;

RECOVER DATABASE;

The exact syntax and steps depend on where the autobackup resides and what other files are available.

43. Scenario 4 — Lost SPFILE

If the SPFILE is lost:

STARTUP FORCE NOMOUNT;

may fail because the instance cannot read its startup parameters.

RMAN can restore it from backup:

RESTORE SPFILE FROM AUTOBACKUP;

Then restart the instance using the restored SPFILE.

44. Scenario 5 — Lost Entire Database Server

This is where disaster recovery planning becomes important.

You need:

Oracle software
Grid Infrastructure
ASM
Database
Controlfile
SPFILE
Backups
Archived redo
TDE wallet if applicable
Network configuration
Cluster configuration

RMAN alone does not rebuild your entire infrastructure.

45. RAC Node Failure vs Database Failure

These are different scenarios.

RAC node failure
RAC1 DOWN
   ↓
RAC2 continues

The database may remain available.

Entire database failure
RAC1 DOWN
RAC2 DOWN
Storage unavailable
   ↓
Database unavailable

Now you need complete recovery/disaster recovery.

46. RAC Recovery Principle

If one RAC node fails:

RAC1
 X

RAC2
 ✓

You normally do not restore the entire database.

The shared database remains accessible from the surviving instance.

After repairing RAC1:

RAC1
 ✓

RAC2
 ✓

This is one of the major benefits of RAC.

47. Scenario 6 — Accidental Table Drop

Suppose:

DROP TABLE CUSTOMERS;

The DBA discovers it 10 minutes later.

Do not immediately perform database PITR.

First investigate:

FLASHBACK?
Recycle bin?
RMAN auxiliary recovery?
Data Pump?
Application backup?

The appropriate solution depends on the exact situation.

48. Flashback vs RMAN

If the table was recently dropped and the recycle bin contains it:

SHOW RECYCLEBIN;

Potential recovery:

FLASHBACK TABLE customers
TO BEFORE DROP;

This can be much faster than restoring the entire database.

49. If Flashback Isn’t Available

You may perform a Tablespace Point-in-Time Recovery (TSPITR) or use an auxiliary database depending on the situation.

The goal is:

Production
    |
    +---- Auxiliary recovery
                |
                +---- Recover old object
                |
                +---- Extract required data

This is often much safer than rolling back the entire production database.

50. Scenario 7 — Block Corruption

Check corruption:

SELECT *
FROM v$database_block_corruption;

Example:

FILE#  BLOCK#   BLOCKS  CORRUPTION_TYPE
-----  -------  ------  ---------------
17     1048576  1       CORRUPT

Now you know exactly where the corruption is.

51. RMAN Block Recovery

For a corrupt block:

BLOCKRECOVER DATAFILE 17 BLOCK 1048576;

Depending on Oracle version and available backups, you may use the corresponding block media recovery syntax.

This is much more targeted than restoring the entire datafile.

52. Validate Database for Corruption

A useful RMAN check:

BACKUP VALIDATE CHECK LOGICAL DATABASE;

This can detect physical and logical corruption during validation.

You can also use:

VALIDATE DATABASE;

depending on what you want to validate.

53. RMAN LIST FAILURE

When Oracle Database Recovery Manager/Database Recovery Advisor metadata is available, investigate failures with:

LIST FAILURE;

Then:

ADVISE FAILURE;

This can help identify failures recognized by the database.

However, don’t blindly execute generated repair actions in production.

Review them first.

54. Recovery Advisor

Typical workflow:

LIST FAILURE;
ADVISE FAILURE;

Potentially:

REPAIR FAILURE;

But:

REPAIR FAILURE is an action, not a diagnosis.

Understand what RMAN intends to do before executing it.

55. Backup Encryption

For sensitive production systems, backups may need encryption.

RMAN supports backup encryption.

For example:

SET ENCRYPTION ON;

or configured encryption depending on your security architecture.

But encryption introduces key-management requirements.

If using TDE, understand the relationship between:

Database
+
TDE keystore
+
RMAN backup
+
Recovery server

56. TDE and Disaster Recovery

This is a critical production lesson.

You can have:

Perfect RMAN backup

but if you lose:

TDE wallet / keystore

you may not be able to decrypt the data.

Therefore:

Backup strategy must include encryption key management.

57. Backup Compression

Depending on your Oracle licensing and configuration, RMAN can use backup compression.

For example:

CONFIGURE COMPRESSION ALGORITHM
CLEAR;

or choose an appropriate compression algorithm supported by your installation.

Compression trades:

CPU

for:

Storage
+
I/O

The correct setting depends on your environment.

58. RMAN Parallelism

Example:

CONFIGURE DEVICE TYPE DISK
PARALLELISM 4;

Or:

RUN {
    ALLOCATE CHANNEL c1 DEVICE TYPE DISK;
    ALLOCATE CHANNEL c2 DEVICE TYPE DISK;
    BACKUP DATABASE;
}

More channels do not automatically mean faster backups.

59. Why More Channels Can Make Things Worse

Imagine:

Production DB
   |
   +---- 4 RMAN channels
   |
   +---- 32 RMAN channels

If the storage system can only sustain:

500 MB/s

adding channels may simply increase contention.

You need to balance:

CPU
+
Storage throughput
+
Database workload
+
Backup window

60. Backup Performance Test

During a backup monitor:

iostat -xm 5

and Oracle:

SELECT *
FROM v$session_longops
WHERE opname LIKE 'RMAN%';

You can correlate:

RMAN throughput
+
storage throughput
+
database workload

61. Monitor RMAN Progress

A useful query:

SELECT sid,
       serial#,
       opname,
       sofar,
       totalwork,
       units,
       elapsed_seconds,
       time_remaining
FROM v$session_longops
WHERE opname LIKE 'RMAN%'
AND totalwork > 0
AND sofar < totalwork
ORDER BY start_time;

This gives you an operational view of long-running RMAN work.

62. Backup Strategy Example

For a production database, one possible strategy:

Sunday
  Full backup

Monday
  Incremental

Tuesday
  Incremental

Wednesday
  Incremental

Thursday
  Incremental

Friday
  Incremental

Saturday
  Incremental

plus:

Continuous ARCHIVELOG backup

The exact strategy should be designed around your RPO/RTO.

63. Incremental Backups

RMAN supports:

Level 0
Level 1

A level 0 is the baseline for incremental recovery.

A level 1 can be:

Differential

or:

Cumulative

depending on configuration.

64. Incremental Strategy

Example:

Sunday
Level 0

Monday
Level 1 cumulative

Tuesday
Level 1 cumulative

Wednesday
Level 1 cumulative

Cumulative backups contain changes since the last level 0.

Differential backups contain changes since the most recent incremental backup at level 0 or 1.

65. Example RMAN Incremental

Level 0:

BACKUP INCREMENTAL LEVEL 0 DATABASE;

Level 1:

BACKUP INCREMENTAL LEVEL 1 DATABASE;

For a specific strategy:

BACKUP INCREMENTAL LEVEL 1 CUMULATIVE DATABASE;

66. Incremental Merge

For very large databases, another architecture is:

Image copy
+
Incremental backups

RMAN can roll incremental changes into an image copy.

Conceptually:

Image Copy
     +
Incremental
     ↓
Updated Image Copy

This can reduce recovery time in some architectures.

67. Recovery Time Objective

Suppose:

Database = 20 TB

If restoration takes:

10 hours

then your backup architecture may technically work but fail your business requirement if:

RTO = 2 hours

Therefore:

Backup design must start from RPO/RTO, not from RMAN syntax.

68. RPO

Recovery Point Objective:

How much data can the business afford to lose?

Example:

RPO = 15 minutes

means you need a recovery design capable of limiting data loss to approximately 15 minutes or less.

69. RTO

Recovery Time Objective:

How quickly must the service be restored?

Example:

RTO = 1 hour

If your RMAN restore takes 8 hours:

Backup strategy ≠ business requirement

70. RMAN vs Data Guard

RMAN:

Backup
Restore
Recovery

Data Guard:

Primary
   ↓
Redo transport
   ↓
Standby

They solve different problems.

A standby is not a replacement for backups.

71. Why Data Guard Does Not Replace Backup

Suppose someone accidentally executes:

DELETE FROM CUSTOMERS;
COMMIT;

The change may be propagated to the standby.

So:

Primary
   ↓
Bad transaction
   ↓
Standby

The standby may faithfully reproduce the mistake.

Backups give you another recovery path.

72. RMAN and Data Guard

RMAN can be integrated with Data Guard environments.

For example:

Primary
   |
   +---- RMAN backup
   |
   +---- Standby

and backups may be performed on the standby depending on architecture and requirements.

This can reduce backup workload on the primary.

73. Recovery Catalog

For serious environments, consider an RMAN recovery catalog.

Without catalog:

Target DB
   |
Controlfile
   |
RMAN metadata

With catalog:

              Recovery Catalog
                    |
       +------------+------------+
       |            |            |
     PROD1        PROD2        PROD3

This centralizes RMAN metadata.

74. Register Database

Conceptually:

CONNECT CATALOG rman_user/password@RCVCAT;

REGISTER DATABASE;

Then:

LIST BACKUP;

can provide centralized historical information.

75. Why Experts Use a Recovery Catalog

It can provide:

Centralized metadata
Longer backup history
Multiple database management
Reporting
Cross-database recovery information

But it also becomes another infrastructure component that must itself be protected.

76. Practical Backup Health Check

Run:

SHOW ALL;

LIST BACKUP SUMMARY;

CROSSCHECK BACKUP;

REPORT OBSOLETE;

Then validate:

RESTORE DATABASE VALIDATE;

And inspect:

SELECT name,
       space_limit,
       space_used,
       space_reclaimable
FROM v$recovery_file_dest;

77. Daily DBA Checklist

A production DBA should know:

Last successful database backup?
Last successful archivelog backup?
Backup duration?
Backup size?
Backup failures?
FRA usage?
Archive generation?
Expired backups?
Obsolete backups?
Last restore validation?

78. Weekly Recovery Test

Don’t stop at:

BACKUP DATABASE;

Perform a test restore in a non-production environment.

Example:

Production
    |
    +---- Backup
             |
             ↓
       Test environment
             |
             ↓
          Restore
             |
             ↓
          Recover
             |
             ↓
        Open database

This proves your backup chain.

79. OCM-Level Exercise

Now let’s simulate a real incident.

You have:

Oracle RAC 19c
2 nodes

RAC1 → THREAD 1
RAC2 → THREAD 2

ASM:
+DATA
+RECO

ARCHIVELOG enabled
RMAN backups daily

At:

09:42

a datafile disappears.

Application reports errors.

80. Your First Response

Do not immediately restore.

First:

SELECT name,
       open_mode,
       database_role
FROM v$database;

Then:

SELECT file#,
       name,
       status
FROM v$datafile
ORDER BY file#;

Identify the affected file.

81. Determine Database Impact

Ask:

Is the file SYSTEM?
SYSAUX?
UNDO?
USER data?
TEMP?

This changes the recovery strategy significantly.

For example:

SYSTEM

is much more critical than:

USER tablespace

82. Check RMAN

LIST BACKUP OF DATAFILE <file_number>;

Then:

RESTORE DATAFILE <file_number> VALIDATE;

If validation succeeds:

RESTORE DATAFILE <file_number>;
RECOVER DATAFILE <file_number>;

Then bring it online when appropriate.

83. Check Recovery

After recovery:

SELECT file#,
       name,
       status
FROM v$datafile
WHERE file# = <file_number>;

Then verify:

SELECT *
FROM v$database_block_corruption;

And check application functionality.

84. Post-Incident Analysis

After recovery, don’t simply close the ticket.

Ask:

Why did the file disappear?
Was it storage failure?
ASM failure?
Human error?
Filesystem operation?
SAN issue?

Then:

Why didn't monitoring alert us?

Then:

How long did recovery take?

Finally:

Did we meet RTO?
Did we meet RPO?

This is what turns an incident into operational improvement.

85. Part 24 — Expert RMAN Checklist

Before declaring an Oracle environment production-ready, you should be able to answer:

Backup
✓ What is the backup strategy?
✓ Where are backups stored?
✓ Are backups encrypted?
✓ Is controlfile autobackup enabled?
✓ Is SPFILE protected?
✓ Are archivelogs backed up?
Recovery
✓ Can we restore a datafile?
✓ Can we recover a tablespace?
✓ Can we perform PITR?
✓ Can we recover a controlfile?
✓ Can we recover SPFILE?
✓ Can we perform block recovery?
RAC
✓ Do we understand multiple redo threads?
✓ Are all RAC threads archived?
✓ Can RMAN access shared storage?
✓ Is backup load distributed correctly?
Operations
✓ Is FRA monitored?
✓ Are backups validated?
✓ Are expired backups cleaned?
✓ Is obsolete backup retention correct?
✓ Are restore tests performed?

86. The Expert Mental Model

When you hear:

“The database is down.”

Don’t immediately think:

STARTUP

Think:

What failed?
     ↓
Instance?
     ↓
Database?
     ↓
ASM?
     ↓
Storage?
     ↓
Controlfile?
     ↓
Datafile?
     ↓
Redo?
     ↓
Archivelog?
     ↓
Configuration?

Then determine the minimum recovery action necessary.

That principle is extremely important.

Part 24 — Final Takeaway

The objective of RMAN mastery is not to know 100 RMAN commands.

It’s to be able to look at a failure and immediately determine:

What was lost?
       ↓
What backup do I need?
       ↓
What redo do I need?
       ↓
Can I recover only the affected object?
       ↓
Do I need PITR?
       ↓
Do I need RESETLOGS?
       ↓
What is the safest recovery path?

And after recovery:

Can I prove the database is consistent?
Can I prove the backup was usable?
Can I prove we met RPO/RTO?
Bookmark the permalink.
Loading Facebook Comments ...

Leave a Reply