drop a database

数据库删除流程与Oracle RMAN使用
本文详细阐述了在Oracle环境下删除数据库的过程,包括必须满足的条件,并指出了使用`DROP DATABASE`命令的限制。此外,文章还介绍了如何利用Database Configuration Assistant(DBCA)工具删除数据库及其相关文件,以及推荐使用RMAN进行额外文件的清理。
drop a database
删除一个数据库因包含他的数据文件,日志文件,控制文件,初始化参数文件等。
使用“DROP DATABASE ”语句可以删除所有的控制文件,及控制文件中的所列的其他文件
为了成功执行以上命令,all of the following conditions must apply:
<wbr><wbr> 1.The database must be mounted and closed.<br><wbr><wbr> 2.The database must be mounted exclusively--not in shared mode.<br><wbr><wbr> 3.The database must be mounted as RESTRICTED.<br> drop database 命令不能删除归档日志文件,backup copies,backup 。oracle 推荐使用rman来删除这些文件。<br><br> ????<br> If you used the Database Configuration Assi stant to create your database, you can use<br> that tool to delete (drop) your database and remove the files.<br> 这句话有点疑惑,如果创建数据库时没使用dbca,能用dbca删除数据库。 </wbr></wbr></wbr></wbr></wbr></wbr>
php setup-db.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>SETUP DB</title> </head> <body bgcolor="#000000"> <div style=" margin-top:20px;color:#FFF; font-size:24px; text-align:center"> Welcome    <font color="#FF0000"> Dhakkan </font> <br> </div> <div style=" margin-top:10px;color:#FFF; font-size:23px; text-align:left"> <font size="3" color="#FFFF00"> SETTING UP THE DATABASE SCHEMA AND POPULATING DATA IN TABLES: <br><br> [*]...................Old database 'SECURITY' purged if exists<br><br> [*]...................Creating New database 'SECURITY' successfully<br><br> [*]...................Creating New Table 'USERS' successfully<br><br> [*]...................Creating New Table 'EMAILS' successfully<br><br> [*]...................Creating New Table 'UAGENTS' successfully<br><br> [*]...................Creating New Table 'REFERERS' successfully<br><br> [*]...................Inserted data correctly into table 'USERS'<br><br> [*]...................Inserted data correctly into table 'EMAILS'<br><br> <html> <head> </head> <body bgcolor="#000000"> [*]...................Old database purged if exists<br><br> [*]...................Creating New database successfully<br><br> [*]...................Creating New Table 'XMT63XTH34' successfully<br><br> [*]...................Inserted data correctly into table 'XMT63XTH34'<br><br> [*]...................Inserted secret key 'secret_NONL' into table <br><br> </body> </html> </font> </div> </body> </html> 但是页面上没有显示内容
最新发布
05-30
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值