ORA-14099: all rows in table do not qualify for specified partition ORACLE 报错 故障修复 远程处理

文档解释

ORA-14099: all rows in table do not qualify for specified partition

Cause: There is at least one row in the non partitioned table which does not qualify for the partition specified in the ALTER TABLE EXCHANGE PARTITION

Action: Ensure that all the rows in the segment qualify for the partition. Perform the alter table operation with the NO CHECKING option. Run ANALYZE table VALIDATE on that partition to find out the invalid rows and delete them.

ORA-14099: 表中的所有行都不符合指定的分区

官方解释

指定的表无法符合提供的分区规则。

常见案例

1、在尝试把一个表分区,划分一个存在于表中已有记录分区值范围之外的分区组时,会产生此错误。

2、在尝试删除表中某些已有分区时,如果表中数据只包含在删除分区中,就会产生此错误。

正常处理方法及步骤

(1)查看数据表中的记录,看看是否有记录超出期望的分区范围。

(2)重新设置分区范围,使数据能符合分区定义。

(3)如果要删除分区,通过移动数据先把数据从待删除分区移到其他分区。

(4)删除那些不需要的分区。


数据运维技术 » ORA-14099: all rows in table do not qualify for specified partition ORACLE 报错 故障修复 远程处理