Solved

upgrade a database from 10.2.0.3 to 10.2.0.5

Posted on 2010-09-22
10
2,875 Views
Last Modified: 2013-12-18
we have 2 databases in a single oracle home. These databases are in 10.2.0.3
I would like to upgrade one database to 10.2.0.5.
Can anybody thow me a light on how to acheive this?
0
Comment
Question by:ramavenkatesa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 5
10 Comments
 
LVL 35

Expert Comment

by:johnsone
ID: 33737622
If you only want to upgrade one database, you would create a new Oracle home.  Put 10.2.0.3 in the new home.  Move the database to be upgraded to the new home and run the upgrade.
0
 

Author Comment

by:ramavenkatesa
ID: 33737862
can you please give me the summary of that procedure how to do that?
0
 
LVL 35

Accepted Solution

by:
johnsone earned 500 total points
ID: 33737913
In a UNIX type environment, it should be pretty easy.

Create a new directory to hold the Oracle home, if the old one is /app/oracle/product/10.2, create /app/oracle/product/10.2.0.5.

Install Oracle with the same options into the new ORACLE_HOME.  Be sure to copy over spfile, listener.ora, tnsnames.ora, etc.

Change the oratab (usually located in /etc) for the database to be upgraded to point to the new home.

Shut down the database to be upgraded.

Use the oraenv script to change to the new home.

Start up the database in the new home.

Run the upgrade.

0
MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

 

Author Comment

by:ramavenkatesa
ID: 33738248

In one of the steps, u mentioned install oracle with same options.
can i use this procedure?

We will tar the oracle_home and put in one location say /tmp
 
untar into  NEW directory -- infact new oracle home
 
we will run Command:  $ORACLE_HOME/oui/bin/runInstaller -silent -clone ORACLE_HOME="NEW directory" ORACLE_HOME_NAME="home1"
 
We need to run the post root*.sh scripts after install
0
 
LVL 35

Expert Comment

by:johnsone
ID: 33738513
Personally, I haven't done it that way.  It may work.  A fresh install is always best.  The reason that I say that is there are known issues with relinking if you tar and untar the ORACLE_HOME directory.  The clone that you are running may fix that.
0
 

Author Comment

by:ramavenkatesa
ID: 33738542
i can get oracle software for 10.2.0.1 from oracle website
Then, i need to upgrade oracle binaries from 10.2.0.1 to 10.2.0.3 software. Am I right?
0
 
LVL 35

Expert Comment

by:johnsone
ID: 33738840
Yes.  That would involve running the patch from 10.2.0.1 to 10.2.0.3.  It will be upgrading software only, no databases, so it is pretty quick.
0
 

Author Closing Comment

by:ramavenkatesa
ID: 33907872
implemented.
0
 

Author Comment

by:ramavenkatesa
ID: 34124441
one question, u mentioned oraenv
is it essential to run oraenv OR i can simply use .profile??
0
 
LVL 35

Expert Comment

by:johnsone
ID: 34144560
It is not required to use oraenv.  If you use the .profile, make sure that you update it with the new paths.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Oracle SQL Select unique values from two columns 4 81
use lov values 2 72
form builder not starting 3 72
Field name with special character (Ñ) in Oracle 11 141
Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question