DataPump Import (IMPDP) Fails With Errors ORA-31693 ORA-14401 When QUERY Parameter Is Used Over A NETWORK_LINK
(Doc ID 1620146.1)
Last updated on AUGUST 01, 2019
Applies to:
Oracle Database - Enterprise Edition - Version 11.2.0.3 and laterOracle 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
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.
NOTE: In the images and/or the document content below, the user information and data used represents fictitious data from the Oracle sample schema(s) or Public Documentation delivered with an Oracle database product.
Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner.
Symptoms
You try to import data from a remote partitioned table into a local one using a database link. The data is restricted with a QUERY parameter.
The import fails with errors like:
Processing object type TABLE_EXPORT/TABLE/TABLE
ORA-31693: Table data object "TEST"."PART001":"P001" failed to load/unload and is being skipped due to error:
ORA-14401: inserted partition key is outside specified partition
ORA-31693: Table data object "TEST"."PART001":"P002" failed to load/unload and is being skipped due to error:
ORA-14401: inserted partition key is outside specified partition
ORA-31693: Table data object "TEST"."PART001":"P003" failed to load/unload and is being skipped due to error:
ORA-14401: inserted partition key is outside specified partition
ORA-31693: Table data object "TEST"."PART001":"P001" failed to load/unload and is being skipped due to error:
ORA-14401: inserted partition key is outside specified partition
ORA-31693: Table data object "TEST"."PART001":"P002" failed to load/unload and is being skipped due to error:
ORA-14401: inserted partition key is outside specified partition
ORA-31693: Table data object "TEST"."PART001":"P003" failed to load/unload and is being skipped due to error:
ORA-14401: inserted partition key is outside specified partition
There is no corruption in source table.
If you don't use the QUERY parameter, then the import works as expected.
The next test demonstrates the behavior.
In source database, create a partitioned table and insert some rows:
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 |