expdp功能比較豐富,能導出用戶、表、表空間。sql
下面作一個導表code
expdp hf/pwd directory=NEWDIR dumpfile=tsubscriber tables=t_subscriber schemas=hf;
報錯:ip
UDE-00010: multiple job modes requested, schema and tables.it
是由於expdp中schema與tables參數不能同時出現。io
expdp hf/pwd directory=NEWDIR dumpfile=tsubscriber tables=t_subscriber;
Export: Release 11.2.0.3.0 - Production on Wed Nov 23 10:45:08 2016table
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.ast
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
Starting "HF"."SYS_EXPORT_TABLE_01": hf/******** directory=NEWDIR dumpfile=tsubscriber tables=t_subscriber
Estimate in progress using BLOCKS method...
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 344 MB
Processing object type TABLE_EXPORT/TABLE/TABLE
Processing object type TABLE_EXPORT/TABLE/COMMENT
Processing object type TABLE_EXPORT/TABLE/INDEX/INDEX
Processing object type TABLE_EXPORT/TABLE/INDEX/FUNCTIONAL_INDEX/INDEX
Processing object type TABLE_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
Processing object type TABLE_EXPORT/TABLE/INDEX/STATISTICS/FUNCTIONAL_INDEX/INDEX_STATISTICS
Processing object type TABLE_EXPORT/TABLE/TRIGGER
Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
. . exported "HF"."T_SUBSCRIBER" 296.2 MB 3004722 rows
Master table "HF"."SYS_EXPORT_TABLE_01" successfully loaded/unloaded
******************************************************************************
Dump file set for HF.SYS_EXPORT_TABLE_01 is:
/archlog/mydir/tsubscriber.dmp
Job "HF"."SYS_EXPORT_TABLE_01" successfully completed at 10:45:38
class