Solución al error ORA-39126: Error fatal inesperado de trabajo en KUPW$WORKER.LOAD_METADATA al utilizar IMPDP

 Hola Amig@s,

Si al intentar realizar un impdp creado en una bbdd 12.1 > nos devuelve el siguiente mensaje:

ORA-39126: Error fatal inesperado de trabajo en KUPW$WORKER.LOAD_METADATA [SELECT process_order, flags, xml_clob, NVL(dump_fileid, :1), NVL(dump_position, :2), dump_length, dump_allocation, NVL(value_n, 0), grantor, object_row, object_schema, object_long_name, partition_name, subpartition_name, processing_status, processing_state, base_object_type, base_object_schema, orig_base_object_schema, base_object_name, orig_base_object_name, base_process_order, parent_process_order, property, size_estimate, in_progress, original_object_schema, original_object_name, creation_level, object_path_seqno, object_type, object_type_path, object_int_oid, metadata_io,option_tag FROM "USUARIOBBDD"."SYS_IMPORT_FULL_02" WHERE  process_order between :3 AND :4 AND duplicate = 0 AND processing_state NOT IN (:5, :6, :7) ORDER BY process_order]

ORA-39183: se ha producido un error interno -19 durante la fase de descompresi¾n 2

ORA-06512: en "SYS.DBMS_SYS_ERROR", lÝnea 95

ORA-06512: en "SYS.KUPW$WORKER", lÝnea 12613

ORA-06512: en "SYS.DBMS_SYS_ERROR", lÝnea 95

ORA-06512: en "SYS.KUPW$WORKER", lÝnea 5386

ORA-06512: en "SYS.KUPF$FILE", lÝnea 8008

ORA-06512: en "SYS.KUPF$FILE_INT", lÝnea 962

ORA-06512: en "SYS.KUPF$FILE", lÝnea 7995

ORA-06512: en "SYS.KUPW$WORKER", lÝnea 5179

Se debe mayormente a que no hay un tamaño suficiente en el tablespace TEMP (aunque exista algo de espacio libre, es un bug de oracle). Para solucionarlo debemos crear un grupo de Tablespaces temporales con el siguiente comando desde SYS:

SQL> CREATE TEMPORARY TABLESPACE temp02

  2       TEMPFILE 'F:\oracle\oradata\DEVEL\temp02.dbf' SIZE 500M

  3       TABLESPACE GROUP tempgroup_a;


Tablespace creado.


SQL> CREATE TEMPORARY TABLESPACE temp03

  2       TEMPFILE 'F:\oracle\oradata\DEVEL\temp03.dbf' SIZE 2G

  3       TABLESPACE GROUP tempgroup_a;


Tablespace creado.


Donde el nombre del grupo es tempgroup_a. Una vez creado relanzaremos el IMPDP y ya no debería darnos más error. También podéis añadir el parámetro EXCLUDE=STADISTICS en la linea del IMPDP para evitar otro tipo de errores relacionados.

Espero que les resulte útil.
Salu2.
Share on Google Plus
    Blogger Comment

0 comentarios: