oracle无效索引重建

问题描述:

  执行失败!错误信息[Exception message:无效的列索引

解决思路:

  分析是表索引,大部分都是表索引失效导致的,只需要花重建表索引即可!

00、查看此表归属账户
select * from all_tables where table_name = 'JR_YYJRRZ';

01、查看此表存在的索引
查看当前账户的索引情况
select * from user_indexes where table_name='JR_YYJRRZ';

02、重建此表索引
alter index idx_xxxx rebuild online;

猜你喜欢

转载自www.cnblogs.com/xiaochina/p/10319057.html