正 文

Oracle在DOS下的启动


www.7dspace.com  更新日期:2005-10-22 4:24:53  七度空间


在网上看到有些网友说在oracle9i把svrmgr30(unix下为svrmgrl)给取消了,用sqlplus给代替了,这个问题我不是很清楚,不过在window2000里的确是找不到svrmgr*.exe这样的文件。

言归正转,下面具体说一下如何启动。

1. 设置正确的ORACLE

2. 启动SQLPLUS

3. 连接

4. 启动/关闭数据库

相应的在DOS命令下执行:

1. set ORACLE_SID = $INSTANCE_NAME
2. sqlplus /nolog
3. connect user/password as sysdba
4. startup/shutdown

执行如下:

C:\>set ORACLE_SID = test
C:\>sqlplus /nolog
SQL*Plus: Release 9.0.1.0.1 - Production on 星期三 1月 12 19:42:08 2005
(c) Copyright 2001 Oracle Corporation.  All rights reserved.
SQL> connect system/manager as sysdba
已连接到空闲例程。
SQL> startup
ORACLE 例程已经启动。
Total System Global Area  118255568 bytes
Fixed Size                   282576 bytes
Variable Size              83886080 bytes
Database Buffers           33554432 bytes
Redo Buffers                 532480 bytes
数据库装载完毕。
数据库已经打开。
SQL>


上一篇:裸设备和Oracle问答20例
下一篇:使用标签时发生异常
作者:  来源:Techtarget ( 责任编辑:7dspace )
收藏此页】【打印】【关闭
站 内 搜 索
 

热 点 导 读
特 别 推 荐