如何不使用DBCA在Oracle 11中刪除數(shù)據(jù)庫
來源:易賢網(wǎng) 閱讀:990 次 日期:2015-08-25 15:28:27
溫馨提示:易賢網(wǎng)小編為您整理了“如何不使用DBCA在Oracle 11中刪除數(shù)據(jù)庫”,方便廣大網(wǎng)友查閱!

如何不使用DBCA在Oracle 11中刪除數(shù)據(jù)庫

名單

1- 導入數(shù)據(jù)庫的SID,如果沒有定義的話

export ORACLE_SID=database

2- 以操作系統(tǒng)認證連接數(shù)據(jù)庫

[oracle@Oracle11 ~]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on Mon Dec 1 17:38:02 2014

Copyright (c) 1982, 2009, Oracle. All rights reserved.

Connected to an idle instance.

3- 啟動數(shù)據(jù)庫實例

SQL> startup

ORACLE instance started.

Total System Global Area 3340451840 bytes

Fixed Size 2217952 bytes

Variable Size 1828718624 bytes

Database Buffers 1493172224 bytes

Redo Buffers 16343040 bytes

Database mounted.

Database opened.

4- 關閉數(shù)據(jù)庫

SQL> shutdown immediate;

Database closed.

Database dismounted.

ORACLE instance shut down.

5- 啟動獨占模式

SQL> startup mount exclusive restrict

ORACLE instance started.

Total System Global Area 3340451840 bytes

Fixed Size 2217952 bytes

Variable Size 1828718624 bytes

Database Buffers 1493172224 bytes

Redo Buffers 16343040 bytes

Database mounted.

6- 刪除數(shù)據(jù)庫

SQL> drop database;

<br>Database dropped.

Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production

With the Partitioning, OLAP, Data Mining and Real Application Testing options

更多信息請查看IT技術專欄

更多信息請查看數(shù)據(jù)庫
易賢網(wǎng)手機網(wǎng)站地址:如何不使用DBCA在Oracle 11中刪除數(shù)據(jù)庫
關于我們 | 聯(lián)系我們 | 人才招聘 | 網(wǎng)站聲明 | 網(wǎng)站幫助 | 非正式的簡要咨詢 | 簡要咨詢須知 | 加入群交流 | 手機站點 | 投訴建議
工業(yè)和信息化部備案號:滇ICP備2023014141號-1 云南省教育廳備案號:云教ICP備0901021 滇公網(wǎng)安備53010202001879號 人力資源服務許可證:(云)人服證字(2023)第0102001523號
聯(lián)系電話:0871-65317125(9:00—18:00) 獲取招聘考試信息及咨詢關注公眾號:hfpxwx
咨詢QQ:526150442(9:00—18:00)版權所有:易賢網(wǎng)