ITPub博客

首页 > Linux操作系统 > Linux操作系统 > ORA-14185发生的处理

ORA-14185发生的处理

原创 Linux操作系统 作者:hnliuxz 时间:2013-01-23 11:00:05 0 删除 编辑
        今天早上,生产服务出现了中间件服务拥堵情况,排查到最后发现了一张历史表的查询返回非常慢,进一步
排查该表hash分区索引失效,处于“UNUSABLE”状态,随重建索引。
       问题产生在重建索引时“alter index index_name rebuild partition PA_1 parallel 32 nologging”,  返回如下错误
ERROR at line 1:
ORA-14185: incorrect physical attribute specified for this index partition
错误信息如下
[oracle@node1 ~]$ oerr ora 14185
14185, 00000, "incorrect physical attribute specified for this index partition"
// *Cause:   unexpected option was encountered while parsing physical attributes
//           of a local index partition; valid options for Range or Composite Range
//           partitions are INITRANS, MAXTRANS, TABLESPACE, STORAGE, PCTFREE, PCTUSED,
//           LOGGING and TABLESPACE; but only TABLESPACE may be specified for Hash partitions
//           STORE IN () is also disallowed for all but Composite Range partitions
// *Action:  remove invalid option(s) from the list of physical attributes
//           of an index partition

问题提示很清晰:因该表上指定的索引时一个全局hash分区索引,分区为8个子分区,在rebuild时后面不
能与logging和nologging语法结合使用。事实也的确如此,测试环境11gR2下经测试同样报错。
该情况现在记录下来,特提醒注意。

补充说明一下:创建hash分区,利用hash函数打散某列使数据均匀分布,一般用于均衡I/O,缺点数据不容易管理,哈希分区不能DROP、SPLIT 以及MERGE分区

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

请登录后发表评论 登录
全部评论

注册时间:2009-11-04

  • 博文量
    27
  • 访问量
    109437