My Oracle Support Banner

ORA-2291 When Creating Indexes Using Conventional Import (IMP) (Doc ID 2324749.1)

Last updated on FEBRUARY 23, 2022

Applies to:

Oracle Database - Standard Edition - Version 11.2.0.1 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Oracle Database Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

Getting ORA-02291: integrity constraint (%s.%s) violated - parent key not found

when importing with full=y constraints =n into a new database with no data.

Export was done with the conventional export using owner=owner_name and indexes=y parameters.

The above export will export only the indexes without the data.

 

Changes

Importing the dump file from the above export will import only indexes and result to the error since table references do not exist.

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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.