Referenced Partition Child Table Points To Interim Parent After Redefinition
(Doc ID 1613689.1)
Last updated on FEBRUARY 21, 2024
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
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A 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.
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |