已发生了数据库错误 ORA-29861: 域索引标记为 LOADING/FAILED/UNUSABLE
2011-12-30 13:19
1191 查看
错误状况:
BMXAA4407E - 在工作流程处理过程中发生非预期异常。
BMXAA4211E - 对WFASSIGNMENT 任务分配=2,568,992 过程=MRAPPROVE 过程修订=6 工作流程标识=42,689 节点标识=26进行操作时,已发生了数据库错误,编号为29861。
ORA-29861: 域索引标记为 LOADING/FAILED/UNUSABLE
解决过程:
刚开始以为是域索引的问题或是全文索引的问题:执行一下全文索引的脚本,如下:
运行起来,问题没解决。
好吧,那就在数据库配置中去除已启用文本搜索?
Configdb的时候无法完成,报“域索引状态为loading,不能进行ddl操作”(记不太清了,也忘记截图了)。
好吧,那看起来是oracle库中索引的问题。Google到一篇文章:
1. ORA-29861: 域索引标记为 LOADING/FAILED/UNUSABLE
2. 这是该表的一个intermedia索引有问题
3. 先查询看看当前的全文索引
4. select idx_name,idx_status from ctxsys.ctx_indexes;
5. 需要重建同步全文索引:
6. alter index 索引名 rebuild online parameters('sync')
7. 如果还是不行就删除 索引
8. drop index 索引名 force;
查自己库中的索引SELECT t.* FROM ctxsys.ctx_indexes t,果然有好多状态异常的,如下:
按照上面的方法修复,不行,那就干脆删除掉算了(注:我的是测试环境,希望你慎重,我也没搞清楚这个表是做什么的)
运行好像没什么错误了。但是还没搞清楚oracle的这个东西ctxsys.ctx_indexes到底是什么,抽时间要好好看看,待续。。。
BMXAA4407E - 在工作流程处理过程中发生非预期异常。
BMXAA4211E - 对WFASSIGNMENT 任务分配=2,568,992 过程=MRAPPROVE 过程修订=6 工作流程标识=42,689 节点标识=26进行操作时,已发生了数据库错误,编号为29861。
ORA-29861: 域索引标记为 LOADING/FAILED/UNUSABLE
解决过程:
刚开始以为是域索引的问题或是全文索引的问题:执行一下全文索引的脚本,如下:
call ctx_ddl.drop_preference('global_lexer'); call ctx_ddl.drop_preference('default_lexer'); call ctx_ddl.drop_preference('english_lexer'); call ctx_ddl.drop_preference('chinese_lexer'); call ctx_ddl.drop_preference('japanese_lexer'); call ctx_ddl.drop_preference('korean_lexer'); call ctx_ddl.drop_preference('german_lexer'); call ctx_ddl.drop_preference('dutch_lexer'); call ctx_ddl.drop_preference('swedish_lexer'); call ctx_ddl.drop_preference('french_lexer'); call ctx_ddl.drop_preference('italian_lexer'); call ctx_ddl.drop_preference('spanish_lexer'); call ctx_ddl.drop_preference('portu_lexer'); call ctx_ddl.create_preference('default_lexer','basic_lexer'); call ctx_ddl.create_preference('english_lexer','basic_lexer'); call ctx_ddl.create_preference('chinese_lexer','chinese_lexer'); call ctx_ddl.create_preference('japanese_lexer','japanese_lexer'); call ctx_ddl.create_preference('korean_lexer','korean_morph_lexer'); call ctx_ddl.create_preference('german_lexer','basic_lexer'); call ctx_ddl.create_preference('dutch_lexer','basic_lexer'); call ctx_ddl.create_preference('swedish_lexer','basic_lexer'); call ctx_ddl.create_preference('french_lexer','basic_lexer'); call ctx_ddl.create_preference('italian_lexer','basic_lexer'); call ctx_ddl.create_preference('spanish_lexer','basic_lexer'); call ctx_ddl.create_preference('portu_lexer','basic_lexer'); call ctx_ddl.create_preference('global_lexer', 'multi_lexer'); call ctx_ddl.add_sub_lexer('global_lexer','default','default_lexer'); call ctx_ddl.add_sub_lexer('global_lexer','english','english_lexer','en'); call ctx_ddl.add_sub_lexer('global_lexer','simplified chinese','chinese_lexer','zh'); call ctx_ddl.add_sub_lexer('global_lexer','japanese','japanese_lexer',null); call ctx_ddl.add_sub_lexer('global_lexer','korean','korean_lexer',null); call ctx_ddl.add_sub_lexer('global_lexer','german','german_lexer','de'); call ctx_ddl.add_sub_lexer('global_lexer','dutch','dutch_lexer',null); call ctx_ddl.add_sub_lexer('global_lexer','swedish','swedish_lexer','sv'); call ctx_ddl.add_sub_lexer('global_lexer','french','french_lexer','fr'); call ctx_ddl.add_sub_lexer('global_lexer','italian','italian_lexer','it'); call ctx_ddl.add_sub_lexer('global_lexer','spanish','spanish_lexer','es'); call ctx_ddl.add_sub_lexer('global_lexer','portuguese','portu_lexer',null);
运行起来,问题没解决。
好吧,那就在数据库配置中去除已启用文本搜索?
Configdb的时候无法完成,报“域索引状态为loading,不能进行ddl操作”(记不太清了,也忘记截图了)。
好吧,那看起来是oracle库中索引的问题。Google到一篇文章:
1. ORA-29861: 域索引标记为 LOADING/FAILED/UNUSABLE
2. 这是该表的一个intermedia索引有问题
3. 先查询看看当前的全文索引
4. select idx_name,idx_status from ctxsys.ctx_indexes;
5. 需要重建同步全文索引:
6. alter index 索引名 rebuild online parameters('sync')
7. 如果还是不行就删除 索引
8. drop index 索引名 force;
查自己库中的索引SELECT t.* FROM ctxsys.ctx_indexes t,果然有好多状态异常的,如下:
按照上面的方法修复,不行,那就干脆删除掉算了(注:我的是测试环境,希望你慎重,我也没搞清楚这个表是做什么的)
运行好像没什么错误了。但是还没搞清楚oracle的这个东西ctxsys.ctx_indexes到底是什么,抽时间要好好看看,待续。。。
相关文章推荐
- ora-29861:域索引标记为loading/failed/unusable
- ora-29861:域索引标记为loading/failed/unusable(转载)
- ORA-29861: 域索引标记为 LOADING/FAILED/UNUSABLE
- ORA-29861: 域索引标记为 LOADING/FAILED/UNUSABLE
- ORA-29861: 域索引标记为 LOADING/FAILED/UNUSABLE
- ora-29861:域索引标记为loading/failed/unusable
- ORA-29861: 域索引标记为 LOADING/FAILED/UNUSABLE
- ora-29861: 域索引标记为loading/failed/unusable
- ORA-29861: 域索引标记为 LOADING/FAILED/UNUSABLE
- 恢复目录数据库发生 ORACLE 错误: ORA-00955: 名称已由现有对象使用
- ORA-28502: 混合数据库链接时发生内部通信错误
- [2014-03-20 14:00:06] [EP000000] [执行数据库查询时发生错误]ORA-04031: 无法分配 8196 字节的共享内存 ("large pool","unknown object","hash-join subh","QERHJ list array")
- Arcsde报ora-29861: 域索引标记为loading/failed/unusable错误
- 把Oracle的数据导到另一个数据库中,用SQL 2008做ssis,发生错误ORA-01653
- SQL2216N 重组数据库表或其索引时发生 SQL 错误 "-668" 解决方法
- 用友数据库“可能发生了架构损坏。请运行 DBCC CHECKCATALOG。”错误修复
- mysql 启动数据库时发生错误:10038
- Oracle数据库案例整理-Oracle系统运行时故障-tnsnames.ora文件配置错误导致数据库TNSping失败
- mybatis查询oracle ’无效的列索引‘和ORA-00911’无效的字符‘错误
- MySQL添加映射连接到数据库时发生错误“FluentNHibernate.Cfg.FluentConfigurationException”