Professional Documents
Culture Documents
The steps for a manual upgrade to the Oracle Database 10g database
version are briefly listed here,
Check out the upgrade.log spool file to see if you meet all upgrade
requirements.
Copy your current init.ora file to its default location in the new
Oracle Database 10g Release 2 home
($ORACLE_HOME/dbs). You should also make the changes that the Pre-
Upgrade information tool recommended. Remove all obsolete and
deprecated parameters and add the new parameters, such as SGA_TARGET,
which automates shared memory management.
Log in as a user with SYSDBA privileges & run the upgrade script.
SQL> @$ORACLE_HOME/rdbms/admin/catupgrd.sql
SQL> @$ORACLE_HOME/rdbms/admin/utlrp.sql
Once it has validated all the invalid objects, the utlrp.sql script
validates each individual component in the database and updates the
DBMS_SERVER_REGISTRY view.
Note :
You can revert to the older database as long as you have a backup of the database
made before starting the upgrade process. It's vital to have a backup, since the
upgrade process may fail before it's completed, leaving you with a database that
won't be functional under the pre- or post-upgrade version of Oracle.
After the upgrade process completes, you must run the Post-upgrade
Status Tool, using the following script:
SQL>@utlu102s.sql
Output from the Post-Upgrade Status Tool Pointing out a problem with
a component
Caution
Don't start the newly upgraded database under the old Oracle home
– this corrupts your database.
After the upgrade script had finished. You can turn off the
spooling of the upgrade process.
You can now shutdown and restart the instance so you're ready for
normal database operations.