RAC环境删除数据库

OS:Centos 7
DB:18.3.0.0

 

1.在其中一个节点上执行如下命令(当前数据库是在open模式,数据库在关闭模式下也可以删除)
[oracle@rac01 ~]$ dbca -silent -deleteDatabase -sourceDB slnngk
Enter SYS user password:

[WARNING] [DBT-19202] The Database Configuration Assistant will delete the Oracle instances and datafiles for your database. All information in the database will be destroyed.
Prepare for db operation
32% complete
Connecting to database
39% complete
42% complete
45% complete
48% complete
52% complete
55% complete
58% complete
65% complete
Updating network configuration files
68% complete
Deleting instances and datafiles
77% complete
87% complete
97% complete
100% complete
Database deletion completed.
Look at the log file "/u01/oracle/app/cfgtoollogs/dbca/slnngk/slnngk.log" for further details.

2.查看资源情况
[grid@rac01 ~]$ crsctl stat resource -t
命令已经没有数据库资源了

3.数据文件情况
ASMCMD> ls
ARCHIVELOG/
AUTOBACKUP/
dataguardconfig/
ASMCMD> pwd
+data/slnngk

发现相应的数据文件也一起删除了

posted @   slnngk  阅读(478)  评论(0编辑  收藏  举报
编辑推荐:
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
阅读排行:
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?
点击右上角即可分享
微信分享提示