oracle - 数据泵导入无法打开日志文件

标签 oracle datapump

我正在尝试导入 Oracle BISAMPLE.dmp 架构,但出现此错误(无法打开日志文件)

enter image description here

最佳答案

参数to the directory parameter是Oracle目录对象的名称,而不是对操作系统目录的直接引用。

如果您还没有指向该操作系统目录的 Oracle 目录对象(该目录必须位于数据库服务器而不是客户端计算机上),您(作为 DBA)将必须 create it ,并向需要使用它的任何其他 Oracle 用户授予权限。

例如:

create directory MY_DATAPUMP_DIR as 'C:\installs\datapumpdir`;

然后

impdp directory=MY_DATAPUMP_DIR dumpfile=...

或者,您可以移动 .dmp 文件 to the default directory ,并忽略 directory 参数或指定默认值 DATA_PUMP_DIR

另外,请注意大警告 from the documentation :

Do not invoke Import as SYSDBA, except at the request of Oracle technical support. SYSDBA is used internally and has specialized functions; its behavior is not the same as for general users.

关于oracle - 数据泵导入无法打开日志文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40291594/

相关文章:

sql-server - SQL Server SSIS 和 Oracle 数据泵

oracle - 如何使用 REMAP_TABLE 重命名多个表名

oracle - 如何从oracle 11g回收站中删除表?

oracle - PL/SQL 转换特殊字符

oracle - ORA_ROWSCN - 旧的/恢复的 block 没有分配真正的SCN?

oracle - SQLPlus - 数据泵(expdp 和 impdp)

sql - Oracle SQL Developer - 添加外键约束

sql - 为什么我可以将数字插入 VARCHAR2 列?

c# - OracleDataClientBatchingBatcherFactory 引发空引用异常