目标用户TEST5不存在:如果该用户不存在,则会自动创建该用户,但口令未知,需要自行更改下。
C:\Users\lxy>impdp test2/test2 network_link=abc0 directory=db_bak logfile=imp_dblink0 remap_schema=tzgl:test5
Import: Release10.2.0.3.0 - Production on星期三, 07 12月, 2011 14:14:17
Copyright (c) 2003, 2005, Oracle. All rights reserved.
连接到: Oracle Database10gEnterpriseEdition Release10.2.0.3.0 - Production
With the Partitioning, OLAP and Data Mining options
启动"TEST2"."SYS_IMPORT_SCHEMA_01": test2/******** network_link=abc0 directory
=db_bak logfile=imp_dblink0 remap_schema=tzgl:test5
正在使用BLOCKS方法进行估计...
处理对象类型SCHEMA_EXPORT/TABLE/TABLE_DATA
使用BLOCKS方法的总估计: 225.1 MB
处理对象类型SCHEMA_EXPORT/USER
……
处理对象类型SCHEMA_EXPORT/TABLE/TABLE
. .导入了"TEST5"."T1" 581344行
. .导入了"TEST5"."T2" 341425行
……
处理对象类型SCHEMA_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
处理对象类型SCHEMA_EXPORT/TABLE/INDEX/INDEX
……
处理对象类型SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
作业"TEST2"."SYS_IMPORT_SCHEMA_01"已经完成(于14:19:17完成)
不能同时使用TABLES SCHMAS参数:
C:\Users\lxy>impdp test2/test2 network_link=abc0 directory=db_bak logfile=imp_dblink0 schemas=tzgl remap_schema=test2:test3 tables=t1
Import: Release10.2.0.3.0 - Production on星期三, 07 12月, 2011 10:20:43
Copyright (c) 2003, 2005, Oracle. All rights reserved.
连接到: Oracle Database10gEnterpriseEdition Release10.2.0.3.0 - Production
With the Partitioning, OLAP and Data Mining options
UDI-00010:已请求多个作业模式, schema和tables。
去掉其中一个参数即可.
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/7177735/viewspace-713068/ ,如需转载,请注明出处,否则将追究法律责任。