开发者

Oracle DB expdp and impdp issue

I have created many interlinked tables as user "SCOTT" in oracle DB. I want to copy these tables plus their data to new user "PRODUCTION"

For exporting data from "SCOTT", i used :

./expdp scott schemas=SCOTT directory=TEST_DIR dumpfile=SCOTT.dmp logfile=expdpSCOTT.log CONTENT=ALL

Now for importing it, when i am using command :

./impdp PRODUCTION directory=TEST_DIR dumpfile=SCOTT.dmp logfile=impdpSCOTT.log CONTENT=ALL

, notable is getting created in PRODUCTION. The output of the above command (IMDB) is "Job "PRODUC开发者_开发百科TION"."SYS_IMPORT_FULL_01" successfully completed'.

Please help me to solve the issue.

Thanks


You need to add paraneter REMAP_SCHEMA=SCOTT:PRODUCTION. See the impdb documentation. Without it, there is nothing in the export that is relevant to your production user.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜