oracle dbf文件過大 如何刪除Oracle下無用的Dbf文件?
如何刪除Oracle下無用的Dbf文件?System/sysaux/undo無法刪除這些系統(tǒng)表空間;您需要確定哪些表是有用的,例如“W%”等表名;用數(shù)據(jù)過濾掉表空間,例如select table sp
如何刪除Oracle下無用的Dbf文件?
System/sysaux/undo無法刪除這些系統(tǒng)表空間;
您需要確定哪些表是有用的,例如“W%”等表名;
用數(shù)據(jù)過濾掉表空間,例如select table space uuname from dba uuu tables where table uuu name like “W%”group by tablespace uuuu name order by 1
記下那些不在步驟1和步驟3中的表空間的名稱;
識別無用的數(shù)據(jù)文件,例如select file uuname,tablespace uuuname from dba uuu data uu files where tablespace name in()
首先脫機刪除數(shù)據(jù)文件,然后將其刪除。