Anda di halaman 1dari 10

Babu B: Upgrade Oracle from 10.2.0.1 To 10.2.0.

Page 1 of 10

Share

Report Abuse

Next Blog

Create Blog

Sign In

Babu B
Oracle 10G Certified Professional & Oracle Database 10g: Real Application Clusters Administrator Certified Expert

Custom Search . . .
Search
Wednesday, September 10, 2008

About Me
Babu India

Upgrade Oracle from 10.2.0.1 To 10.2.0.4


1. Patch Set Overview Patch set release 10.2.0.4. Before installing this patch set you must be need 10.2.0.1 version. 2. Requirements Oracle DB : Oracle 10.2.0.1 (later) Operating System: Windows
Oracle Troubleshooting (15) Welcome to my blog. If you are using the above example please try on test environments.If you have any doubts/clarification any time contact me @ babu.knb@gmail.com View my complete profile

Labels

3. Pre - Installation Tasks 1. Identify prior installation Before installing this patch you must install oracle 10.2.0.1 (or later version) 2. Download Patch set Download 6810189 patch set installation archive to a directory that is not the Oracle home directory or under the Oracle home directory. 3. Shutdown oracle database. C:\>set oracle_sid= GOLDLINK C:\>sqlplus /nolog SQL*Plus: Release 10.2.0.1.0 - Production on Tue Nov 13 10:49:26 2007 Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved. SQL> connect sys@GOLDLINK as sysdba Enter password:

RAC Troubleshooting (8) ASM (7) Upgrade (6) Replication (5) New Feature's (4) Streams... (4) Utility's (4) Data Guard (3) RAC (3) Rman (3) Backup's (2) Create DataBase (2) Flashback Technology (2) Replication Performance (2) Rman Restore-Recover (2) Table (2) 11g Features (1) Advanced Replication (1) Auditing (1) Buffer Hit Ratio (1) Change DataBase Name (1) DBMS_SCHEDULER (1) Dataguard Troubleshotting (1) Duplicate DataBase Creation (1) EMCA (1) Heterogeneous database (1) How to Export and Import Statistics (1) Installation (1) Interesting (1)

http://babudba.blogspot.in/2008/09/upgrade-oracle-from-10201-to-10204.html

2/2/2012

Babu B: Upgrade Oracle from 10.2.0.1 To 10.2.0.4

Page 2 of 10

Connected. SQL> SHUTDOWN Database closed. Database dismounted. ORACLE instance shut down. 4. Stop all services C:\>set oracle_sid=GoldLink C:\>net stop OracleDBConsoleGOLDLINK The OracleDBConsoleGOLDLINK service is stopping................ The OracleDBConsoleGOLDLINK service was stopped successfully.

Performane Tuning (1) RAC Installation (1) RAC Trace Issue (1) RMAN DUPLICATE DATABASE (1) Stanby Database (1) Sun Solaris Commands (1) Troubleshooting in Replication (1) UTL_MAIL (1) Unix/Linux (1) expdp / impdp (1) partition (1)

Blog Archive
2011 (2) 2010 (14) 2009 (26)

C:\>net stop OracleServiceGOLDLINK The OracleServiceGOLDLINK service is stopping. The OracleServiceGOLDLINK service was stopped successfully.

2008 (21) December (1) November (2) September (3) August (1) July (1) June (2) May (3) March (2) February (6) 2007 (36)

C:\>net stop OracleOraDB10g_Home1iSQL*Plus.. The OracleOraDb10g_home1iSQL*Plus service was stopped successfully. C:\>net stop OracleOraDB10g_Home1TNSListener The OracleOraDb10g_home1TNSListener service is stopping. The OracleOraDb10g_home1TNSListener service was stopped successfully. Note: while patch installation time If you face Distributed Transaction Coordinator still running. You should be stop this service C:\>net stop msdtc The Distributed Transaction Coordinator service is stopping. The Distributed Transaction Coordinator service was stopped successfully. 4. Backup your database. Oracle recommends that you create a backup of the Oracle 10g installation before you install the patch set. 5. Check Tablespace Sizes and Set Parameter Values Review the following sections before upgrading a database. 8. Upgrade the Database After you install the patch set, you must perform the following steps on every database associated with the upgraded Oracle home:

Links
http://tahiti.oracle.com/ OTN OraFAQ Oracle Base

Visit

Followers
Join this site
with Google Friend Connect

Members (31) More

Already a member?Sign in

1. Start all services

http://babudba.blogspot.in/2008/09/upgrade-oracle-from-10201-to-10204.html

2/2/2012

Babu B: Upgrade Oracle from 10.2.0.1 To 10.2.0.4

Page 3 of 10

2. Connect sys user C:\> sqlplus /NOLOG SQL> CONNECT SYS/SYS_password AS SYSDBA 3. Enter the following SQL*Plus commands:

Oracle Community

Visit Oracle Community

SQL> STARTUP UPGRADE

Subscribe via email


SQL> SPOOL patch.log SQL> @ORACLE_BASE\ORACLE_HOME\rdbms\admin\catupgrd.sql SQL> SPOOL OFF Review the patch.log file for errors and inspect the list of components that is displayed at the end of catupgrd.sql script. Subscribe
Delivered by FeedBurner Enter your email address:

online users
This list provides the version and status of each SERVER component in the database. If necessary, rerun the catupgrd.sql script after correcting any problems. 4. Restart the database: <!--[if !supportLineBreakNewLine]--> <!--[endif]--> SQL> SHUTDOWN SQL> STARTUP 5. Compile Invalid Objects Run the utlrp.sql script to recompile all invalid PL/SQL packages now instead of when the packages are accessed for the first time. This step is optional but recommended. SQL> @ORACLE_BASE\ORACLE_HOME\rdbms\admin\utlrp.sql SQL> select * from v$version; BANNER ---------------------------------------------------------------Oracle Database 10g Release 10.2.0.4.0 - Production PL/SQL Release 10.2.0.4.0 - Production CORE 10.2.0.4.0 Production TNS for 32-bit Windows: Version 10.2.0.4.0 - Production NLSRTL Version 10.2.0.4.0 - Production
Posted by Babu at Wednesday, September 10, 2008 Labels: Upgrade
Evora Plus Coupon

Subscribe
Subscribe in a reader

FeedCount

Amazon Contextual Product Ads

http://babudba.blogspot.in/2008/09/upgrade-oracle-from-10201-to-10204.html

2/2/2012

Babu B: Upgrade Oracle from 10.2.0.1 To 10.2.0.4

Page 4 of 10

37 comments:
Anonymous said... Very helpful. Thanks. October 6, 2008 1:06 PM Anonymous said... Very helpful. Thanks. October 6, 2008 1:06 PM Anonymous said... Very nice instructions. Went through so many links before all are confusing.. Thanks! November 5, 2008 9:15 AM Babu B said... Thank a lot.. :-) Babu November 5, 2008 7:09 PM Aditya said... Thanks a lot... November 21, 2008 12:55 PM Anonymous said... Babu, Do i have to install oracle 10204 in another home? December 25, 2008 6:33 AM Babu B said... Hi, Thanks. NO NO; You need to install same ORACLE_HOME before that need to down all oracle related services. Could you tel me which operating system your going to install (Win or Linux/Unix ??) Babu December 28, 2008 10:27 PM Anonymous said... Hi Babu, I want to upgrade 10.2.0.2 database to 10.2.0.4. for which i installed binaries of 10.2.0.4 in seperate directory. 2.) now changed environment variables for this oracle sid to point to new directory (oracle home of 10.2.0.4). 3.) Now while doing startup upgrade, it fails with the following error: SQL> startup upgrade;

http://babudba.blogspot.in/2008/09/upgrade-oracle-from-10201-to-10204.html

2/2/2012

Babu B: Upgrade Oracle from 10.2.0.1 To 10.2.0.4

Page 5 of 10

ORA-00401: the value for parameter compatible is not supported by this release Value of compatible parameter in init.ora file is set to 10.2.0.2 compatible=10.2.0.2 Any ideas, what can be the issue? January 18, 2009 2:24 AM john said... Thank you for these simple instructions Babu. All worked fine. August 19, 2009 7:51 AM kumaran said... Hi Babu, I found the upgrade steps are missing in the document(steps 6 ,7). Kindly provide me the instruction to upgrade from win Oracle 10.2.0.2 to 10.2.0.4. Awaiting for your kind reply Thanks, Kumaran August 20, 2009 3:59 AM Babu B said... >>Kindly provide me the instruction to upgrade from win Oracle 10.2.0.2 to 10.2.0.4. NO all the steps are available. From where your Straggling upgrade steps?? Thanks Babu August 20, 2009 10:51 AM Babu B said... Thanks John :) August 20, 2009 10:52 AM Babu B said... >> I want to upgrade 10.2.0.2 database to 10.2.0.4. for which i installed binaries of 10.2.0.4 in seperate directory. You you want separate directory installation?? Post your current database version using select * from v$version; show parameter compatible Let me know your patch number Thanks August 20, 2009 10:56 AM Anonymous said...

http://babudba.blogspot.in/2008/09/upgrade-oracle-from-10201-to-10204.html

2/2/2012

Babu B: Upgrade Oracle from 10.2.0.1 To 10.2.0.4

Page 6 of 10

hi babu, how to proceed , if already i have two db's running on 10.2.0.2 in unix. August 23, 2009 10:44 PM Babu B said... If two database running same home; you need to upgrade both database. Thanks August 30, 2009 12:33 PM Jlio Csar Corra said... This post was helpful. Thanks. JC September 21, 2009 10:45 AM Jlio Csar Corra said... this post was helpful. Thanks a lot. JC September 21, 2009 10:46 AM Babu B said... Thanks for your feedback. Babu September 26, 2009 6:52 AM Anonymous said... Hi thanks for this, but after upgrading I found that I could not take exports and found the answer http://oracle-in-examples.blogspot.com/2008/03/exp-00008oracle-error-6550-encountered.html here is a part of that post . . exporting table DEF$_ERROR EXP-00008: ORACLE error 6510 encountered ORA-06510: PL/SQL: unhandled user-defined exception ORA-06512: at "SYS.DBMS_EXPORT_EXTENSION", line 50 ORA-06512: at "SYS.DBMS_EXPORT_EXTENSION", line 126 ORA-06512: at line 1 . . exporting table DEF$_LOB 0 rows exported ... I have found that we need to grant some sys procedures to this user for getting rid of these errors. So I logged in as sys and executed the following commands: GRANT EXECUTE ON SYS.DBMS_DEFER_IMPORT_INTERNAL TO ; GRANT EXECUTE ON SYS.DBMS_EXPORT_EXTENSION TO ; And it really helped me to fix it. Thanks, Sergey. Thanks

http://babudba.blogspot.in/2008/09/upgrade-oracle-from-10201-to-10204.html

2/2/2012

Babu B: Upgrade Oracle from 10.2.0.1 To 10.2.0.4

Page 7 of 10

Best regards November 30, 2009 4:09 PM Anonymous said... Hello, Babu, ..... 4. Backup your database. 5. Check Tablespace Sizes and Set Parameter Values 8. Upgrade the Database ..... Wondering where are step 6 and 7 ? Do we supposed to install the setup.exe before step 8 ? Please advice. Thanks so much ! December 31, 2009 11:21 AM Babu said... >>Wondering where are step 6 and 7 ? Do we supposed to install the setup.exe before step 8 ? Thanks for chatching. Yes after step 5; execute setup.exe before step 8 let me if you need any help. Thanks December 31, 2009 11:47 AM Sunil said... Really helpful .......... January 27, 2010 2:47 AM Anonymous said... Com um procedimento assim, fica muito facil. Muito bom. Obrigado. March 5, 2010 11:32 AM Khaja said... Do you have any info on how to upgrade from 10.2.0.1 to 11g.? I get an error "The CEP file rdbmsup.sql does not provide the version directive."? Any idea what is causing this.. April 10, 2010 1:10 AM Babu said... Hello Khaja, Upgrade your 10g database to 10.2.0.4, Then try to upgrade 10.2.0.4 to 11g. http://download.oracle.com/docs/cd/E11882_01/server.112/e 10819/preup.htm#i1007753 Babu April 10, 2010 2:36 AM kamlesh said...

http://babudba.blogspot.in/2008/09/upgrade-oracle-from-10201-to-10204.html

2/2/2012

Babu B: Upgrade Oracle from 10.2.0.1 To 10.2.0.4

Page 8 of 10

Dear Babu, I have installed Oracle 10g (10.1.0.2.0) on vista machine 32 Bit but i m not able to open SQL successfully. It gives different error like : ORA-12154: TNS:could not resolve the connect identifier specified. Actually it gives an TNS entry error while configuration the database. So, please guide me for this problem or provide me any setting on Vista so i can install properly. Thanks and regards, Kamlesh Parmar kamalerp53@gmail.com May 12, 2010 11:42 PM Babu said... Hello Kamlesh, Thanks for your input. I would like your TSNPING output. Pls post TNSPIGN <> 5 Are you trying to connect database locally or remotely? Babu May 13, 2010 11:11 AM Indian said... Thanks for this , I want to know after upgrading to 10.2.0.4 what are the issues we get commonly . then only i would like to upgrade.. please replay me ASAP. June 10, 2010 10:14 PM Babu said... Hello Indian, 10.2.0.4 - All oracle bugs fixed. As of now i did not faced any issues. Please write mail to me in case of any query. Thanks Babu babu.knb@gmail.com June 10, 2010 11:14 PM Anonymous said... Babu, Excellent post. By following your instructions, I was able to successfully upgrade database from 10.2.0.1 to 10.2.0.4. Keep up the good work Mangal July 26, 2010 7:39 AM Babu said... Thanks Mangal July 26, 2010 8:14 AM universalcritics said...

http://babudba.blogspot.in/2008/09/upgrade-oracle-from-10201-to-10204.html

2/2/2012

Babu B: Upgrade Oracle from 10.2.0.1 To 10.2.0.4

Page 9 of 10

that download not working 6810189 can u give other link July 7, 2011 11:09 AM Babu said... Do you have metalink access if Yes pls search July 13, 2011 5:44 AM Anonymous said... Hi Babu, Your instructions are very helpful. But,Where are he steps 6,7 please tell me them in detail. It could be a great help to me. July 14, 2011 10:51 AM Satish Gupta said... Hi Babu, I am facing a problem in my application, while executing a query in Oracle 9i (Version Release 9.2.0.1.0) I am getting Error in my front End application developed in VB 6.0.. run-time error '-21474672599800040050': [Microsoft][ODBC Driver for Oracle][Oracle]ORA-00600: internal error code, arguments:[20084],[67282756],[47], [67282756],[47],[],[],[].. This is the error message flashing on my screen. Please help... regards, November 22, 2011 11:42 PM Satish Gupta said... Hi Babu, I am facing a problem in my application, while executing a query in Oracle 9i (Version Release 9.2.0.1.0) I am getting Error in my front End application developed in VB 6.0.. run-time error '-21474672599800040050': [Microsoft][ODBC Driver for Oracle][Oracle]ORA-00600: internal error code, arguments:[20084],[67282756],[47], [67282756],[47],[],[],[].. This is the error message flashing on my screen. Please help... regards, November 22, 2011 11:43 PM Babu said... Can I have log pls November 27, 2011 3:08 PM

Post a Comment

Newer Post

Home

Older Post

http://babudba.blogspot.in/2008/09/upgrade-oracle-from-10201-to-10204.html

2/2/2012

Babu B: Upgrade Oracle from 10.2.0.1 To 10.2.0.4

Page 10 of 10

Subscribe to: Post Comments (Atom)

Babu B Headline Animator

Grab this Headline Animator

http://babudba.blogspot.in/2008/09/upgrade-oracle-from-10201-to-10204.html

2/2/2012

Anda mungkin juga menyukai