天天看点

检查是否存在truncate或者rebuild的索引

检查是否存在truncate或者rebuild的索引

select owner||'.'||Object_name||'.'||subobject_name   

from dba_objects   

where object_iddata_object_id     

     and object_type like 'INDEX%' 

     order by owner,object_name,subobject_name;

如果存在这些索引,删除索引并且重新创建这些索引。

继续阅读