Chinaunix首页 | 论坛 | 博客
  • 博客访问: 193809
  • 博文数量: 72
  • 博客积分: 1415
  • 博客等级: 上尉
  • 技术积分: 738
  • 用 户 组: 普通用户
  • 注册时间: 2010-09-12 14:51
文章分类

全部博文(72)

文章存档

2011年(34)

2010年(38)

我的朋友

分类: Oracle

2010-09-29 21:25:39

Today,when I rebuild index table,but can not executed.There give a message about  this:
SQL> alter index  "SYSMAN"."MGMT_METRICS_RAW_PK" REBUILD NOLOGGING;
alter index "SYSMAN"."MGMT_METRICS_RAW_PK" REBUILD NOLOGGING
*
ERROR at line 1:
orA-28650: Primary index on an IOT cannot be rebuilt

find error message online
$ oerr orA 28650
28650, 00000, "Primary index on an IOT cannot be rebuilt"
// *Cause:  An attempt is made to issue alter index rebuild on IOT-TOP
// *Action: Use Alter table MOVE to reorganize the table(IOT)

经过上面的分析得出:tab_base 表是索引组织表(index on an IOT)所以altert index  "SYSMAN"."MGMT_METRICS_RAW_PK" REBUILD NOLOGGING;,
不能执行.

解决方法:
一:SQL> alter table tab_base move tablespace 'new table';
二:SQL> alter table tab_base move tablespace 'old table'
That all,the problem was resolved .

阅读(1199) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~