生产系统中在线重建索引还是比较危险的,一旦失败就会触发这个Bug,导致ORA-08104错误出现。关于这个问题白鳝大师有一篇经典的帖子详细的讲述了相关的处理方法,简单记录如下。 SQL> drop index xx.xxxxx; drop index xx.xxxxx ORA-08104: this index object 17406 is being online built or rebuilt SQL> select obj#, flags from ind$ where obj#=17406 ; OBJ# FLAGS ———- ———- 17406 512 SQL> select count(*) from xx.sys_journal_17406; COUNT(*) ———- 0 SQL> drop table xx.sys_journal_17406; Table dropped SQL> update ind$ set flags=flags-512 where obj#=17406 ; 1 row updated SQL> commit; Commit complete 执行上面的操作后再重建索引正常。[@more@]
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/16298743/viewspace-1059644/
,如需转载,请注明出处,否则将追究法律责任。