Home > Database > Mysql Tutorial > body text

通过expdpimpdp把11g的数据迁移到10g平台的要点

WBOY
Release: 2016-06-07 17:30:05
Original
1018 people have browsed it

要导入的目标数据库主机是10g,而源数据主机是11g,要完成迁移的话,就需要用到oracle在10g中新加入的功能数据泵,因为在11g中,

要导入的目标数据库主机是10g,而源数据主机是11g,要完成迁移的话,就需要用到Oracle在10g中新加入的功能数据泵,因为在11g中,,数据泵可以定义导出文件的版本,即version。现在把要点写在下边,供大家参考:

C:\Windows\system32>sqlplus /nolog

SQL*Plus: Release 11.2.0.1.0 Production on 星期三 4月 3 09:32:26 2013

Copyright (c) 1982, 2010, Oracle.  All rights reserved.

SQL> connsystem/windows@orcl
已连接。
SQL> Create directory dump_dir as 'E:\studydemo\oracle\dumpdir';

目录已创建。

SQL> grant read,write on  directory dump_dir to scott;

授权成功。

SQL> exit
C:\Windows\system32> expdpsystem/windows@orclschemas=scott directory=dump_
dir  dumpfile=scott.dmp logfile=exp.log version=10.2.0.3.0

 

C:\Windows\system32>impdpsystem/windows@orclschemas=scott directory=dump_d
ir dumpfile=scott.dmp logfile=imp.log version=10.2.0.3.0

linux

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!