Home » RDBMS Server » Server Administration » 10.2.0.5 - upgrading only 1 database
10.2.0.5 - upgrading only 1 database [message #494677] Wed, 16 February 2011 09:25 Go to next message
firefly
Messages: 53
Registered: March 2009
Location: Europe
Member
Hi,

If have several databases running on a 10.2.0.4 Oracle Home. I want to upgrade one of them to 10.2.0.5. My thinking is that I install 10.2 to another location e.g. /u01/app/oracle/product/10.2.0.5 and patch this OH to 10.2.0.5. Regarding the steps to upgrade a particular database can anyone detail the steps or preferably point me to Oracle documentation as I'm unable to locate?

Many thanks!
Re: 10.2.0.5 - upgrading only 1 database [message #494678 is a reply to message #494677] Wed, 16 February 2011 09:30 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10707
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
Install 10.2.0.4 in a separate new ORACLE_HOME
Copy/Migrate the database you want to be upgraded to new ORACLE_HOME
Upgrade/Patch new ORACLE_HOME to 10.2.0.5
Upgrade the database in 10.2.0.5.


What is size of database/number of schemas?
If small,
Just install 10.2.0.5 in new home.
Create empty database.
Export and import.

[Updated on: Wed, 16 February 2011 09:32]

Report message to a moderator

Re: 10.2.0.5 - upgrading only 1 database [message #494679 is a reply to message #494678] Wed, 16 February 2011 09:32 Go to previous messageGo to next message
firefly
Messages: 53
Registered: March 2009
Location: Europe
Member
Mahesh Rajendran wrote on Wed, 16 February 2011 15:30
Install 10.2.0.4 in a separate new ORACLE_HOME
Copy/Migrate the database you want to be upgraded to new ORACLE_HOME
Upgrade/Patch new ORACLE_HOME to 10.2.0.5
Upgrade the database in 10.2.0.5.



That looks goo thanks. Do you have the steps / Oracle docs for
"Copy/Migrate the database you want to be upgraded to new ORACLE_HOME" as this is what I'm really after?

Thanks,
Re: 10.2.0.5 - upgrading only 1 database [message #494680 is a reply to message #494679] Wed, 16 February 2011 09:43 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10707
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
Nothing much.
Just shutdown, edit your environment (oracle's and OS) like listener.ora,tnsnames.ora,pfile.ora, oratab file, .profile etc and open the database.
As long as the Oracle version is same, it should work fine.

[Updated on: Wed, 16 February 2011 09:54]

Report message to a moderator

Re: 10.2.0.5 - upgrading only 1 database [message #494681 is a reply to message #494679] Wed, 16 February 2011 09:43 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10707
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
Meanwhile,
First hit in google.
Seems it is talking exactly about your requirement.
http://malcolmchalmers.wordpress.com/2009/06/03/moving-a-database-to-a-new-oracle_home/
Re: 10.2.0.5 - upgrading only 1 database [message #494682 is a reply to message #494681] Wed, 16 February 2011 09:55 Go to previous messageGo to next message
firefly
Messages: 53
Registered: March 2009
Location: Europe
Member
Mahesh Rajendran wrote on Wed, 16 February 2011 15:43
Meanwhile,
First hit in google.
Seems it is talking exactly about your requirement.
http://malcolmchalmers.wordpress.com/2009/06/03/moving-a-database-to-a-new-oracle_home/


That site is blocked from here, but thanks anyway...I'll get it some other way
Re: 10.2.0.5 - upgrading only 1 database [message #494687 is a reply to message #494682] Wed, 16 February 2011 10:26 Go to previous messageGo to next message
firefly
Messages: 53
Registered: March 2009
Location: Europe
Member
In the link it mentions

"You may or may not have to change the listener.ora file." We don't use a listener.ora file, does this mean that I need to make changes to the listener some other way, or should stop & start pick up the new Oracle Home?

Also,

"- Set the environment variable to point to the new home.
You may also have to change your .profile or .bash_profile files to reflect this change."

We use a .profile file alright, but where are is environment variable?

Thanks!
Re: 10.2.0.5 - upgrading only 1 database [message #494689 is a reply to message #494687] Wed, 16 February 2011 10:32 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10707
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
If you dont use listener.ora , that is just fine.
>>but where are is environment variable?
Any variable in .profile or bash_profile or any custom profile/environment that refers to the old ORACLE_HOME should be edited
to point to new ORACLE_HOME
Re: 10.2.0.5 - upgrading only 1 database [message #494690 is a reply to message #494689] Wed, 16 February 2011 10:33 Go to previous messageGo to next message
firefly
Messages: 53
Registered: March 2009
Location: Europe
Member
Thanks for all that Mahesh and in particular for the speedy response - appreciate it!
Re: 10.2.0.5 - upgrading only 1 database [message #494697 is a reply to message #494690] Wed, 16 February 2011 11:41 Go to previous messageGo to next message
firefly
Messages: 53
Registered: March 2009
Location: Europe
Member
Say I successfully upgrade the database in question and then I want to upgrade a second database. If I move the next database to the new (10.2.0.5) Oracle Home..what do I need to do then...will it just start ok or do I need to re-run the patch against this second database? Thanks,F
Re: 10.2.0.5 - upgrading only 1 database [message #494698 is a reply to message #494697] Wed, 16 February 2011 11:46 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
going up in version requires 2 steps
1) upgrade software
2) upgrade the database.
>.will it just start ok or do I need to re-run the patch against this second database?
EVERY database requires step #2 above
Re: 10.2.0.5 - upgrading only 1 database [message #494699 is a reply to message #494698] Wed, 16 February 2011 11:48 Go to previous message
firefly
Messages: 53
Registered: March 2009
Location: Europe
Member
Thanks for that. I'll review the readme notes & revert if stuck!
Previous Topic: upgrading from 9.2.0.7 to 11.1.0 (2 Merged)
Next Topic: INDEX CREATION - PARALLEL
Goto Forum:
  


Current Time: Wed May 08 14:44:41 CDT 2024