← Oracle administration: recovery, performance, and production
03 / 19 · 110 MIN

Backup and recovery evidence

Distinguish backup execution, validation, and service return.

Concept and mechanism

RESTORE reinstates files from a copy; RECOVER applies required changes to reach the intended state. A recoverable strategy needs more than a completed job: it includes datafiles, control file, configuration, redo, keys, and destination access.

Autobackups and DBID help rebuild context when the usual repository is unavailable. RPO describes tolerated data loss and RTO tolerated recovery time, but writing those objectives does not establish implementation compliance. Recovery-chain preservation and accessibility must be checked for relevant failure points, including loss of the primary environment.

Backup ownership should therefore include evidence that another authorized operator can locate and use the required material.

Guided application

In a fictional rehearsal, CROSSCHECK confirms availability against repository records without performing full restoration. Content validation adds reading and checks but still does not measure the whole operational path. Time restoration, redo application, service configuration, and functional reconciliation.

Record the data point actually recovered. If the FRA is full, identify consumers, retention, and restore points before reclaiming space. Approved expansion or supported cleanup can protect operation; deleting files through the shell can destroy dependencies and leave inconsistent records.

The rehearsal report should distinguish observed results, failures, and unresolved risk. A readable backup and a recovered business service are separate acceptance milestones.

Identify the incremental base

A recovery strategy begins by identifying each backup type. A full backup can contain the same used blocks as an incremental base but does not play the level 0 role in the chain. Record the operation actually executed and its metadata in the ticket; a tag named LEVEL0 does not convert a full backup into an incremental.

Also confirm covered files and availability at the recovery destination. A large backup with a familiar name is insufficient evidence that subsequent incrementals can be applied as planned. Choose the base through the recovery mechanism and time objective rather than size alone.

Differential, cumulative and dependencies

Consider a midnight base and changes through 04:00 and 08:00. A differential level 1 at 08:00 references the latest relevant incremental; a cumulative references level 0. The latest differential alone can therefore omit blocks changed before 04:00 that did not change again.

The 08:00 cumulative gathers blocks changed since the base but still needs that base for remaining blocks. In operational design, measure the trade-off among backup work, storage and number of incrementals to apply. Neither choice automatically removes the need for later redo to reach a newer target.

Tracking and coverage evidence

Block change tracking helps locate changed blocks for incrementals above zero, avoiding a full read just to discover changes. It is neither an independent backup nor a replacement for redo. A level 0 still builds the base; do not diagnose tracking failure merely because that operation reads used blocks.

To accept the strategy, connect base identity, incremental start and end points, and later coverage to the desired recovery point. Validate the result in recovered data. An enabled performance option does not establish that files, keys, catalog, capacity and permissions are available where service must resume.

Executed exercise: six block states

The following code uses integers and dictionaries to expose dependencies. It does not create Oracle backups. At 04:00, blocks 2, 5 and 9 change; at 08:00, blocks 5 and 12 change.

Applying both differentials to the base produces 2=25, 5=59, 9=95 and 12=124. Applying only the second leaves 2=20 and 9=90 although 5 and 12 look correct. The cumulative contains {2,5,9,12} and the latest state of block 5.

Five records transferred across two differentials correspond to four distinct identities, not five final blocks. The complete runner executed twice in Python with 25 checks per run, including state comparisons, preserved inputs and incorrect application order.

From the model to service acceptance

The exercise target is 08:40. After the 08:00 state, changes 6=67 and 12=129 occur. The model reaches the target only after applying them; restoring the base and cumulative does not establish that later point.

In a real banking case, the plan must map required redo and validate business operations, totals and references after recovery. The exercise does not measure Oracle SCNs, redo parsing, RMAN selection, performance or media failures. Reapplying the same dictionary is idempotent in this code but does not authorize replaying financial movements.

Use the model to explain dependencies and database labs to demonstrate the corresponding technical procedure.

# Original teaching model; not an RMAN backup or redo parser.
base = {1:10, 2:20, 5:50, 6:60, 9:90, 12:120}
first = {2:25, 5:52, 9:95}
second = {5:59, 12:124}
later = {6:67, 12:129}
def apply(base, *changes):
    result = base.copy()
    for change in changes:
        result.update(change)
    return result
cumulative = apply(first, second)
at8 = apply(base, first, second)
assert apply(base, cumulative) == at8
assert apply(base, second) != at8
assert cumulative == {2:25, 5:59, 9:95, 12:124}
at840 = apply(at8, later)
assert at840 == {1:10, 2:25, 5:59, 6:67, 9:95, 12:129}
assert apply(base, second)[2] == 20
assert apply(base, second)[9] == 90
IN PRACTICE

Rehearsal: 20 minutes copying + 25 recovery + 20 validation exceed an internal 60-minute RTO.

Common pitfalls

CROSSCHECK as restoration; size as integrity; copy duration as RTO; deleting logs by age.

Related topics: Containers, services, and resources · PDB lifecycle and isolation · Selective recovery and isolated rehearsals

Take this idea with you

A chain establishes the target only when base, intermediate changes and final advancement are covered.

Create account

References

Oracle® is a registered trademark of Oracle and/or its affiliates. bigsavant.com is an independent preparation platform and is not affiliated with, associated with, sponsored, authorised or endorsed by Oracle. Content and questions are original, are not official exam questions, and completing our tests does not award or guarantee any certification. Names are used only to identify the subject. All other trademarks belong to their respective owners.