之前要测试在虚拟机上安装oracle性能,用工具添加了用户cc、表空间cc、及数据库文件/u01/app/oracle/product/12.1.0/dbhome_1oradataccdata.dbf;
当时用户没添加成功,表空间也没有,就只有dbf文件,本来存储是asm存储,DATA的,但dbf放在了本地;目前
目录下已没有这个文件了,但是数据库查询还能查到,多次关闭、启动过数据库,均还能查到这个文件SQL> alter tablespace users drop datafile '/u01/app/oracle/product/12.1.0/dbhome_1oradataccdata.dbf';ORA-03284: datafile or tempfile
/u01/app/oracle/product/12.1.0/dbhome_1oradataccdata.dbf is not a member of
tablespace USERS
SQL> select distinct TABLESPACE_NAME from tabs
  
TABLESPACE_NAME
------------------------------
SYSAUX
SYSTEM