OCP-1Z0-052-V8.02-102题
2013-11-26 10:25
375 查看
102. 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.
Answer: E
答案解析:
[oracle@rtest ~]$ oerr ora 39000
39000, 00000, "bad dump file specification"
// *Cause: The user specified a dump file that could not be used in the
// current job. Subsequent error messages describe the inadequacies
// of the dump file.
// *Action: Specify a dump file that is usable for the job.
[oracle@rtest ~]$ oerr ora 31640
31640, 00000, "unable to open dump file \"%s\" for read"
// *Cause: Import was unable to open the export file for reading. This
// message is usually followed by device messages from the operating
// system.
// *Action: Take appropriate action to restore the device.
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.
Answer: E
答案解析:
[oracle@rtest ~]$ oerr ora 39000
39000, 00000, "bad dump file specification"
// *Cause: The user specified a dump file that could not be used in the
// current job. Subsequent error messages describe the inadequacies
// of the dump file.
// *Action: Specify a dump file that is usable for the job.
[oracle@rtest ~]$ oerr ora 31640
31640, 00000, "unable to open dump file \"%s\" for read"
// *Cause: Import was unable to open the export file for reading. This
// message is usually followed by device messages from the operating
// system.
// *Action: Take appropriate action to restore the device.
相关文章推荐
- 字符编码问题,UNICODE\UTF-8\UTF-16\UTF-32\UCS\ANSI\GBK\GB2312等乱七八糟的名词
- Sun如何处理PostgreSQL和Java DB?
- Zookeeper入门指南
- union关键字和取类成员函数地址的方法
- MyEclipse代码格式化后自定义模版不换行设置方法
- python模块安装:numpy、pylab(转)
- 如何实现Flash中背景变色
- OCP-1Z0-052-V8.02-117题
- Initialization of data members
- 《转》如何成为一个牛逼的C/C++程序员?
- B-tree & B+tree & B*Tree 结构浅析——转
- android ListView中有按钮,无法获取焦点?android:descendantFocusability用法简析
- Eclipse中,常用的快捷键大全
- 时间测试函数
- Linux core dump的详细介绍及使用
- android ListView中有按钮,无法获取焦点?android:descendantFocusability用法简析
- 详解JMeter函数和变量
- zuccoj1450
- 读者写者问题——读者优先,写者优先,公平竞争 解决方法
- Linux内核源码分析方法