Download Patch 126.96.36.199
Check the database name and current version
Sql> select name from v$database;
Sql> select * from v$version;
Make dir new oracle home for 188.8.131.52
$mkdir -P /u02/app/oracle/product/184.108.40.206/db_4
Install patch (p10404530)
su – oracle
$ ./runinstaller -silent -force -responsefile <response file location>
Pre upgrade Step
* Change to the directory where utlu112i.sql had been copied in the previous step.
* Start SQL*Plus and connect to the database instance as a user with SYSDBA privileges. Then run and spool the utlu112i.sql file. Please note that the database should be started using the source Oracle Home .
Sqlplus / as sysdba
Sql> spool /tmp/upgrade_info.log
Sql> spool off
Check for the integrity of the source database.
Check for the integrity of the source database prior to starting the upgrade by downloading and running the dbupgdiag.sql script from the My Oracle Support article below:
$ sqlplus / as sysdba
If the dbupgdiag.sql script reports any invalid objects, run $ORACLE_HOME/rdbms/admin/utlrp.sql (multiple times) to validate the invalid objects in the database until there is no change in the number of invalid objects.
Upgrading to 220.127.116.11
Before upgrade take Rman cold backup.
export PATH =$ORACLE_HOME/bin:$PATH
Edit /etc/oratab file with new oracle home entry
Sqlplus ‘/ as sysdba’
Sql > startup upgrade
Sql > spool /tmp/upgrade.log
Sql > @catupgrd.sql
Sql > spool off
Run the Post-Upgrade Status Tool $ORACLE_HOME/rdbms/admin/utlu112s.sql which provides a summary of the upgrade at the end of the spool log. It displays the status of the database components in the upgraded database and the time required to complete each
component upgrade. Any errors that occur during the upgrade are listed with each component and must be addressed.
Sqlplus “/ as sysdba”
Sql > utlu112s.sql
Run catuppst.sql, located in the $ORACLE_HOME/rdbms/admin directory, to perform upgrade actions that do not require the database to be in UPGRADE mode
Sql > @catuppst.sql
This script can be run concurrently with utlrp.sql. Run utlrp.sql to recompile any remaining stored PL/SQL and Java code in another session.
Upgrade Statistics Tables Created by the DBMS_STATS Package.
If you created statistics tables using the DBMS_STATS.CREATE_STAT_TABLE procedure, then upgrade these tables by executing the following procedure: