Oracle Schema导入导出

Posted BINGJJFLY

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Oracle Schema导入导出相关的知识,希望对你有一定的参考价值。

需求
不同的数据库,不同的表空间
 
SQL> create directory data_pump_dir1 as ‘/home/oracle/datapump1‘;
Directory created.
SQL> create directory data_pump_dir2 as ‘/home/oracle/datapump2‘;
Directory created.
--建立用户赋予目录权限
SQL> grant connect,resource to FINANCE_PREONLINE identified by FINANCE_PREONLINE123;
Grant succeeded.
SQL> grant read,write on directory impdp to FINANCE_PREONLINE;
Grant succeeded.;
--赋予expdp,impdp的权限
SQL> grant exp_full_database,imp_full_database to FINANCE_PREONLINE ;
Grant succeeded.
 
 
 
 
SQL> grant connect,resource to J436_PREONLINE identified by J436_PREONLINE123;
Grant succeeded.
SQL> grant read,write on directory impdp to J436_PREONLINE;
Grant succeeded.
SQL> grant read,write on directory data_pump_dir2 to susan;
Grant succeeded.
--赋予expdp,impdp的权限
SQL> grant exp_full_database,imp_full_database to J436_PREONLINE ;
Grant succeeded.
 
 
impdp ‘/ as sysdba‘ directory=impdp dumpfile=scf_20181209.dmp remap_schema=SCF_FINANCE:FINANCE_PREONLINE remap_tablespace=SCF_FINANCE:FINANCE_PREONLINE
 
 

 

impdp ‘/ as sysdba‘ directory=impdp dumpfile=j436_20181209.dmp remap_schema=j436:J436_PREONLINE remap_tablespace=J436:J436_PREONLINE
 
问题
ORA-31644: unable to position to block number 623478 in dump file 

以上是关于Oracle Schema导入导出的主要内容,如果未能解决你的问题,请参考以下文章

Oracle导出全库备份,导入指定的schema并替换现有的表

Oracle Data Pump Schema 方式导入导出

Oracle Data Pump Schema 方式导入导出

oracle数据泵导入导出数据

oracle导出数据库的时候提示:这些对象由***导出,而不是当前用户

oracle数据库导出是出现的问题