一次impdp ORA39006 的填坑之旅
故事背景
本故事根据真实事件改编,写下处理的心路历程,某年某月某日,一个月黑风高的晚上,
项目组使用expdp和impdp迁移数据时,在impdp导入时报ORA-39006: internal error
,并且说在测试环境测试的没问题
生产上这个库一个月前新搭建的,今天上线,我心想,测试都没问题,生产怎么会有问题,是不是项目组干了啥导致的
项目组给了个impdp的输出,真的只有ORA-39006: internal error
,问咋办,凉拌,没有更多的信息,首先怀疑dmp包在使用ftp传输的时候有问题,让项目组重新传了一份进行导入,还是报相同的错误
impdp前台日志
[oracle@cesdb3 ~]$ impdp '"/ as sysdba"' directory=my_dir dumpfile=testexp.dmp logfile=testexp.log.`date +%Y%m%d%H%M%S` schemas=testexp
Import: Release 19.0.0.0.0 - Production on Mon Jan 8 15:32:41 2024
Version 19.13.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