upgrade a database from to

we have 2 databases in a single oracle home. These databases are in
I would like to upgrade one database to
Can anybody thow me a light on how to acheive this?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

johnsoneSenior Oracle DBACommented:
If you only want to upgrade one database, you would create a new Oracle home.  Put in the new home.  Move the database to be upgraded to the new home and run the upgrade.
ramavenkatesaAuthor Commented:
can you please give me the summary of that procedure how to do that?
johnsoneSenior Oracle DBACommented:
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/

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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

ramavenkatesaAuthor Commented:

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
johnsoneSenior Oracle DBACommented:
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.
ramavenkatesaAuthor Commented:
i can get oracle software for from oracle website
Then, i need to upgrade oracle binaries from to software. Am I right?
johnsoneSenior Oracle DBACommented:
Yes.  That would involve running the patch from to  It will be upgrading software only, no databases, so it is pretty quick.
ramavenkatesaAuthor Commented:
ramavenkatesaAuthor Commented:
one question, u mentioned oraenv
is it essential to run oraenv OR i can simply use .profile??
johnsoneSenior Oracle DBACommented:
It is not required to use oraenv.  If you use the .profile, make sure that you update it with the new paths.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.