我是甲骨文的新手,我面临着与impdp的麻烦.我有一个生产服务器,我已经创建了一个新的服务器用于测试目的,所以我安装了centos,oracle并创建了@R_301_457@“sire”.现在,我使用以下命令从生产服务器进行转储:
expdp system/password@sire full=Y directory=pump_dir dumpfile=sire_dump.dmp logfile=sire.log
我来到新服务器,我执行impdp:
impdp system/password@sire full=Y directory=pump_directorio dumpfile=sire_dump.dmp logfile=sire_imp.log
它开始进行导入,但后来我收到错误,例如:
“the user vberrios does not exist”. And also error beause it cannot
found some schemas and tablespaces.
我的问题是:不应该认为impdp full = Y必须导入所有用户和模式?我已经读过我必须在目标服务器中创建用户,但我在@R_301_457@中有大约300个用户.如何在空服务器中执行完全导入.我只想导入完整的@R_301_457@和用户以及所有对象.
解决方法
documentation states,当转储文件包含create user语句时,impdp将创建用法:
If the schema you are remapping to does not already exist,the import
operation creates it,provided the dump file set contains the
necessary CREATE USER Metadata and you are importing with enough
privileges.
因此,您的转储文件不完整(例如由于缺少权限)或您缺少目标@R_301_457@的权限.
因此,请检查源@R_301_457@和目标@R_301_457@的权限.请根据相关信息更新您的问题.要使导出包含模式定义,您必须具有DATAPUMP_EXP_FULL_DATABASE特权.