remap_tablespace

remap_tablespace多个的时候,如下两种方式都可以的。
remap_tablespace=users:tt2 remap_tablespace=tt1:tt3
remap_tablespace=users:tt2,tt1:tt3

C:\Users\Admin.LONG1-LI>impdp tt3/tt3 directory=temp_dir dumpfile=scott.dmp remap_schema=scott:tt3 remap_tablespace=users:tt2 remap_tablespa
ce=tt1:tt3

Import: Release 10.2.0.1.0 - Production on Monday, 28 September, 2015 9:59:56
C:\Users\Admin.LONG1-LI>impdp tt3/tt3 directory=temp_dir dumpfile=scott.dmp remap_schema=scott:tt3 remap_tablespace=users:tt2,tt1:tt3

Import: Release 10.2.0.1.0 - Production on Monday, 28 September, 2015 9:56:10
Copyright (c) 2003, 2005, Oracle.  All rights reserved.

Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
Master table "TT3"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
Starting "TT3"."SYS_IMPORT_FULL_01":  tt3/******** directory=temp_dir dumpfile=scott.dmp remap_schema=scott:tt3 remap_tablespace=users:tt2,t
t1:tt3
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/TABLE/TABLE
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
. . imported "TT3"."DEPT"                                5.656 KB       4 rows
. . imported "TT3"."EMP"                                 7.820 KB      14 rows
. . imported "TT3"."SALGRADE"                            5.585 KB       5 rows
. . imported "TT3"."TT1"                                 4.945 KB       3 rows
. . imported "TT3"."TT2"                                 4.929 KB       3 rows
. . imported "TT3"."TT3"                                 4.937 KB       2 rows
. . imported "TT3"."BONUS"                                   0 KB       0 rows
Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
Job "TT3"."SYS_IMPORT_FULL_01" successfully completed at 09:56:14

##################################################################################################################################

C:\Users\Admin.LONG1-LI>impdp tt3/tt3 directory=temp_dir dumpfile=scott.dmp remap_schema=scott:tt3 remap_tablespace=users:tt2,tt1:tt3

Import: Release 10.2.0.1.0 - Production on Monday, 28 September, 2015 10:03:12

Copyright (c) 2003, 2005, Oracle.  All rights reserved.

Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
Master table "TT3"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
Starting "TT3"."SYS_IMPORT_FULL_01":  tt3/******** directory=temp_dir dumpfile=scott.dmp remap_schema=scott:tt3 remap_tablespace=users:tt2,t
t1:tt3
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/TABLE/TABLE
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
. . imported "TT3"."DEPT"                                5.656 KB       4 rows
. . imported "TT3"."EMP"                                 7.820 KB      14 rows
. . imported "TT3"."SALGRADE"                            5.585 KB       5 rows
. . imported "TT3"."TT1"                                 4.945 KB       3 rows
. . imported "TT3"."TT2"                                 4.929 KB       3 rows
. . imported "TT3"."TT3"                                 4.937 KB       2 rows
. . imported "TT3"."BONUS"                                   0 KB       0 rows
Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
Job "TT3"."SYS_IMPORT_FULL_01" successfully completed at 10:03:16

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/24237320/viewspace-1813598/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/24237320/viewspace-1813598/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值