Oracle 18c如何使用impdp导入.dmp文件

时间:2019-03-26 16:08:50

标签: oracle import oracle12c oracle18c

我有一个第三方合作伙伴提供的* .dmp文件,该文件提供了要使用的数据。我想将其导入到本地Oracle 18c数据库中进行第一轮测试,因为我对Oracle数据库还很陌生。

他们还在文本文件中提供了两个较长的“ create table ....”命令,因此我认为此转储文件具有来自2个表的数据。

编辑: 遵循Alex Poole的建议使用impdp,出现以下错误:

C:\Users\myusername>impdp dumpfile=testdumpfile.dmp

Import: Release 18.0.0.0.0 - Production on Tue Mar 26 18:18:18 2019
Version 18.3.0.0.0

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

Username: c##myusername
Password:

Connected to: Oracle Database 18c Enterprise Edition Release 18.0.0.0.0 - Production

Warning: Oracle Data Pump operations are not typically needed when connected to the root or seed of a container database.


UDI-31626: operation generated ORACLE error 31626
ORA-31626: job does not exist
ORA-06512: at "SYS.DBMS_DATAPUMP", line 4750
ORA-06512: at "SYS.KUPV$FT_INT", line 2082
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 79
ORA-06512: at "SYS.KUPV$FT_INT", line 2062
ORA-39086: cannot retrieve job information
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 79
ORA-06512: at "SYS.KUPV$FT_INT", line 2055
ORA-06512: at "SYS.DBMS_DATAPUMP", line 2266
ORA-06512: at "SYS.DBMS_DATAPUMP", line 4499
ORA-06512: at "SYS.DBMS_DATAPUMP", line 6104
ORA-06512: at line 1

0 个答案:

没有答案