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