I once thought that the files were deleted after all the tables were emptied and dropped, but the actual DBF data files still exist under the ORADATA file. must be deleted
1
2
3
4
5
6
7
8
9
|
DROP
TABLESPACE tablespace_name
[ including contents [
and
datafiles ] [
CASCADE
CONSTRAINT
] ];
无选项
-- 当表空间为空才能删除;
including contents — 删除表空间及对象;
including contents
and
datafiles — 删除表空间、对象及数据文件;
includingcontents
CASCADE
CONSTRAINT
— 删除关联;
including contents
and
datafiles
cascade
constraint
-- 含前两项。
DROP
TABLESPACE see including contents
and
datafiles
cascade
constraint
;
|
Then close the oracle service and delete the DBF file manually.