Oracle 10g Upgradation          

 

ORACLE 10G 
UPGRADATION 

NAME
PLATFORM
VERSION
DATE

:
:
:
:

SURESH.V
ORACLE ENTERPRISE LINUX 5.x 64bit
10.2.0.1.0 to 10.2.0.5.0
02.07.2010

1

ORAFACT

....................................8 1...........................32 Checking Components Version.....3 Oracle Database Upgradation............................................................................3 1...........................................................................................................................................................................................................................................33 Upgrading Database Components...............34 Checking INVALID Objects.........................................22 Running script in root user.............9 1................. Oracle 10g Upgradation             Table of Contents 1............. Oracle 10g Upgradation........8 1........................................................................................................................11 2 ORAFACT .......................................2 Oracle Software Upgradation.....................21 Oracle Universal Installer.....................................................................................................................................................3 1........................11 1.................................................................................................8 1..............................................1 Server Configuration........31 Setting Environment Variable......4 1..................................................................................35 Recompiling INVALID Objects...............7 1..................................................3 1.........

zip README. [suresh@of80 Disk1]$ Oracle Universal Installer. Passed All installer requirements met.5 x86_64 8GB 1TB 10GB of80.2. Oracle 10g Upgradation 1. All rights reserved. asianux-3. SuSE-9.1.. 3 ORAFACT ...2. UnitedLinux-1. Checking installer requirements.orafact. asianux-1.zip) [root@of80 ~]# cd /stage/suresh/10.0..zip Unzip the zip file. C Checking operating system version: must be redhat-3.com 192. Version 10..com(p8202632_10205_Linux-x86-64.htm [suresh@of80 10. enterprise-5 or SuSE-11 . asianux-2. Please wait . Disk1 will be extracted.2 Oracle Software Upgradation Software downloaded from http://connect.0 Production Copyright (C) 1999.5]$ cd Disk1 install patch_note... [suresh@of80 Disk1]$ .168..0. redhat-4. redhat-5.1 Server Configuration Operating System RAM Hard Disk Swap Server Name IP Address : : : : : : Oracle Enterprise Linux 5. Disk1 p8202632_10205_Linux-x86-64..2. enterprise-4... A Preparing to launch Oracle Universal Installer from /tmp/OraInstall2010-07-02_02-57-09PM.5/ [root@of80 ~]# unzip p8202632_10205_Linux-x86-64.0./runInstaller Starting Oracle Universal Installer.5. SuSE-10.80 1.orafact.. Oracle. 2010. redhat-6.0. Oracle 10g Upgradation             1.htm response runInstaller stage Run the runInstaller to start the installation.

21 Oracle Universal Installer Welcome Screen Click Next Specify Home Directory and Click Next 4 ORAFACT . Oracle 10g Upgradation             1.

 Oracle 10g Upgradation             Specify Email ID for Product and Initiate Configuration Manager and Click Next Click Install to Install Patch set 5 ORAFACT .

. Oracle 10g Upgradation             Installation Ongoing. 6 ORAFACT ....... Oracle Configuration Manager will be Configured.

 Oracle 10g Upgradation             Run the Script as root user and Click OK then Click Exit 1.2... Now product-specific root actions will be performed.sh Running Oracle 10g root. The file "coraenv" already exists in /usr/local/bin. 7 ORAFACT .... Software Upgradation Completed Successfully.sh script.0/db_1 Enter the full pathname of the local bin directory: [/usr/local/bin]: The file "dbhome" already exists in /usr/local/bin.2. Overwrite it? (y/n) [n]: y Copying oraenv to /usr/local/bin ..0/db_1/root. The file "oraenv" already exists in /usr/local/bin. R The following environment variables are set as: ORACLE_OWNER= suresh ORACLE_HOME= /d01/oracle/product/10. Overwrite it? (y/n) [n]: y Copying coraenv to /usr/local/bin . Entries will be added to the /etc/oratab file as needed by Database Configuration Assistant when a database is created Finished running generic part of root.sh script..22 Running script in root user [root@of80 ~]# /d01/oracle/product/10.. Overwrite it? (y/n) [n]: y Copying dbhome to /usr/local/bin .

0 10.1.2.31 Setting Environment Variable Set environment variable to startup the database.0.0.32 Checking Components Version Check the database components version.1.1.0 10.1.2.0. C Startup the database in upgrade phase.0.0 10.1. COMP_NAME --------------------------------Oracle Database Catalog Views Oracle Database Packages and Types Oracle Workspace Manager JServer JAVA Virtual Machine Oracle XDK Oracle Database Java Packages Oracle Expression Filter Oracle Data Mining VERSION -------------10.0 10. Oracle 10g Upgradation             1.2.VERSION.env [suresh@of80 ~]$ ssqlplus '/as sysdba' SQL*Plus: Release 10. O Total System Global Area 2432696320 bytes Fixed Size 2098208 bytes Variable Size 520096736 bytes Database Buffers 1895825408 bytes Redo Buffers 14675968 bytes Database mounted. 2010.0 10.2.3 Oracle Database Upgradation 1. SQL> sselect COMP_NAME. 1.Production on Fri Jul 2 15:05:35 2010 Copyright (c) 1982.5.0 . All Rights Reserved.2.1.STATUS from dba_registry.2.2. Database opened.1. SQL> startup upgrade ORACLE instance started. moon. [suresh@of80 ~]$ . C Connected to an idle instance.0.0 10.0. Oracle.0.1.0.2.0 8 STATUS ---------------VALID VALID VALID VALID VALID VALID VALID VALID ORAFACT .0 10.0.2.

*************** TIMESTAMP -------------------------------------------------------------------------------COMP_TIMESTAMP UPGRD_END 2010-07-02 15:26:52 Total Upgrade Time: 00:13:41 DOC>####################################################################### DOC>####################################################################### DOC> DOC> The above PL/SQL lists the SERVER components in the upgraded DOC> database. ****** Grant succeeded.sql to recompile any invalid application objects. PL/SQL procedure successfully completed.0 10. or any components are not VALID or not the current version.1.1. G View created.2.0.2.0 10.1.33 Upgrading Database Components To upgrade the database components run 'catupgrd.2.0.2. Oracle 10g Upgradation           Oracle Text Oracle XML Database Oracle Rule Manager Oracle interMedia OLAP Analytic Workspace Oracle OLAP API OLAP Catalog Spatial Oracle Enterprise Manager   10. DOC> consult the Oracle Database Upgrade Guide for troubleshooting DOC> recommendations.0 10. S Package body created. DOC> DOC> Next shutdown immediate.2.0 10. 9 ORAFACT .0.0 10.0.0 10.1.1. restart for normal operation.sql' script from $ORACLE_HOME/rdbms/admin SQL> @$ORACLE_HOME/rdbms/admin/catupgrd.2.0 10.0.0.2.1.0 10. If there are errors in the spool DOC> file.1.0. V Synonym created.1.1. along with their current version and status.2. and then DOC> run utlrp.2.0.0 VALID VALID VALID VALID VALID VALID VALID VALID VALID 1. DOC> DOC> Please review the status and version columns and look for DOC> any errors in the spool log file.sql.0.

2.0 10.0.2.5.5.2.2.5.0.0. Oracle 10g Upgradation             DOC> DOC>####################################################################### DOC>####################################################################### Verify the database components version after upgrade the database.0 10.0.0 10.0 10.0.0.0 10. SQL> startup ORACLE instance started. 10 ORAFACT .2.0.0 10. SQL> sselect COMP_NAME. ORACLE instance shut down.5.0.5.0 10.2.0. Database dismounted.0. Database opened.0.2.0.5. COMP_NAME --------------------------------Oracle Database Catalog Views Oracle Database Packages and Types Oracle Workspace Manager JServer JAVA Virtual Machine Oracle XDK Oracle Database Java Packages Oracle Expression Filter Oracle Data Mining Oracle Text Oracle XML Database Oracle Rule Manager Oracle interMedia OLAP Analytic Workspace Oracle OLAP API OLAP Catalog Spatial Oracle Enterprise Manager VERSION -------------10.0 STATUS ---------------VALID VALID VALID VALID VALID VALID VALID VALID VALID VALID VALID VALID VALID VALID VALID VALID VALID Shutdown normally and startup the database in open phase.0.0 10.0 10.5.VERSION.2.2.0.2.2.2.0.2.5.0.5.0 10.5.5.0 10.5.0 10. O Total System Global Area 2432696320 bytes Fixed Size 2098208 bytes Variable Size 553651168 bytes Database Buffers 1862270976 bytes Redo Buffers 14675968 bytes Database mounted.0 10.0 10.2.0 10.5.2.5.2.5.5.0. SQL> shutdown immediate Database closed.0 10.2.STATUS from dba_registry.5.

sql. SQL> sselect count(*) from dba_objects where status='INVALID'.34 Checking INVALID Objects Check the database objects status. The database upgradation completed successfully.sql' from $ORACLE_HOME/rdbms/admin SQL> @$ORACLE_HOME/rdbms/admin/utlrp. COUNT(*) ---------0 There is no INVALID database objects.35 Recompiling INVALID Objects To recompile those objects run the script 'utlrp. ********************************** End of Document ********************************* 11 ORAFACT . 1. Oracle 10g Upgradation             1. We have to recompile if INVALID. SQL> sselect count(*) from dba_objects where status='INVALID'. COUNT(*) ---------362 There are 362 INVALID database objects available.

Sign up to vote on this title
UsefulNot useful