ONLINE方式在线重建索引异常中断后遇到ORA-08104错误的处理思路是什么

这篇文章将为大家详细讲解有关ONLINE方式在线重建索引异常中断后遇到ORA-08104错误的处理思路是什么,文章内容质量较高,因此小编分享给大家做个参考,希望大家阅读完这篇文章后对相关知识有一定的了解。

select i.obj#, i.flags, u.name, o.name, o.type#  

from sys.obj$ o, sys.user$ u, sys.ind_online$ i

where (bitand(i.flags, 256) = 256 or bitand(i.flags, 512) = 512)

   and (not ((i.type# = 9) and bitand(i.flags, 8) = 8))  

   and o.obj# = i.obj#  

   and o.owner# = u.user#;  

declare

isClean boolean;  

begin  

isClean := FALSE;  

while isClean=FALSE loop  

isClean := dbms_repair.online_index_clean(前一步查出的object_id);

dbms_lock.sleep(2);  

end loop;  

exception  

when others then  

RAISE;  

end;  

/   

关于ONLINE方式在线重建索引异常中断后遇到ORA-08104错误的处理思路是什么就分享到这里了,希望以上内容可以对大家有一定的帮助,可以学到更多知识。如果觉得文章不错,可以把它分享出去让更多的人看到。

TAG标签: FinClip官网

http://www.xiaochengxub.com/read-52551.html