← Oracle administration: recovery, performance, and production
07 / 19 · 135 MIN

Patches, upgrades, and handover

Plan installation, validation, and return with explicit boundaries.

Concept and mechanism

A software change combines binaries, configuration, and database SQL state. Preparing a new Oracle home moves work ahead of the window but guarantees neither zero downtime nor rollback through a simple directory switch. Follow patch and topology instructions.

OPatch inventory describes binaries; datapatch and SQL records demonstrate corresponding SQL actions. Check every affected database and PDB, including those previously closed. Oracle Restart manages component restart in a single-instance environment and respects dependencies; it does not create a cluster or replace continuity planning when the host is lost.

These boundaries should be clear in the change plan before contributors estimate effort and outage duration.

Guided application

In a fictional upgrade, use analysis and logs to resolve blockers before deployment. Successful DBCA creation does not establish accepted backup, security, and services. Confirm paths, network, wallets, and permissions in the new home.

Raising COMPATIBLE can remove downgrade and limit Flashback; do not promise simply to lower the value. Treat that decision as an explicit milestone after application and recovery validation. Set a go-or-return deadline including restoration and reconciliation time.

Handover should provide inventory, per-container results, validation queries, owners, alerts, and support procedure. A change finishes when service meets agreed criteria rather than when a process starts. Keep evidence accessible to the team operating the next shift.

Readiness has context and validity

Retain AutoUpgrade version, used configuration, source, target and job identifier. Analyze gathers checks through queries; that does not mean a READ WRITE database stops receiving normal writes. In CDBs, the tool can open PDBs for analysis and leave them open.

Define scope before execution. Fixups can change the source, performs automated corrections and does not itself create a GRP in that preparatory mode. Read results and address actions without an automated fix.

A report produced before a storage change does not establish readiness afterward. With Fast Deploy, separating prechecks and prefixups from the window requires controlling drift between preparation and cutover.

Preparation, execution and dependencies

create_home prepares software; it does not establish that the instance already uses the new directory. Deploy and Upgrade have different stage sets. If choosing the latter to reduce work inside the window, establish that omitted dependencies were handled.

A payments PDB priority does not bypass structural root and seed sequencing. AutoUpgrade Patching also does not automatically move the listener: identify its location and management before retiring the old home. Inspect maintenance jobs, PATH and library variables; the DBA shell can be correct while the scheduler still uses the old environment.

A manual-script runbook from another release needs review against the supported 26ai workflow.

Read patch attempts

DBA_REGISTRY_SQLPATCH records attempts rather than just one final row per patch. Relate PATCH_ID, ACTION, STATUS, ACTION_TIME and LOGFILE while retaining the database and container identity where results were collected. INSTALL_ID groups a datapatch invocation and can include several patches.

An old error followed by APPLY SUCCESS must not be described as a current failure without reading the sequence. Likewise, ROLLBACK SUCCESS means the rollback action completed, not that the patch was applied. Preserve history and investigate the relevant attempt log.

A SUCCESS row at root does not replace evidence for PDBs included in the plan. Separate missing collection, an action with errors and a completed action in the report.

Post-change acceptance and return

Automatic recompilation of Oracle-maintained objects does not establish that application packages became valid. Check user objects, remaining errors and representative operations. If timezone_upg=no, record the deferred task with an owner and window; plausible SYSDATE does not establish time-zone file version.

Gather fixed-object statistics with representative workload, not immediately after an empty upgrade. With Data Guard, validate transport, apply and current lag against agreed criteria. Inspect each database effective COMPATIBLE and history; the marketed name does not resolve different defaults or retained values.

Returning also depends on topology and the GRP’s current existence. Moving to another server does not automatically inherit the tool’s original-host restore capability.

Worked exercise: change record

In the synthetic table, patch U7 has APPLY WITH ERRORS at 01:10 in FUNDS, APPLY SUCCESS at 01:20 in FUNDS and ROLLBACK SUCCESS at 01:35 in REPORT. Resolve by container: FUNDS has a successful application after the error; REPORT has successful rollback and must not appear as a proven current application.

The home was prepared at 00:30, but that does not prove the active executable. Package APP_NAV remains INVALID and standby lag was collected only at 23:50 before the window. Overall acceptance remains pending those points.

At 01:40, the operator must hand over logs, pending work, owners and remaining time rather than only “patch done”. These data are fictional: this exercise executed no AutoUpgrade, datapatch, RAC or Data Guard.

SYNTHETIC RECORD
00:30 create_home completed
01:10 FUNDS U7 APPLY WITH ERRORS install=71
01:20 FUNDS U7 APPLY SUCCESS install=72
01:35 REPORT U7 ROLLBACK SUCCESS install=73
01:40 APP_NAV INVALID; lag only collected at 23:50

Conclusion: interpret action and container; overall acceptance pending.
IN PRACTICE

Correct binary inventory + updated root do not establish that two closed PDBs received SQL actions.

Common pitfalls

New home as universal rollback; root as every PDB; reversible COMPATIBLE; restart as DR.

Related topics: Containers, services, and resources · PDB lifecycle and isolation · Backup and recovery evidence

Take this idea with you

Accept the change with evidence for stages, containers, application and continuity, retaining a demonstrable return path.

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.