impdp 导入报错

C:\Users\Administrator>impdp u1/u1 dumpfile=tmp_1.dmp directory=dir tables=scott.tm_out_b1 logfile=1.
log

Import: Release 11.2.0.1.0 - Production on 星期一 5月 7 16:53:06 2012

Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-31655: 尚未为作业选择数据或元数据对象
ORA-39154: 外部方案中的对象已从导入中删除
已成功加载/卸载了主表 "U1"."SYS_IMPORT_TABLE_01"
启动 "U1"."SYS_IMPORT_TABLE_01":  u1/******** dumpfile=tmp_1.dmp directory=dir tables=scott.tm_out_b1
 logfile=1.log
作业 "U1"."SYS_IMPORT_TABLE_01" 已于 16:53:10 成功完成

 

 

加上remap_schema

C:\Users\Administrator>impdp u1/u1 dumpfile=tmp_1.dmp directory=dir tables=scott.tm_out_b1 logfile=1.
log

Import: Release 11.2.0.1.0 - Production on 星期一 5月 7 16:53:06 2012

Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-31655: 尚未为作业选择数据或元数据对象
ORA-39154: 外部方案中的对象已从导入中删除
已成功加载/卸载了主表 "U1"."SYS_IMPORT_TABLE_01"
启动 "U1"."SYS_IMPORT_TABLE_01":  u1/******** dumpfile=tmp_1.dmp directory=dir tables=scott.tm_out_b1
 logfile=1.log
作业 "U1"."SYS_IMPORT_TABLE_01" 已于 16:53:10 成功完成

 

注意: tables=表明  最好是写成对象 . 表名(例如:SCOTT.TM_OUT_B1) 否则

C:\Users\Administrator>impdp u1/u1 dumpfile=tmp_1.dmp directory=dir tables=tm_out_b1 logfile=1.log

Import: Release 11.2.0.1.0 - Production on 星期一 5月 7 16:52:26 2012

Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-39002: 操作无效
ORA-39166: 找不到对象 U1.TM_OUT_B1。

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值