首页  >  文章  >  数据库  >  如何将Oracle 11g备份导入到10g

如何将Oracle 11g备份导入到10g

WBOY
WBOY原创
2016-06-07 17:11:361224浏览

如何将Oracle 11g备份导入到10g ,10g 导入语句:IMPDP USERID=

 

 

 

二、在10g服务器上,使用impdp命令恢复数据

 

准备工作:1.建库2.建表空间3.建用户并授权4.将aa.dmp拷贝到10g的dpdump目录下

 

--创建表空间

createtablespace TS_Facial datafile'E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\Facial.DBF' size 500M autoextend on next50M;

 

--创建用户

create user Facial identified by Facial default tablespace TS_Facial;

 

--授权给用户

grantconnect,resource,dba to Facial;

aa.dmp和 aa.log 放在E:\oracle\product\10.2.0\admin\orcl\dpdump目录下

 

 



在用expdp的时候可能会报错,,在metink上和盖总哪儿都找到了解决方法

 

ORA-39213 Metadata processing not available

Connectedto: Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production

Withthe Partitioning, OLAP and Data Mining options

ORA-39006:internal error

ORA-39213:Metadata processing is not available

Metalink确认是一个又来已经的已知问题,可以尝试执行如下步骤解决:

connect/ as sysdba

executesys.dbms_metadata_util.load_stylesheets;

 

我的系统中,以上处理过程有效:

OracleDatabase 10g Enterprise Edition Release 10.2.0.2.0 - Production

Withthe Partitioning, OLAP and Data Mining options

 

SQL>exec dbms_metadata_util.load_stylesheets

 

PL/SQLprocedure successfully completed.

 

SQL>exit

此后导出可以顺利执行。

linux

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn