ORA-39940: Child reference partitioned table string.string in tablespace string or parent table string.string in tablespace string is included but not both. ORACLE 报错 故障修复 远程处理

文档解释

ORA-39940: Child reference partitioned table string.string in tablespace string or parent table string.string in tablespace string is included but not both.

Cause: Informational message to describe a failure during transportable containment checking. Both parent and child reference partition tables must be included.

Action: Check reference partitioned tables.

这个ORA-39940错误表示,缺少一个参照分区表(子表或父表)。它在对表进行分区表创建或移动时发生,其信息如下:

子分区表:[string.string], 表空间:[string]

父表:[string.string],表空间:[string]

官方解释

ORA-39940错误是一个通知性错误,通过它确定缺少的参考分区表(子表或父表)。它不会影响实际操作。

常见案例

典型的用例是在移动表时,子表没有被移动到相同的表空间,而是父表只被移动了一部分。

正常处理方法及步骤

处理这个错误时,需要检查一下在创建分区表时是否有符合要求的分区表要求(即所有子分区表都必须存在,且必须和父表在同一表空间),如果有缺少的分区表,可以移动该表到相同的表空间,然后重新尝试分区表操作。


数据运维技术 » ORA-39940: Child reference partitioned table string.string in tablespace string or parent table string.string in tablespace string is included but not both. ORACLE 报错 故障修复 远程处理