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

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

上一篇:RAC+DG+OGG灾备中OGG实现部分


下一篇:【MOS】RAC 环境中 gc block lost 和私网通信性能问题的诊断 (文档 ID 1674865.1)