ORA-56935: existing datapump jobs are using a different version of time zone data file

问题描述

从Oracle12c导出的数据泵文件在导入到Oracle19c的环境中出现如下错误。

ORA-56935: existing datapump jobs are using a different version of time zone data file

Import: Release 19.0.0.0.0 - Production on Thu Feb 1 11:05:13 2024
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

处理方法:

ORA-39065 And ORA-56935 Errors When Running Impdp On 12c R2 Database (Doc ID 2471020.1)

ORA-56935: existing datapump jobs are using a different version of time zone data file_第1张图片

SELECT PROPERTY_NAME, SUBSTR (property_value, 1, 30) value
FROM   DATABASE_PROPERTIES
WHERE  PROPERTY_NAME LIKE 'DST_%'
ORDER  BY PROPERTY_NAME;

ORA-56935: existing datapump jobs are using a different version of time zone data file_第2张图片

connect / as sysdba
ALTER SESSION SET EVENTS '30090 TRACE NAME CONTEXT FOREVER, LEVEL 32';
exec dbms_dst.unload_secondary;

ORA-56935: existing datapump jobs are using a different version of time zone data file_第3张图片

你可能感兴趣的:(数据库运维案例分享,oracle,数据库)