|
本帖最后由 justin033 于 2013-8-2 16:36 编辑
linuxer_hello 发表于 2013-3-19 18:25 ![]()
三、升级数据库
9、Shut down Applications server processes and database listener
To run the Pre-Upgrade Information Tool
(1).Log in to the system as the owner of the Oracle Database 11g Release 2 (11.2) Oracle home directory.
(2).Start SQL*Plus.
(3).Connect to the database instance as a user with SYSDBA privileges.
(4).Set the system to spool results to a log file for later analysis:
SQL> SPOOL upgrade_info.log
(5).Run the Pre-Upgrade Information Tool:
SQL> @$11g_ORACLE_HOME/rdbms/admin/utlu112i.sql
(6).Turn off the spooling of script results to the log file:
SQL> SPOOL OFF
Check the output of the Pre-Upgrade Information Tool in upgrade_info.log.
在旧的11.1.0.7的环境中执行:
[oracle@db ~]$ sqlplus / as sysdba
SQL> SPOOL upgrade_info.log
SQL> @/u01/oracle/zhh/db/tech_st/11.2.0/rdbms/admin/utlu112i.sql
SQL> SPOOL OFF
##################################################################
跑utlu112i.sql应该是用新的ORACLE_HOME环境登录sqlplus在旧的库里去执行。。。。。。。。。。。。。。。。。
|
|