ITPub博客

首页 > 数据库 > Oracle > ORA-08104错误

ORA-08104错误

原创 Oracle 作者:cbso520 时间:2012-10-22 12:41:32 0 删除 编辑
生产系统中在线重建索引还是比较危险的,一旦失败就会触发这个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/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: 没有了~
请登录后发表评论 登录
全部评论

注册时间:2008-11-12

  • 博文量
    72
  • 访问量
    312697