Chinaunix

标题: 如何从异构环境下9i到10G的迁移? [打印本页]

作者: stzlz    时间: 2012-02-06 09:05
标题: 如何从异构环境下9i到10G的迁移?
目前要完成一项任务,从windows环境下的9i把数据迁移到AIX下的10GR2。
数据已经从9i上exp出来了,用SYS用户加full=y参数。
在imp到10G时报了很多错。
10G的环境需要怎么准备呢?谢谢
作者: guyeh    时间: 2012-02-06 10:28
怎么操作的?报了什么错误呢?

你可以imp system/passwd fromuser=用户名(业务系统所属) touser=用户名(AIX下新建的业务系统所属)file=文件名  来导入


作者: stzlz    时间: 2012-02-06 11:04
我有一点搞不清楚,因为之前数据库是厂家布置的,不清楚有几个用户需要导出。所以我用的是FULL导出。
另外问一点,在导入数据之前要不要先建好表空间?还是在导入数据时会自动建表空间?
作者: yzkarchive    时间: 2012-02-06 11:06
先用rows=n导入一次数据库结构,再导入一次数据试下
作者: blue_stone    时间: 2012-02-06 11:37
import的时候, 系统用户的数据不要导入
作者: stzlz    时间: 2012-02-07 00:13
试过楼上二位的作法,依然不行,提示:
ORA-01917: user or role 'EIPWEB' does not exist
IMP-00017: following statement failed with ORACLE error 1917:
"GRANT "CONNECT" TO "ITSM""
IMP-00003: ORACLE error 1917 encountered
ORA-01917: user or role 'ITSM' does not exist
IMP-00017: following statement failed with ORACLE error 1918:
"ALTER USER "EIPPORTAL" DEFAULT ROLE ALL"
IMP-00003: ORACLE error 1918 encountered
ORA-01918: user 'EIPPORTAL' does not exist
IMP-00017: following statement failed with ORACLE error 1918:
"ALTER USER "EIPWEB" DEFAULT ROLE ALL"
IMP-00003: ORACLE error 1918 encountered
ORA-01918: user 'EIPWEB' does not exist
IMP-00017: following statement failed with ORACLE error 1918:
"ALTER USER "EAI" DEFAULT ROLE ALL"
IMP-00003: ORACLE error 1918 encountered
ORA-01918: user 'EAI' does not exist
IMP-00017: following statement failed with ORACLE error 1918:
"ALTER USER "ITSM" DEFAULT ROLE ALL"
IMP-00003: ORACLE error 1918 encountered
ORA-01918: user 'ITSM' does not exist
. importing WMSYS's objects into WMSYS
. importing WKSYS's objects into WKSYS
. importing ODM's objects into ODM
. importing OLAPSYS's objects into OLAPSYS
. importing HR's objects into HR
. importing OE's objects into OE
. importing QS's objects into QS
. importing QS_WS's objects into QS_WS
. importing QS_ES's objects into QS_ES
. importing QS_OS's objects into QS_OS
. importing QS_CBADM's objects into QS_CBADM
. importing QS_CS's objects into QS_CS
. importing RMAN's objects into RMAN
. importing BBS's objects into BBS
. importing BBSCS's objects into BBSCS
. importing EIPPORTAL's objects into EIPPORTAL
"ALTER SESSION SET CURRENT_SCHEMA= "EIPPORTAL""
IMP-00003: ORACLE error 1435 encountered
ORA-01435: user does not exist
IMP-00000: Import terminated unsuccessfully
$
作者: baiyangdw    时间: 2012-02-23 15:21
很明显,你应该建上原来系统的表空间。但是角色和用户为什么创建上,就比较奇怪了。
作者: renxiao2003    时间: 2012-02-27 23:31
是否需要将相关的用户等信息建立好啊。
作者: zhlin0054    时间: 2012-08-13 08:11
学习了,谢谢分享




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2