Error:
Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
Processing object type SCHEMA_EXPORT/STATISTICS/MARKER
ORA-39126: Worker unexpected fatal error in KUPW$WORKER.STATS_UNLOAD [MARKER]
MARKER
ORA-01000: maximum open cursors exceeded
ORA-06512: at "SYS.DBMS_STATS_INTERNAL", line 15556
ORA-06512: at "SYS.DBMS_STATS_INTERNAL", line 15568
ORA-02063: preceding 3 lines from PROD2DELTA
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
ORA-06512: at "SYS.KUPW$WORKER", line 11265
----- PL/SQL Call Stack -----
object line object
handle number name
0x17ba1deff8 27116 package body SYS.KUPW$WORKER
0x17ba1deff8 11286 package body SYS.KUPW$WORKER
0x17ba1deff8 24429 package body SYS.KUPW$WORKER
0x17ba1deff8 20692 package body SYS.KUPW$WORKER
0x17ba1deff8 10206 package body SYS.KUPW$WORKER
0x17ba1deff8 13381 package body SYS.KUPW$WORKER
0x17ba1deff8 3173 package body SYS.KUPW$WORKER
0x17ba1deff8 12035 package body SYS.KUPW$WORKER
0x17ba1deff8 2081 package body SYS.KUPW$WORKER
0xd897ec40 2 anonymous block
Fixing up the name in the impdp stat table
ORA-39126: Worker unexpected fatal error in KUPW$WORKER.STATS_LOAD [MARKER]
ORA-30926: unable to get a stable set of rows in the source tables
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPW$WORKER", line 11259
----- PL/SQL Call Stack -----
object line object
handle number name
0x17ba1deff8 27116 package body SYS.KUPW$WORKER
0x17ba1deff8 11286 package body SYS.KUPW$WORKER
0x17ba1deff8 24286 package body SYS.KUPW$WORKER
0x17ba1deff8 24415 package body SYS.KUPW$WORKER
0x17ba1deff8 10105 package body SYS.KUPW$WORKER
0x17ba1deff8 13381 package body SYS.KUPW$WORKER
0x17ba1deff8 3173 package body SYS.KUPW$WORKER
0x17ba1deff8 12035 package body SYS.KUPW$WORKER
0x17ba1deff8 2081 package body SYS.KUPW$WORKER
0xd897ec40 2 anonymous block
In STATS_UNLOAD
DBMS_STATS.EXPORT_STATS_FOR_DP
DBMS_STATS.EXPORT_STATS_FOR_DP
In STATS_LOAD with process_order 544
Fixing up the name in the impdp stat table
Job "EXPOPR"."SYS_IMPORT_SCHEMA_02" stopped due to fatal error.
Cause:
The issue is because of stale statistics.
Solution:
To overcome from this use the below workarounds:
1. Gather the statistics for Dictionary and Fixed Objects as follows:
SQL> exec dbms_stats.gather_dictionary_stats;
SQL> exec dbms_stats.lock_table_stats (null,'X$KCCLH');
SQL> exec dbms_stats.gather_fixed_objects_stats;
2. Run a fresh export after gathering stats then, use the new generated dump file to import.
OR
3. Exclude statistics during the import job and gather stats afterwards.
impdp system/password parfile=imp_user.par ... exclude=statistics
Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
Job "EXPOPR"."SYS_IMPORT_SCHEMA_03" completed
Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
Processing object type SCHEMA_EXPORT/STATISTICS/MARKER
ORA-39126: Worker unexpected fatal error in KUPW$WORKER.STATS_UNLOAD [MARKER]
MARKER
ORA-01000: maximum open cursors exceeded
ORA-06512: at "SYS.DBMS_STATS_INTERNAL", line 15556
ORA-06512: at "SYS.DBMS_STATS_INTERNAL", line 15568
ORA-02063: preceding 3 lines from PROD2DELTA
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
ORA-06512: at "SYS.KUPW$WORKER", line 11265
----- PL/SQL Call Stack -----
object line object
handle number name
0x17ba1deff8 27116 package body SYS.KUPW$WORKER
0x17ba1deff8 11286 package body SYS.KUPW$WORKER
0x17ba1deff8 24429 package body SYS.KUPW$WORKER
0x17ba1deff8 20692 package body SYS.KUPW$WORKER
0x17ba1deff8 10206 package body SYS.KUPW$WORKER
0x17ba1deff8 13381 package body SYS.KUPW$WORKER
0x17ba1deff8 3173 package body SYS.KUPW$WORKER
0x17ba1deff8 12035 package body SYS.KUPW$WORKER
0x17ba1deff8 2081 package body SYS.KUPW$WORKER
0xd897ec40 2 anonymous block
Fixing up the name in the impdp stat table
ORA-39126: Worker unexpected fatal error in KUPW$WORKER.STATS_LOAD [MARKER]
ORA-30926: unable to get a stable set of rows in the source tables
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPW$WORKER", line 11259
----- PL/SQL Call Stack -----
object line object
handle number name
0x17ba1deff8 27116 package body SYS.KUPW$WORKER
0x17ba1deff8 11286 package body SYS.KUPW$WORKER
0x17ba1deff8 24286 package body SYS.KUPW$WORKER
0x17ba1deff8 24415 package body SYS.KUPW$WORKER
0x17ba1deff8 10105 package body SYS.KUPW$WORKER
0x17ba1deff8 13381 package body SYS.KUPW$WORKER
0x17ba1deff8 3173 package body SYS.KUPW$WORKER
0x17ba1deff8 12035 package body SYS.KUPW$WORKER
0x17ba1deff8 2081 package body SYS.KUPW$WORKER
0xd897ec40 2 anonymous block
In STATS_UNLOAD
DBMS_STATS.EXPORT_STATS_FOR_DP
DBMS_STATS.EXPORT_STATS_FOR_DP
In STATS_LOAD with process_order 544
Fixing up the name in the impdp stat table
Job "EXPOPR"."SYS_IMPORT_SCHEMA_02" stopped due to fatal error.
Cause:
The issue is because of stale statistics.
Solution:
To overcome from this use the below workarounds:
1. Gather the statistics for Dictionary and Fixed Objects as follows:
SQL> exec dbms_stats.gather_dictionary_stats;
SQL> exec dbms_stats.lock_table_stats (null,'X$KCCLH');
SQL> exec dbms_stats.gather_fixed_objects_stats;
2. Run a fresh export after gathering stats then, use the new generated dump file to import.
OR
3. Exclude statistics during the import job and gather stats afterwards.
impdp system/password parfile=imp_user.par ... exclude=statistics
Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
Job "EXPOPR"."SYS_IMPORT_SCHEMA_03" completed
No comments:
Post a Comment