impdp导入表和索引到不同表空间

导出:expdp test/test directory=dump_dir dumpfile=test.dmp logfile=test_expdp.log tables=t

 

导入表数据:impdp test/test directory=dump_dir dumpfile=test.dmp logfile=impdp_data.log remap_tablespace=system:datatb exclude=index

 

导入索引数据:impdp test/test directory=dump_dir dumpfile=test.dmp logfile=impdp_index.log remap_tablespace=system:idxtb include=index

 

查询语句:select segment_name,tablespace_name from dba_segments where owner='TEST';

 

请使用浏览器的分享功能分享到微信等