oracle - Oracle 18c 如何使用 impdp 导入 .dmp 文件
问题描述
我有一个来自第 3 方合作伙伴的 *.dmp 文件,该合作伙伴提供要使用的数据。我想将它导入我的本地 Oracle 18c 数据库进行第一轮测试,因为我对 Oracle 数据库还很陌生。
他们还在一个文本文件中提供了两个长的“创建表......”命令,所以我认为这个转储文件有来自 2 个表的数据。
编辑:使用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
解决方案
推荐阅读
- java - 如何在 java 中的凯撒加密中包含文件处理?
- javascript - JavaScript中的线线交叉点?
- spring - 使用 Spring WebClient 访问受 OAuth2 保护的资源,其中令牌提供程序也受 ssl 保护
- python - 如何使用 Python 在电子邮件 HTML 中嵌入多个图像
- ios - 为什么这个组合管道不让项目通过?
- vb.net - 有没有办法避免错误语句“算术运算导致溢出。”?
- python - 特定文件名的 Python 列表
- amazon-web-services - 通过标签 AGE 删除 kubernetes pvc 的自动化脚本
- css - 使用过滤器模糊的 CSS 动画导致 Chrome 上的“文本跳转”
- python - Flask 连接失败,地址不可用