After backing up the database that you want to upgrade, prepare the new Oracle home in a new location. Install the software for the new Oracle Database release into the new location.
(Manual upgrades only) Copy configuration files from the Oracle home of the database being upgraded to the new release Oracle Database Oracle home. If you are using DBUA, then you can ignore this step, because the configuration files are copied for you automatically.
Use the following procedure to copy configuration files to the new Oracle home:
If your parameter file resides within the old environment Oracle home, then copy it to the new Oracle home. By default, Oracle looks for the parameter file in the
ORACLE_HOME/dbsdirectory on Linux or UNIX platforms and in the
ORACLE_HOME\databasedirectory on Windows operating systems. After upgrade, the parameter file can reside anywhere else, but it cannot reside in the Oracle home of the old environment.
If necessary, create a text initialization parameter file (
PFILE) from the server parameter file (
SPFILE) so that you can edit the initialization parameters.
If your parameter file resides within an Oracle ASM instance, then back up the parameter file using the following command:
CREATE pfile FROM spfile;
If you must downgrade the database and your
SPFILEresided within Oracle ASM, then you must restore the parameter file before the downgrade.
If your parameter file is a text-based initialization parameter file with either an
IFILE(include file) or a
SPFILE(server parameter file) entry, and the file specified in the
SPFILEentry resides within the old environment Oracle home, then copy the file specified by the
SPFILEentry to the new Oracle home. The file specified in the
SPFILEentry contains additional initialization parameters.
If you have a password file that resides within the old environment Oracle home, then move or copy the password file to the new Oracle home.
The name and location of the password file are operating system-specific. Where
SIDis your Oracle instance ID, you can find the password file in the following locations:
Linux or UNIX platforms: The default password file is
orapw SID. It is located in the directory
Windows operating systems: The default password file is
pwdSID.ora. It is located in the directory
Adjust your parameter file in the new Oracle Database release by completing the following steps:
Remove desupported initialization parameters and adjust deprecated initialization parameters. In new releases, some parameters are desupported, and other parameters are deprecated. Remove all desupported parameters from any parameter file that starts the new Oracle Database instance. Desupported parameters can cause errors in new Oracle Database releases. Also, alter any parameter whose syntax has changed in the new release.
The Pre-Upgrade Information Tool displays any deprecated parameters and desupported parameters it finds in the Deprecated Parameters and Desupported Parameters sections, respectively.
Adjust the values of the initialization parameters to at least the minimum values indicated by the Pre-Upgrade Information Tool.
Make sure that all path names in the parameter file are fully specified. You should not have relative path names in the parameter file.
If the parameter file contains an
IFILEentry, then change the
IFILEentry in the parameter file. The
IFILEentry should point to the new location text initialization parameter file that you specified in step 1. Also edit the file specified in the
IFILEentry in the same way that you edited the parameter file in step 1.
If you are upgrading a cluster database, then if necessary, you can modify the
After making these parameter file adjustments, make sure that you save all of the files that you modified.
(Manual upgrades only) If you are upgrading a cluster database, and you are not using Database Upgrade Assistant (DBUA) then you must manually separate the database instance from the cluster. Set the CLUSTER_DATABASE initialization parameter to
false. After the upgrade, you must set this initialization parameter back to
true. If you are using DBUA, then the assistant takes care of this task for you.