Apply Software Updates

Well-planned, tested, and properly executed software updates are crucial to maximizing uptime and minimizing business disruption. Wherever possible, Oracle recommends out-of-place, gold image-based patching—especially for clustered systems—to ensure safe rollbacks and rapid issue resolution.

Key Practices

Software Update Method Selection: Benefits and Tradeoffs

Table 1 Database Software on Non-Clustered Systems (Standalone Hosts)

Method Benefits/Tradeoffs

Out-of-place (gold image) with DBCA/DBCACTL or AutoUpgrade

(Recommended)

  • Fast, simple, easy rollback
  • Requires extra disk space
$ dbca -moveDatabase -sourceDB  -silent
Online hot patch with OPatch
  • No database downtime or database connection disruption
  • Patching is done in-place in the existing database home
  • Limited to supported patches (MRP/interim)

Table 2 Database Software on Clustered Systems (Oracle RAC/Exadata)

Method Benefits/Tradeoffs

Out-of-place (gold image), RAC rolling with FPP or EM

(Recommended)

  • Fast, simple, full cluster orchestration, easy rollback
  • Requires extra disk space
$ rhpctl move database -sourcewc  -patchedwc 
Online hot patch with FPP
  • No database downtime or database connection disruption
  • Patching is done in-place in the existing database home
  • Limited to supported patches (MRP/interim)
Non-rolling with FPP
  • All updates applied at once, reduced planned maintenance time
  • Full database downtime

Table 3 Grid Infrastructure Software on Clustered Systems (Oracle RAC/Exadata)

Method Benefits/Tradeoffs

Out-of-place (gold image), Oracle RAC rolling with FPP

(Recommended)

  • Fast, simple, full cluster orchestration, easy rollback
  • Requires extra disk space
$ rhpctl move gihome -sourcewc  -destwc 
Zero-downtime out-of-place (gold image), Oracle RAC rolling with FPP
  • No database connection disruption
  • Requires extra disk space
$ rhpctl move gihome -sourcewc  -destwc  -tgip

Table 4 Exadata System Software

Method Benefits/Tradeoffs

Rolling update with patchmgr or FPP

(Recommended)

  • Storage servers
  • Database servers
  • Network fabric switches
  • No database downtime, simple, full system orchestration
$ patchmgr --dbnodes  --repo  --upgrade --target_version  --rolling

Live update with patchmgr or FPP

  • Database servers
  • No database connection disruption, supports partial updates to address security issues
  • Outstanding work update items cannot be completed online and require a system reboot
$ patchmgr --dbnodes  --repo  --upgrade --target_version  --rolling --live-update-target full

Non-rolling with patchmgr or FPP

  • Storage servers
  • Database servers
  • Network fabric switches
  • All updates applied at once, reduced planned maintenance time
  • Full system downtime