0 Bewertungen0% fanden dieses Dokument nützlich (0 Abstimmungen)
123 Ansichten20 Seiten
The document outlines the steps to upgrade an Oracle database from version 11.2.0.1 to 11.2.0.3, which includes taking a full backup, installing the new version in a separate Oracle home, running pre-upgrade scripts, configuring the database environment for the upgrade, upgrading to 11.2.0.2, running post-upgrade scripts, changing the compatibility parameter, and ensuring the listener is started from the new Oracle home.
Originalbeschreibung:
Database Upgradation.
Originaltitel
Upgrade Database From 11.2.0.1 to 11.2.0.3 (IDM DEV Database)
The document outlines the steps to upgrade an Oracle database from version 11.2.0.1 to 11.2.0.3, which includes taking a full backup, installing the new version in a separate Oracle home, running pre-upgrade scripts, configuring the database environment for the upgrade, upgrading to 11.2.0.2, running post-upgrade scripts, changing the compatibility parameter, and ensuring the listener is started from the new Oracle home.
The document outlines the steps to upgrade an Oracle database from version 11.2.0.1 to 11.2.0.3, which includes taking a full backup, installing the new version in a separate Oracle home, running pre-upgrade scripts, configuring the database environment for the upgrade, upgrading to 11.2.0.2, running post-upgrade scripts, changing the compatibility parameter, and ensuring the listener is started from the new Oracle home.
After Installing 11.2.0.3 , Go to 11.2.0.1 database and run : Connect as sys SQL> spool pre_upgrade.log SQL> @ORACLE_HOME/rdbms/admin/utlu112i.sql SQL> spool off
To check Data Dictionary
Connect as sys SQL> EXECUTE dbms_stats.gather_dictionary_stats;
To Fix invalid Object in the database :
connect as sys SQL> @$ORACLE_HOME/rdbms/admin/utlrp.sql
12
Author Ulaganathan Muthiah
Upgrade Database from 11.2.0.1 to 11.2.0.3
(IDM Dev Database)
4. Create pfile from spfile
13
Author Ulaganathan Muthiah
Upgrade Database from 11.2.0.1 to 11.2.0.3
(IDM Dev Database)
5. Configure the 11.2.0.1 database environment for 11.2.0.3 Upgrade
Copy the following Files to New Home 11.2.0.3 : Spfile/Pfile/init.ora orapwd tnsname.ora Listener.ora OC4J Home (ORACLE_HOME/oc4j/j2ee/OC4J_DBConsole_) Only if you have enterprise manager
14
Author Ulaganathan Muthiah
Upgrade Database from 11.2.0.1 to 11.2.0.3
(IDM Dev Database)
6. Installation will start, wait till its completion.
Set The environment to 11.2.0.3 by editing .bash_profile export ORACLE_HOME=/data/apps/oracle/app/product/11.2.0/dbhome_1/dbs export ORACLE_SID=exuat Note : Replace the Path , LD_Library_Path to new Home . 7. Edit adudit,diag destinatiuon as per new home in the init file 8. Upgrade 11.2.0.1 database to 11.2.0.2 sqlplus / as sysdba spool upgrade.log startup upgrade set echo on @?/rdbms/admin/catupgrd.sql; spool off shutdown immediate
15
Author Ulaganathan Muthiah
Upgrade Database from 11.2.0.1 to 11.2.0.3
(IDM Dev Database)
16
Author Ulaganathan Muthiah
Upgrade Database from 11.2.0.1 to 11.2.0.3
(IDM Dev Database)
9. Run Post upgrade script
sqlplus / as sysdba @/opt/app/oracle/product/11.2.0.2/rdbms/admin/catuppst.sql; select comp_name,version,status from dba_registry; select owner,count(*) from dba_objects where status != VALID group by owner;