直接用19c導出的dmp文件導入到12c,報錯:
ORA-39002: invalid operation
ORA-39358: Export dump file version 19.0.0.0.0 not compatible with target version 12.2.0
解決方法:
重新導出with parameter version=12.2.0
expdp directory=DM_DMP_DIR dumpfile=expdp_%U_20200731_preprod.dmp schemas=BOUSER,FOUSER logfile=expdp_PREPROD2_20200731.log parallel=4 cluster=N version=12.2.0
用這個dmp文件則可成功導入12C.