最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
手动删除数据库 drop database
时间:2026-06-18 09:07:54 编辑:袖梨 来源:一聚教程网
简单过程如下,10g版本以上,数据库要处于mount状态,RESTRICTED 模式下

sys@STANDBY3(dtydb5)> shutdown
数据库已经关闭。
已经卸载数据库。
ORACLE 例程已经关闭。
sys@STANDBY3(dtydb5)> startup mount;
ORACLE 例程已经启动。
Total System Global Area 3140026368 bytes
Fixed Size 2230600 bytes
Variable Size 771753656 bytes
Database Buffers 2348810240 bytes
Redo Buffers 17231872 bytes
数据库装载完毕。
sys@STANDBY3(dtydb5)> drop database;
drop database
*
第 1 行出现错误:
ORA-12719: 操作要求数据库处于 RESTRICTED 模式下
sys@STANDBY3(dtydb5)> alter system enable restricted session;
系统已更改。
sys@STANDBY3(dtydb5)> drop database;
数据库已删除。
说明:
1,10g以上才能有drop database命令
2,The DROP DATABASE command deletes these files from operating system.
* Datafiles
* Online Redo Log Files
* Controlfiles
* SPFILE (if it exists)
The DROP DATABASE command does not delete the following files:
* init.ora (text version of the Oracle initialization file)
* password file
* entries in listener files
* entries in oratab file
3,win NT环境下文件不会自动删除
相关文章
- 我的世界苦力怕论坛官网入口在哪 资源分享社区地址分享 10-10
- cs1.6网页版直通入口-cs1.6网页版秒开畅玩 10-10
- 我的世界网页版直接玩链接 mc网页版秒玩入口 10-10
- 超星学生登录入口-超星学生通网页版登录 10-10
- 蛙漫wanna官网入口链接-蛙漫wanna最新官网直达链接 10-10
- 红果免费短剧网页版怎么看 10-10