重建索引ora-08106错误

使用alter index xxxx rebuild online 命令重新建立了索引,遇到这个错误
ora-08106 can not create journal table SCOTT.SYS_JOURNAL_30447

解决方法,RENMAE这个SYS_JOURNAL_30447表重新执行创建语句就成功了。
疑问:
一、这个错误是如何产生的。
二、journal table 是什么
三、为什么把这个SYS_JOURNAL_30447rename以后就可以建立索引了。

 

Description:

08106, 00000, "can not create journal table %s.%s"
// *Cause:  online index builder can not create its journal table
// *Action: rename your table in conflict

 

在线 rebuild 索引 语法:Alter index index_name rebuild online 当发出该命令的时候,原来的老索引保留不动,并且允许用户访问原来的索引。针对该索引的所有DML 操作,都将记录在 Journal table 中(Any alterations to the old index are recorded in a Index Organized Table known as a "journal table". 一旦rebuild 工作完成,这个journal table 将与新的所有merge;一旦这个merge的动作结束,数据字典信息将被更新,同时,原来的索引将被删除。在整个rebuild 的过程中,只有在更新数据字典信息的时候,才会对DML 操作有所控制,但是这个时间是很短的

 

重建索引ora-08106错误 的另一种解决方式
就是直接等待,5分钟后,smon/pmon 会帮你清除journal table

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10173379/viewspace-617755/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/10173379/viewspace-617755/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值