码迷,mamicode.com
首页 > 其他好文 > 详细

052-102

时间:2017-12-11 18:43:49      阅读:101      评论:0      收藏:0      [点我收藏+]

标签:object   ror   rom   change   pos   tor   net   amp   cts   

You want to import schema objects of the HR user using Oracle Data Pump from the development database, DEVDB, to the production database, PRODDB. A database link devdb.us.oracle.com is created between PRODDB and DEVDB.
You execute the following command on the PRODDB database server:
$ impdp system/manager directory = DB_DATA
dumpfile = schemas.dat
schemas = hr
flashback_time = "TO_TIMESTAMP(‘25-08-2007 14:35:00‘, ‘DD-MM-YYYY HH24:MI:SS‘)"
The command fails displaying the following error:
ORA-39001: invalid argument value
ORA-39000: bad dump file specification
ORA-31640: unable to open dump file "/home/oracle/schema/schemas.dat" for read
ORA-27037: unable to obtain file status
What would you do to overcome the error?
A.Add the user, SYSTEM, to the schemas option.
B.Add the network_link = devdb.us.oracle.com option.
C.Change the dumpfile option to schema.dat@devdb.us.oracle.com.
D.Replace the schemas option with the network_link = devdb.us.oracle.com option.
E.Replace the dumpfile option with the network_link = devdb.us.oracle.com option.

通过 database link 导数据需要提供参数 network_link ,这时不会生成 dump file,所以不需要 dumpfile 参数。

052-102

标签:object   ror   rom   change   pos   tor   net   amp   cts   

原文地址:http://www.cnblogs.com/Babylon/p/8023996.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!