我在 docker 上创建了一个新的 oracle DB 18xe。
我正在尝试使用以下命令导入转储文件
impdp **/**@xepdb1 directory=DATA_PUMP_DIR dumpfile=file.dmp
remap_schema='source:dest' logfile=imp.log CONTENT=DATA_ONLY
我收到以下错误
Import: Release 18.0.0.0.0 - Production on Thu Dec 9 05:39:42 2021
Version 18.4.0.0.0
Copyright (c) 1982, 2018, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 18c Express Edition Release 18.0.0.0.0 - Production
ORA-39002: invalid operation
我不知道为什么会出现此错误,我尝试仅导入一个表,使用以下命令
impdp **/**@xepdb1 directory=DATA_PUMP_DIR dumpfile=file.dmp
remap_schema='source:dest' logfile=imp.log CONTENT=DATA_ONLY tables=table1
我收到以下错误
Import: Release 18.0.0.0.0 - Production on Thu Dec 9 05:39:42 2021
Version 18.4.0.0.0
Copyright (c) 1982, 2018, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 18c Express Edition Release 18.0.0.0.0 - Production
ORA-39002: invalid operation
ORA-39166: Object dest.table1 was not found or could not be exported or imported.
感谢您的帮助人员。