impdp 数据泵导入
    导入方式1:元数据库和目标数据库(自己在测试环境创建的数据库)用户名,表空间都一致的情况下
    impdp matech/matech0102@orcl directory=matech dumpfile=matech_2019_05_21.dmp full= y table_exists_action=append logfile=matech_impdp.log TRANSFORM=segment_attributes:n transform=OID:N

    impdp 语句解释:数据库用户名(schema)/数据库用户密码(schema)@数据库的实例名 directory=目录 dumpfile=备份的数据库文件(放到directory=matech下的) logfile=data.log(导入的日志)

    导入方式2:元数据库和目标数据库(自己在测试环境创建的数据库)用户名,表空间不都一致的情况下
    impdp matech/matech0102@orcl directory=matech dumpfile=GDH_2019-06-26.DMP remap_tablespace=matech:gdh remap_tablespace=matech_temp:gdh_temp full= y table_exists_action=append logfile=gdh_import.log TRANSFORM=segment_attributes:n transform=OID:N
    impdp 语句解释:目标数据库用户名(schema)/目标数据库用户密码(schema)@目标数据库的实例名 directory=

    目录 dumpfile=备份的数据库文件(放到directory=matech下的) logfile=data.log(导入的日志)
    expdp matech/matech0102@orcl directory=matech dumpfile=MATECH_2019_07_04.DMP logfile=matech_2019_07_04.log
    expdp 语句解释:目标数据库用户名(schema)/目标数据库用户密码(schema)@目标数据库的实例名 directory=目
    录 dumpfile=备份的数据库文件(放到directory目录下) logfile=导出的日志记录