程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 數據庫知識 >> Oracle數據庫 >> Oracle教程 >> oracle單機10201upgrateto10205升級筆記

oracle單機10201upgrateto10205升級筆記

編輯:Oracle教程



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.

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved