Upgrading Oracle Databases
Upgrading Oracle Databases
By Ahmed Baraka
Test the Upgrade Process • Conduct the test upgrade in an environment created for
testing that does not interfere with the production database.
UpgradeDatabase
Tune and Adjust the •Production the production database to the new
release of Oracle Database using the planned
tool.
12.1.0.2 18c
12.2.0.1 19c
18c
GRP
Preupgrade
Prechecks
Prefixups
Drain
DBUpgrade
Postchecks
Postfixups
Postupgrade
Oracle Database Administration from Zero to Hero- a course by Ahmed Baraka
Using AutoUpgrade Utility on Upgrading Single-
instance Database in the Same Machine
1. Obtain the latest version of AutoUpgrade from MOS Doc ID 2485457.1
2. Download the new Oracle Database software and install it in a new
separate home directory
3. Create a configuration file for the AutoUpgrade utility
4. Run the AutoUpgrade utility in ANALYZE mode
5. Implement the fixups
6. Run the AutoUpgrade utility in DEPLOY mode
7. Implement post-upgrade actions
• Example:
global.autoupg_log_dir=/home/oracle/autoupgrade/
19c21c.source_home=/u01/app/oracle/product/19.0.0/db_1
19c21c.target_home=/u01/app/oracle/product/21.0.0/db_1
19c21c.sid=oradb
• State Messages:
Message Type Description
ABORTED AutoUpgrade stopped performing the stage workflow, in response to a user request
ERROR An error was encountered while the stage workflow was being performed.
FINISHED AutoUpgrade successfully completed the workflow for the stage
RUNNING AutoUpgrade is performing the stage workflow