impdp 多个表空间到1个表空间通配符的使用

linux下面使用通配符正常

impdp system/oracle  directory=dump dumpfile=ht_%u remap_schema=ht:ht1 REMAP_TABLESPACE=%:ts_3 TABLE_EXISTS_ACTION=replace

[test]@ht01[/home/oracle]$impdp system/oracle  directory=dump dumpfile=ht_%u remap_schema=ht:ht1 REMAP_TABLESPACE=%:ts_3 TABLE_EXISTS_ACTION=replace

Import: Release 11.2.0.4.0 - Production on Tue Sep 10 06:40:15 2019

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

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Master table "SYSTEM"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
Starting "SYSTEM"."SYS_IMPORT_FULL_01":  system/******** directory=dump dumpfile=ht_%u remap_schema=ht:ht1 REMAP_TABLESPACE=%:ts_3 TABLE_EXISTS_ACTION=replace 
Processing object type SCHEMA_EXPORT/USER
Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
Processing object type SCHEMA_EXPORT/ROLE_GRANT
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
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 "HT1"."A"                                   11.00 KB       4 rows
. . imported "HT1"."B"                                   11.00 KB       4 rows
Job "SYSTEM"."SYS_IMPORT_FULL_01" successfully completed at Tue Sep 10 06:40:16 2019 elapsed 0 00:00:01

猜你喜欢

转载自www.cnblogs.com/omsql/p/11495270.html