3.2.2 impdp中使用network_link
与expdp中同样的步骤。前面都创建了的,这里不赘述。直接开始导入动作。
[oravis@sszdb06 test]$ impdp apps/apps DIRECTORY=dumpdir NETWORK_LINK=touat3 tables=APPS.TEST_WQ logfile=test_impdp.log
Import: Release 11.2.0.4.0 - Production on Fri Jan 30 10:49:04 2015
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
Starting "APPS"."SYS_IMPORT_TABLE_01": apps/******** DIRECTORY=dumpdir NETWORK_LINK=touat3 tables=APPS.TEST_WQ logfile=test_impdp.log
Estimate in progress using BLOCKS method...
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 3 MB
Processing object type TABLE_EXPORT/TABLE/TABLE
. . imported "APPS"."TEST_WQ" 20000 rows
Processing object type TABLE_EXPORT/TABLE/INDEX/INDEX
Processing object type TABLE_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
Processing object type TABLE_EXPORT/TABLE/POST_INSTANCE/PROCACT_INSTANCE
....
[oravis@sszdb06 ~]$ sqlplus / as sysdba
SQL> select count(1) from apps.test_wq ;
COUNT(1)
----------
20000