首页 > 数据库技术 > 详细

oracle 单机10201 upgrate to 10205 升级笔记

时间:2014-03-22 01:14:40      阅读:560      评论:0      收藏:0      [点我收藏+]


oracle 单机10201 upgrate to 10205

1.Shut down the database:

For Oracle RAC:

$ srvctl stop database -d db_name
For Single Instance:

SQL> CONNECT SYS AS SYSOPER
Enter password: SYS_password
SQL> SHUTDOWN


2.
 emctl stop dbconsole
 lsnrctl stop
isqlplusctl stop


3.$ export DISPLAY=localhost:0.0
 ./runInstaller


4.
Start the database in the UPGRADE mode:

SQL> STARTUP UPGRADE
Set the system to spool results to a log file for later analysis:

SQL> SPOOL upgrade_info.log
Run the Pre-Upgrade Information Tool:

SQL> @/rdbms/admin/utlu102i.sql
Turn off the spooling of script results to the log file:

SQL> SPOOL OFF


5.
Enter the following SQL*Plus commands:

SQL> STARTUP UPGRADE
SQL> SPOOL patch.log
SQL> @?/rdbms/admin/catupgrd.sql
SQL> SPOOL OFF

6.
Restart the database:

SQL> SHUTDOWN IMMEDIATE
SQL> STARTUP

7.
SQL> @?/rdbms/admin/utlrp.sql

8.
SQL> SELECT COMP_NAME, VERSION, STATUS FROM SYS.DBA_REGISTRY
9.

oracle 单机10201 upgrate to 10205 升级笔记,布布扣,bubuko.com

oracle 单机10201 upgrate to 10205 升级笔记

原文:http://blog.csdn.net/lixora/article/details/21745383

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!