Upgrade Oracle 11g

download Upgrade Oracle 11g

of 3

description

Upgrade to Oracle 11g 11.2.0.4

Transcript of Upgrade Oracle 11g

Upgrade oracle 11.2.0.1 to 11.2.0.4

Software informationPatch 13390677: 11.2.0.4.0 PATCH SET FOR ORACLE DATABASE SERVERProduct Oracle Database - Enterprise EditionOracle Server - Standard EditionHide Release Oracle 11.2.0.4.0Platform IBM AIX on POWER Systems (64-bit)Size 7.3 GB

Download software from oracle support

1.Oracle 11.2.0.4 Database Software Installation2.Navigate to directory where database software was unzipped3.As root user, run rootpre.sh4.As Oracle user, ensure all ORCALE* and TNS* variables are unset5.Create required install directory6.Ensure Xwindows settings are correct7.Run the OUI, ./runInstaller8.Leave blank and click next. This will cause a new error dialogue box to appear, click yes to continue9.Select skip software updates and click next.10.Select install database software only and click next. (Upgrade to database will be a manual process covered in the next section)11.Ensure English is selected and click next12.Select Enterprise edition and click next13.Specify Install location for new database OHOME and click next14.Click next. The installer will now perform some pre requisite checks. If server has been configured correctly there should be no failures/warnings reported15.Check summary screen and click install16.Once the software has installed ok, you will be asked to run a script as the root user, 11g-OHOME/root.sh.17.Oracle 11.2.0.4 Database Software Installation completed

check the last night backup of the database and archive logs

Run dbupgdiag.sql script and follow and recomendations e.g. Pre process audit records via Audit_Pre_Process.sql

SQL> EXECUTE dbms_stats.gather_dictionary_statsSQL> PURGE DBA_RECYCLEBINSQL> @$11g_ORACLE_HOME/rdbms/admin/utlrpLogin to sqlplus as sys and create a spool fileSQL> @$11g_ORACLE_HOME/rdbms/admin/utlu112i.sqlSpool off and check output file for any issues, fix issues and run suggest routines"startup database in mount mode, Create restore point:SQL> create restore point BEFORE_UPGRADE guarantee flashback database;"Start db upgrade assistant @$11g_ORACLE_HOME/bin/dbuaConfirm no warning are displayed from pre-check script, act on any warningsselect database to be upgradedselect degree of parallelism for recompileselect upgrade Timezone version and Timestamp with Time Zone dataAccept and proceed with upgradeMonitor upgrade process for any run time errors, validate completion reportUPGRADE COMPLETESQL> drop restore point BEFORE_UPGRADE

set compatible parameter to 11.2.0.4Analyze all schemas - Objects analyzed with 100% Sample set and system stats removed

You need to perform an out of place upgrade.

1. Install 11.2.0.4 on a different home2. run the pre-upgrade tool on the existing 11.2.0.1 database3. peform the pre-requisities mentioned4. Bring down the database from 11.2.0.1 and start the database in upgrade mode from 11.2.0.4 home by copying the pfile/spfile of 11.2.0.1 database to $11.2.0.4_HOME/dbs path5. startup upgrade and run the catupgrd.sql

Make sure you look out for the invalid objects.

Refer *Complete checklist for out-of-place manual upgrade from previous 11.2.0.N version to the latest 11.2.0.N patchset. [ID 1276368.1]

and

Database Upgrade Path Reference List(Doc ID 730365.1)

. Install 11.2.0.4.0 rdbms software11.2.0.4 patch set is a full release. There is no need to install 11.2.0.1 softwareSee Note 1189783.1 Important Changes to Oracle Database Patch Sets Starting With 11.2.0.2

Beginning with the release 11.2.0.2 patch set, you have two ways to apply a patch set :- Out-of-place upgrade (Recommended)- In-place upgrade

See Note 1276368.1 : Complete checklist for out-of-place manual upgrade from previous 11.2.0.N version to the latest 11.2.0.N patchset

The software can be downloaded from My Oracle support: Patch:13390677

Please select your platform before downloading (Click on "Platform or Language" drop down menu)

if the platform name contains (32-bit) then it's 32-bit 11.2.0.4 client version

To install 11.2.0.4, you must download both p13390677_112040__1of7.zipand p13390677_112040__2of7.zip

= your platform( ie for linux x86, download p13390677_112040_LINUX_1of7.zip andp13390677_112040_LINUX_2of7.zip )

Note 1194734.1 : Where do I find that on My Oracle Support (MOS) [Video]Note 549617.1 : How To Verify The Integrity Of A Patch/Software Download? [Video]Note 169706.1 : Oracle Database Installation and Configuration Requirements Quick Reference (8.0.5 to 11.2)Note 551141.1 : Database Server Upgrade/Downgrade Compatibility Matrix

2. Finish the post installation steps as per the patchset README (readme.html).

REFERENCE: 11.2.0.4 Patch Set - Availability and Known Issues Note:1562139.1 11.2.0.4 Patch Set - List of Bug Fixes by Problem TypeNote 1562142.1Actions For DST Updates When Upgrading To Or Applying The 11.2.0.4 Patchset Note 1579838.1