Home  >  Article  >  Database  >  如何将Oracle 11g备份导入到10g

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

WBOY
WBOYOriginal
2016-06-07 17:11:361224browse

如何将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

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn