ORA-39065: unexpected master process exception in DISPATCHORA-56935: existing datapump jobs are usi

从11g中备份用户,导入到19c时报错,报错如下

orcl:/u01/backup@testdb> tail -f nohup.out

Import: Release 19.0.0.0.0 - Production on Sun Aug 27 15:57:13 2023
Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle and/or its affiliates.  All rights reserved.

Connected to: Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
ORA-39006: internal error
ORA-39065: unexpected master process exception in DISPATCH
ORA-56935: existing datapump jobs are using a different version of time zone data file
ORA-06512: at "SYS.DBMS_DST", line 1864
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 79
ORA-06512: at "SYS.DBMS_DST", line 1827
ORA-06512: at "SYS.KUPM$MCP", line 20451
ORA-06512: at "SYS.KUPM$MCP", line 13058
ORA-06512: at "SYS.KUPM$MCP", line 12434
ORA-06512: at "SYS.KUPM$MCP", line 15078
ORA-06512: at "SYS.KUPM$MCP", line 10314

ORA-39097: Data Pump job encountered unexpected error -56935

参考mos文档:

DataPump Import Fails With Errors ORA-39097 ORA-39065 ORA-56935 / ORA-56938 (Doc ID 1307959.1)

处理如下
ALTER SESSION SET EVENTS '30090 TRACE NAME CONTEXT FOREVER, LEVEL 32';
exec DBMS_DST.UNLOAD_SECONDARY;
查询 DST_UPGRADE_STATE 值
SELECT PROPERTY_NAME, SUBSTR(PROPERTY_VALUE, 1, 30) VALUE
  FROM DATABASE_PROPERTIES
 WHERE PROPERTY_NAME LIKE 'DST_%'
 ORDER BY PROPERTY_NAME;

处理后重新导入,导入正常

你可能感兴趣的:(Oracle_19c,oracle,数据库,运维)