Académique Documents
Professionnel Documents
Culture Documents
---------------------------------------------------------------------------------------------------------------
Dear Team,
Kindly find the doc containing the steps followed during the Upgradation of
punetest from 9.2.0.5 to 9.2.0.8. Any changes Or suggestion on this will be highly
appreciated.
---------------------------------------------------------------------------------------------------------------
Step 1 : Download and extract the p4547809_9208_AIX64-5L.zip patch set installation archive to a
directory that is not the Oracle home directory or under the Oracle home directory. For example,
Oracle_patch.
Step 2 : Enter the following commands to unzip and extract the installation files:
$ unzip p4547809_9208_AIX64-5L.zip
Now, check the oraInventory.loc, check the location. If the location is not correct, then change it to
the appropriate value
Step 3 : Enter the following commands to set the ORACLE_HOME and ORACLE_SID environment variables:
$ ORACLE_HOME=<oracle_home location>
$ ORACLE_SID=<sid>
$ export ORACLE_HOME ORACLE_SID
$ export PATH=$PATH:$ORACLE_HOME/lib:$ORACLE_HOME/bin:<java location>
Step 4 : Delete the statistics on all of the objects in the SYS schema . This will speed the catupgrade.sql
(Run later as a part of Upgradation )
Step 7: To remove any currently used modules in kernel and library memory, enter the following
command as root:
# /usr/sbin/slibclean
Step 10: Enter following commands to start the Installer where patchset_directory is the directory
where you unzipped the patch set software:
$ <patchset_directory>/Disk1
$ ./runInstaller
SQL> STARTUP
B)
If necessary, set the value of the SHARED_POOL_SIZE initialization parameter to at least 150 MB:
If necessary, set the value of the JAVA_POOL_SIZE initialization parameter to at least 150 MB:
SQL> SHUTDOWN
Step 14: Now startup the database in migrate mode and run the catpatch.sql ( spooled
that also)
Review the patch.log file for errors and inspect the list of components that is displayed at the end
of catpatch.sql script. This list provides the version and status of each SERVER component
in the database. If necessary, rerun the catpatch.sql script after correcting any problems
Step 15: Restart the database:
SQL> SHUTDOWN
SQL> STARTUP
Step 16: Run the utlrp.sql script to recompile all invalid PL/SQL packages now instead
of when the packages are accessed for the first time. This step is optional
but recommended.
SQL> @?/rdbms/admin/utlrp.sql
OR
exec utl_recomp.recomp_parallel(threads=>5)
Step 17: Recollect the statistics after normal database open, if necessary.
SQL> EXECUTE DBMS_STATS.GATHER_SCHEMA_STATS('SYS',degree=>10);
Optional step :
If you are using the Oracle Recovery Manager catalog, enter the following command:
Solution:
(a). Extract the contents of the file oui220180_aix.jar into a newly created directory using: jar -xvf <jarfile> ( For machines
without jar use the unzip utility available in the "Download Notes" section of the patch download page in Metalink.)
chmod -R +x Disk1
(c). Change current path to Disk1/install/aix as:
cd Disk1/install/aix
Run the Installer from the Disk1/install/aix directory as: ./runInstaller. This will launch the Install session for installing
OUI 2.2.0.18.0 to the current ORACLE_HOME.After the installation completes you should verify that the OUI version of
the ORACLE_HOME is 2.2.0.18.0 by running the runInstaller from ORACLE_HOME/bin and clicking on the "About
Oracle Universal Installer" button
2. Now , after the successful completion of OUI patch , When we run the runinstaller ,
we got error
1. Use the following command to identify the process locking the file :
Solution :
Change the ORACLE_HOME location in initmeta.sql
SQL> @initmeta.sql
SQL>