当前位置:操作系统 > Unix/Linux >>

ORA-14300:partition key maps to a partition outside maximum pemitted number of partitions

ORA-14300:partition key maps to a partition outside maximum pemitted number of partitions
 
ORACLE VERSION:11.2.0.2
 
错误描述:
        当向一个自动分区表中插入一条记录时报错:
        ERROR Description:partition key maps to a partition outside maximum pemitted number of partitions.
        Error Cause:The row inserted had a partitioning key that maps to a partition number greater than 1048575.
        Action:Ensure that the partitioning key falls within 1048575 partitions or subpartitions.
 
错误原因:  www.zzzyk.com  
        ORA-14300:分区关键字映射到超出允许的最大分区数的分区。
        出现此问题时,如果确保分区字段的值映射到分区上时,分区个数确实没有超过1048575,那么有可能是因为分区字段的值为NULL。
        当分区字段的值为NULL的记录,向自动分区表(普通分区表也一样)中试图插入时,数据库无法判断该把此条记录放入哪个分区,导致插入失败。
 
解决方法:
        对于此种分区字段为空的情况,暂时还不知道是否有方法插入分区表。不过一般从分区表的使用上来说,分区字段是不应该存在NULL的情况。
 
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,