Oracle在DOS下的啟動

來源:互聯網
上載者:User

在網上看到有些網友說在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>



相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.