怎样把Solaris的Oracle数据弄到Windows上来

-----------------------

在远端的Sun服务器上有Oracle for Solaris.
但是有火墙,无法用SQL工具直接连上去。
所以就用Export工具在Sun上面做了个Dmp文件。
然后用Ftp get 下来。
正准备用Import 到我本机的Database Ora9 for windows中,但是出错。
请教了,有什么方便的方法可以把Oracle for Solaris中的数据弄到Oracle for Windows中!

-----------------------

IMP不成功

Export的方式
bash-2.03$ exp ilearn/ilearn file=20031020_1.dmp tables=\(object_variance\)
Export: Release 9.2.0.1.0 - Production on Mon Oct 20 09:32:31 2003
Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
Connected to: Oracle9i Enterprise Edition Release 9.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
Export done in UTF8 character set and AL16UTF16 NCHAR character set
About to export specified tables via Conventional Path ...
. . exporting table                OBJECT_VARIANCE        252 rows exported
Export terminated successfully without warnings.
Import的方式
Import: Release 9.0.1.1.1 - Production on Mon Oct 20 09:38:41 2003
(c) Copyright 2001 Oracle Corporation.  All rights reserved.
Connected to: Oracle9i Enterprise Edition Release 9.0.1.1.1 - Production
With the Partitioning option
JServer Release 9.0.1.1.1 - Production
IMP-00010: not a valid export file, header failed verification
IMP-00000: Import terminated unsuccessfully
一个是Solaris的DB,一个是Windows的DB。为什么发生这种情况?

-----------------------

exp/imp

呵呵,这样exp/imp肯定是不行的,
这跟oracle的版本有关系,据我的测试,高版本的exp出来后是不能imp进低版本的数据库,相反则可以,建议是直接用windows环境下的exp/imp进行数据迁移,这样可以解决问题,另外,如果表不是很多的话,用db link来转移资料也未尝不可.

-----------------------

版本

Export的数据库是Oracle9.2.0.1.0
Import的数据库是Oracle9.0.1.1.1
我倒过来试一下吧。

-----------------------

倒过来可以

倒过来,我Test成功了。
从9.0.1.1.1Exp,到9.2.0.1.0Imp。
看来还是版本问题。
只有去找Oracle9.2.0的Windows版本了。

-----------------------

http://www.itpub.net/thread-166479-1-1.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值