oracle expdp导出一个用户的多个表空间,并指定导出版本格式,导入时只导入一个表空间

导出:

expdp system/password@orcl DIRECTORY=DATA_PUMP_DIR schemas=usr1 dumpfile=expdp0417.dmp logfile=expdp0417.log version=10.2.0.1.0

正常导入:

impdp usr1/password@orcl directory=DATA_PUMP_DIR dumpfile=expdp0416_1.dmp logfile=expdp0416_1.log schemas=usr1

导入时指定表空间:

impdp system/password@orcl directory=DATA_PUMP_DIR dumpfile=expdp0416.dmp logfile=expdp0416_2.log remap_tablespace=WORSPACE1:WORKSPACE,WORKSPACE2:WORKSPACE,WORKSPACE3:WORKSPACE

你可能感兴趣的:(oracle)