最佳答案
参数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/