Wednesday, August 1, 2018

ORA-1427 During Importing Statistics

To BottomTo Bottom

In this Document
Symptoms
Cause
Solution


APPLIES TO:

Oracle Database - Enterprise Edition - Version 10.1.0.2 and later
Information in this document applies to any platform.
***Checked for relevance on 06-Nov-2015***

SYMPTOMS

During DataPump import, you encounter errors like:
ORA-39097: Data Pump job encountered unexpected error -1427
ORA-39065: unexpected master process exception in DISPATCH
ORA-01427: single-row subquery returns more than one row
Job "SYS"."SYS_IMPORT_FULL_02" stopped due to fatal error at 16:07:30

The import logfile shows:
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/STATISTICS/TABLE_STATISTICS
ORA-39126: Worker unexpected fatal error in KUPW$WORKER.PUT_DDLS [TABLE_STATISTICS]
ORA-06502: PL/SQL: numeric or value error
LPX-00241: entity reference is not well formed
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPW$WORKER", line 9001

CAUSE

There is an issue with the statistics in the export dump.

SOLUTION

Import with EXCLUDE=STATISTICS and gather the statistics after the import.

No comments: