How to startup oracle after upgrade oracle10.2.0.3 on windows

 C:\Documents and Settings\liangwei>sqlplus / as sysdba

SQL*Plus: Release 10.2.0.3.0 - Production on 星期日 10月 9 09:30:42 2011

Copyright (c) 1982, 2006, Oracle.  All Rights Reserved.

ERROR:
ORA-12560: TNS: 协议适配器错误


请输入用户名:
C:\Documents and Settings\liangwei>oradim -startup -sid orcl

C:\Documents and Settings\liangwei>sqlplus / as sysdba

SQL*Plus: Release 10.2.0.3.0 - Production on 星期日 10月 9 09:33:10 2011

Copyright (c) 1982, 2006, Oracle.  All Rights Reserved.

已连接到空闲例程。

SQL> startup upgrade;
ORACLE 例程已经启动。

Total System Global Area  599785472 bytes
Fixed Size                  1291964 bytes
Variable Size             180357444 bytes
Database Buffers          411041792 bytes
Redo Buffers                7094272 bytes
数据库装载完毕。
数据库已经打开。
SQL>@D:\oracle\product\10.2.0\db_1\RDBMS\ADMIN\catupgrd.sql;

SQL> select * from utl_recomp_errors;
SQL>
SQL> select name from v$database;

NAME
---------
ORCL
SQL>
SQL> show user
USER 为 "SYS"
SQL> @D:\oracle\product\10.2.0\db_1\RDBMS\ADMIN\catalog.sql;
DOC>######################################################################
DOC>######################################################################
DOC>    The following statement will cause an "ORA-01722: invalid number"
DOC>    error and terminate the SQLPLUS session if the user is not SYS.
DOC>    Disconnect and reconnect with AS SYSDBA.
DOC>######################################################################
DOC>######################################################################
SQL> shutdown immediate
数据库已经关闭。
已经卸载数据库。
ORACLE 例程已经关闭。
SQL> startup
ORACLE 例程已经启动。

Total System Global Area  599785472 bytes
Fixed Size                  1291964 bytes
Variable Size             230689092 bytes
Database Buffers          360710144 bytes
Redo Buffers                7094272 bytes
数据库装载完毕。
数据库已经打开。
SQL>

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值