Patching Oracle Database 12c Release 1 Without Downtime
This procedure explains how to patch Oracle Database 12c release 1 (12.1.0.2) with the latest patching without bringing down the database.
Before You Begin
You have an Oracle Database db12102
that you want to patch to the latest patch level.
Ensure that the working copy db12102_psu
based on the image DB12102_PSU
contains the latest patches and is available.
Procedure
From the Fleet Patching and Provisioning Server, run one of the following commands as per your source and destination database:
For all Oracle Databases, you can also specify these additional options with the move database
command:
-
-keepplacement
: For admin-managed Oracle RAC Databases (not Oracle RAC One Node Database), Fleet Patching and Provisioning retains the services on the same nodes after the move. -
-disconnect
: Disconnects all sessions before stopping or relocating services. -
-drain_timeout
: Specify the time, in seconds, allowed for resource draining to be completed for planned maintenance operations. During the draining period, all current client requests are processed, but new requests are not accepted. This option is available only with Oracle Database 12c release 2 (12.2) or later. -
-stopoption
: Stops the database. -
-nodatapatch
: Ensuresdatapatch
is not run for databases you are moving.
Watch a video
Parent topic: Fleet Patching and Provisioning Use Cases