oracle10g 清除回收站中垃圾表

zhuachen發表於2011-10-21

ORACLE 10G 中select * from tab;出現奇怪的表名:BIN$2CMP4FJWQ2CW3LJ+BXLYTW==$0
這是oracle10g的回收站功能,並沒有徹底的刪除表,而是把表放入回收站。

清除的方法1:
PURGE recyclebin;

清除的方:2:
purge table origenal_tableName;
purge index origenal_indexName;

查詢垃圾資訊,如下SQL語句:
SELECT t.object_name,t.type ,t.original_name FROM user_recyclebin t;

另外,刪除Table不進入Recycle的方法:
drop table tableName purge;

[@more@]

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/23682146/viewspace-1055853/,如需轉載,請註明出處,否則將追究法律責任。

相關文章