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
发现相应的数据文件也一起删除了