如何不使用DBCA在Oracle 11中删除数据库

[数据库] 时间:2025-11-04 13:19:31 来源:益强IT技术网 作者:应用开发 点击:189次

本文简短的使用教程,将会向你展示如何不使用DBCA(数据库配置助手)在Oracle 11中删除数据库。云服务器中删

1- 导入数据库的除数SID,云服务器提供商如果没有定义的据库话 export ORACLE_SID=database 2- 以操作系统认证连接数据库 [oracle@Oracle11 ~]$ sqlplus / as sysdbaSQL*Plus: Release 11.2.0.1.0 Production on Mon Dec 1 17:38:02 2014Copyright (c) 1982, 2009, Oracle. All rights reserved.Connected to an idle instance. 3- 启动数据库实例 SQL> startupORACLE instance started.Total System Global Area 3340451840 bytesFixed Size 2217952 bytesVariable Size 1828718624 bytesDatabase Buffers 1493172224 bytesRedo Buffers 16343040 bytesDatabase mounted.Database opened. 4- 关闭数据库 SQL> shutdown immediate;Database closed.Database dismounted.ORACLE instance shut down. 5- 启动独占模式 SQL> startup mount exclusive restrictORACLE instance started.Total System Global Area 3340451840 bytesFixed Size 2217952 bytesVariable Size 1828718624 bytesDatabase Buffers 1493172224 bytesRedo Buffers 16343040 bytesDatabase mounted. 6- 删除数据库 SQL> drop database;<br>Database dropped.Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit ProductionWith the Partitioning, OLAP, Data Mining and Real Application Testing options

完成!网站模板

使用

via: http://www.unixmen.com/drop-database-oracle-11-without-using-dcba/

使用

作者:M.el Khamlichi 译者:VicYu/Vic020 校对:wxy

使用

(责任编辑:应用开发)

    相关内容
    精彩推荐
    热门点击
    友情链接