11
jorge.batista@premier research.com Page 1 | 11 Step by Step Oracle11g Out-Of-Place Upgrade from 11.2.0.3 to 11.2.0.4 on Windows 2008R2 By Jorge Batista [email protected]

Step by Step Oracle11g out of-place upgrade from 11.2.0.3 to 11.2.0.4

Embed Size (px)

Citation preview

Page 1: Step by Step Oracle11g out of-place upgrade from 11.2.0.3 to 11.2.0.4

j o r g e . b a t i s t a @ p r e m i e r ‐ r e s e a r c h . c o m       P a g e  1 | 11 

 

 

 

 

 

 

 

Step by Step Oracle11g Out-Of-Place Upgrade from 11.2.0.3 to 11.2.0.4 on Windows 2008R2 By Jorge Batista [email protected]  

 

 

 

 

 

 

 

   

Page 2: Step by Step Oracle11g out of-place upgrade from 11.2.0.3 to 11.2.0.4

j o r g e . b a t i s t a @ p r e m i e r ‐ r e s e a r c h . c o m       P a g e  2 | 11 

 

Oracle recommends when upgrading to Oracle Database 11g R2 (11.2) that you perform an out‐

of‐place mode upgrade, which installs the new software into a new Oracle home. This means 

that you provide a different Oracle home location for the new upgrade 

 

1. Installing the New Oracle Database Software into a new Oracle home 

2. Run the Pre‐Upgrade Information Tool before you upgrade 

The Pre‐Upgrade Information Tool is a SQL script included with Oracle Database 11g 

Release 2 (11.2) software ( under \11g_ORACLE_HOME\rdbms\admin) 

Start SQL*Plus  Connect to the database instance as a user with SYSDBA privileges  Spool results to a log file for later analysis  SQL> SPOOL pre‐upgrade‐info.log  Run the Pre‐Upgrade Information Tool 

SQL> @E:\oracle\product\11.2.0\db11204\RDBMS\ADMIN\utlu112i.sql 

SQL> SPOOL OFF  Check the output of the Pre‐Upgrade Information Tool 

   

Page 3: Step by Step Oracle11g out of-place upgrade from 11.2.0.3 to 11.2.0.4

j o r g e . b a t i s t a @ p r e m i e r ‐ r e s e a r c h . c o m       P a g e  3 | 11 

 

 

Upgrading with Database Upgrade Assistant 

3. The DBUA Welcome screen displays 

Click Next to continue 

 

 

   

Page 4: Step by Step Oracle11g out of-place upgrade from 11.2.0.3 to 11.2.0.4

j o r g e . b a t i s t a @ p r e m i e r ‐ r e s e a r c h . c o m       P a g e  4 | 11 

 

4. The Select Database page appears, listing the databases available for upgrade 

Select the database you want to upgrade (You can select only one database at a time) 

Click Next to continue 

 

   

Page 5: Step by Step Oracle11g out of-place upgrade from 11.2.0.3 to 11.2.0.4

j o r g e . b a t i s t a @ p r e m i e r ‐ r e s e a r c h . c o m       P a g e  5 | 11 

 

5. The Upgrade Options screen displays 

Select Recompile invalid objects at the end of upgrade 

Select Backup database ONLY if you want DBUA to back up your database for you 

Click Next to continue 

 

   

Page 6: Step by Step Oracle11g out of-place upgrade from 11.2.0.3 to 11.2.0.4

j o r g e . b a t i s t a @ p r e m i e r ‐ r e s e a r c h . c o m       P a g e  6 | 11 

 

6. The Move Database Files screen displays 

Select Do Not Move Database Files as Part of Upgrade 

Click Next to continue 

 

   

Page 7: Step by Step Oracle11g out of-place upgrade from 11.2.0.3 to 11.2.0.4

j o r g e . b a t i s t a @ p r e m i e r ‐ r e s e a r c h . c o m       P a g e  7 | 11 

 

7. The Recovery and Diagnostic Locations screen displays 

Accept the default flash recovery area location 

Click Next to continue 

 

 

   

Page 8: Step by Step Oracle11g out of-place upgrade from 11.2.0.3 to 11.2.0.4

j o r g e . b a t i s t a @ p r e m i e r ‐ r e s e a r c h . c o m       P a g e  8 | 11 

 

8. The Summary screen appears 

Click Finish if everything is correct 

 

 

   

Page 9: Step by Step Oracle11g out of-place upgrade from 11.2.0.3 to 11.2.0.4

j o r g e . b a t i s t a @ p r e m i e r ‐ r e s e a r c h . c o m       P a g e  9 | 11 

 

 

9. The Progress screen displays 

 

 

 

 

   

Page 10: Step by Step Oracle11g out of-place upgrade from 11.2.0.3 to 11.2.0.4

j o r g e . b a t i s t a @ p r e m i e r ‐ r e s e a r c h . c o m       P a g e  10 | 11 

 

10. Upgrade Results screen displays 

 

Page 11: Step by Step Oracle11g out of-place upgrade from 11.2.0.3 to 11.2.0.4

j o r g e . b a t i s t a @ p r e m i e r ‐ r e s e a r c h . c o m       P a g e  11 | 11