1. 程式人生 > >expdp impdp中 exclude/include 的使用

expdp impdp中 exclude/include 的使用

  -->包含大於字元T的所有表物件
    [[email protected] ~]$ expdp scott/tiger directory=dump_scott dumpfile=tmp.dmp logfile=tmp.log include=table:\"\>\'T\'\"
    ...........
    Estimate in progress using BLOCKS method...
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 18.06 MB
    Processing object type SCHEMA_EXPORT/TABLE/TABLE
    Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
    . . exported "SCOTT"."TB_PARL"                           7.020 MB   72598 rows
    . . exported "SCOTT"."TT"                                7.009 MB   72493 rows
    . . exported "SCOTT"."XP":"P2"                           5.398 KB       1 rows
    Master table "SCOTT"."SYS_EXPORT_SCHEMA_01" successfully loaded/unloaded
    ******************************************************************************
    Dump file set for SCOTT.SYS_EXPORT_SCHEMA_01 is:
      /home/oracle/dump/scott/tmp.dmp
    Job "SCOTT"."SYS_EXPORT_SCHEMA_01" successfully completed at 14:24:55