Solved

upgrade a database from 10.2.0.3 to 10.2.0.5

Posted on 2010-09-22
10
2,812 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
  • 5
  • 5
10 Comments
 
LVL 34

Expert Comment

by:johnsone
Comment Utility
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
Comment Utility
can you please give me the summary of that procedure how to do that?
0
 
LVL 34

Accepted Solution

by:
johnsone earned 500 total points
Comment Utility
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
 

Author Comment

by:ramavenkatesa
Comment Utility

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 34

Expert Comment

by:johnsone
Comment Utility
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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:ramavenkatesa
Comment Utility
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 34

Expert Comment

by:johnsone
Comment Utility
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
Comment Utility
implemented.
0
 

Author Comment

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

Expert Comment

by:johnsone
Comment Utility
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now