Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1102715
  • 博文数量: 276
  • 博客积分: 10077
  • 博客等级: 上将
  • 技术积分: 2513
  • 用 户 组: 普通用户
  • 注册时间: 2007-08-24 20:31
文章分类

全部博文(276)

文章存档

2020年(1)

2015年(5)

2012年(2)

2011年(6)

2010年(7)

2009年(224)

2008年(31)

我的朋友

分类: Oracle

2008-08-10 14:53:45

 
ORA-01502 index 'string.string' or partition of such index is in unusable state
Cause An attempt has been made to access an index or index partition that has been marked unusable by a direct load or by a DDL operation.
Action DROP the specified index, or REBUILD the specified index, or REBUILD the unusable index partition.

--query which partition index is unusable. then rebuild it.

select * from dba_ind_partitions where index_name='IDX_BAR_QST_PROD_TEST_TIME' where status <> 'USABLE'


alter index OCR_DB.IDX_BAR_QST_PROD_TEST_TIME rebuild partition PART_BAR_QST_2_3;

 

阅读(1569) | 评论(0) | 转发(0) |
0

上一篇:Logmnr使用

下一篇:b树索引分配原理讨论

给主人留下些什么吧!~~