Referenced Partition Child Table Points To Interim Parent After Redefinition (Doc ID 1613689.1)

Last updated on MAY 04, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.5 to 10.2.0.5 [Release 10.2]
Oracle Database - Enterprise Edition - Version 11.1.0.6 and later
Information in this document applies to any platform.

Symptoms

The parent table is redefined using "dbms_redefinition" package.
After redefinition, The referenced child table's foreign key points to "interim" table instead of original parent table.

Dropping and recreating the Foreign Key Constraint also does not work. It will fail with below error.
ORA-14650: operation not supported for reference-partitioned tables

It is because the child table partitions are based on these referential constraints.

########################
Testcase follows:
########################

-------> Constraints points to interim table.
########################

After redefinition, The relationship between child and redefined parent table is lost.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms