请教oracle9201的exp无法导出11g的问题

[复制链接]
查看11 | 回复9 | 2007-10-20 08:38:44 | 显示全部楼层 |阅读模式
这个问题是别人问我的,我直接告诉人家,用较低版本的exp去导出就可以了,说是报错,我才测试了一下,果然不行
有人遇到过相同的问题没?
是不是大版本号必须相邻才行啊?按照向下兼容的原则,低版本的是可以exp高版本的啊,有点搞不懂了?
敬请大师们指点一下小弟。。。感谢!

回复

使用道具 举报

千问 | 2007-10-20 08:38:44 | 显示全部楼层
小弟在线等大师们啊~~~~
回复

使用道具 举报

千问 | 2007-10-20 08:38:44 | 显示全部楼层
导出还是导入,没明白,我之前好像有一次是9i上面exp的dmp文件,在8i上面无法导入,太久远了,记不太清了,好像是这个样子的,高版本导出的无法在低版本上导入
回复

使用道具 举报

千问 | 2007-10-20 08:38:44 | 显示全部楼层
就是用9201的exp去导出11g的数据库,按照向下兼容的原则,应该是可以的呀
回复

使用道具 举报

千问 | 2007-10-20 08:38:44 | 显示全部楼层
补充一下:9201的exp是在win7下的,11g数据库是linux下的
回复

使用道具 举报

千问 | 2007-10-20 08:38:44 | 显示全部楼层
没人遇到过这个问题吗?
回复

使用道具 举报

千问 | 2007-10-20 08:38:44 | 显示全部楼层
*) If EXP920 is used to export from 11g (R1 or R2); then first check the Note 550740.1 Export From 11g using EXP Utility Version 9iR2 Produces Corrupt Export Dump and apply the solution.
回复

使用道具 举报

千问 | 2007-10-20 08:38:44 | 显示全部楼层
不好意思,我没有metalink的账号,可能看不到Note 550740.1 ,我刚才测试了一下,得出结论:
exp工具在win平台上,按照向下兼容的原则,且大版本号相邻或者一致,则可以正常的导出;
exp工具在linux平台上,按照向下兼容的原则,既可正常导出,对大版本号没有要求;
我的测试:win7平台上的exp,分别用9201的exp和10201的exp去导出11g数据库,前者无法导出,后者正常导出;linux平台上的exp,用9204的exp可以正常导出11g的数据库
希望有高手可以进一步解释一下个中缘由。。。
同时感谢两位回帖的同仁
回复

使用道具 举报

千问 | 2007-10-20 08:38:44 | 显示全部楼层
Export From 11g using EXP Utility Version 9iR2 Produces Corrupt Export Dump [ID 550740.1]
--------------------------------------------------------------------------------

Modified 08-NOV-2011 Type PROBLEM Status PUBLISHED
In this Document
Symptoms
Cause
Solution
References

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

Applies to:
Oracle Server - Enterprise Edition - Version: 11.1.0.6 to 11.2.0.1 - Release: 11.1 to 11.2
Oracle Server - Enterprise Edition - Version: 9.2.0.1 to 9.2.0.8 [Release: 9.2 to 9.2]
Information in this document applies to any platform.
Symptoms
You need to export data from 11g and import into 9iR2. For this reason, the exp utility version 9iR2 is used to extract data from 11g. There are two aspects of this problem:
1. On some Unix platforms, the exp utility either returns no errors or crashes with core dumps.
2. On Windows platforms, exp crashes with core dumps (Dr.Watson)
Both created dumps are corrupt, the imp utility crashes immediately after the export dump header is read.
Cause
Exp utility version 9iR2 internally uses the dictionary view EXU9DEFPSWITCHES to get information about some parameters like PLSQL_COMPILER_FLAGS and NLS_LENGTH_SEMANTICS. The parameter PLSQL_COMPILER_FLAGS doesn't exist in 11g anylonger and so the view EXU9DEFPSWITCHES returns unhandled 0 rows.
Solution
1. Connect to database 11g as SYSDBA with SQL*Plus
2. Change the definition of view EXU9DEFPSWITCHES from:

CREATE OR REPLACE VIEW exu9defpswitches (

compflgs, nlslensem ) AS
SELECTa.value, b.value
FROMsys.v$parameter a, sys.v$parameter b
WHERE a.name = 'plsql_compiler_flags' AND

b.name = 'nls_length_semantics'
to:

CREATE OR REPLACE VIEW exu9defpswitches (

compflgs, nlslensem ) AS
SELECTa.value, b.value
FROMsys.v$parameter a, sys.v$parameter b
WHERE a.name = 'plsql_code_type' AND

b.name = 'nls_length_semantics'
(see new parameter PLSQL_CODE_TYPE)
3. Re-start exp version 9iR2 to extract from 11g
4. Import the new dump using imp version 9iR2.

回复

使用道具 举报

千问 | 2007-10-20 08:38:44 | 显示全部楼层
非常感谢g644516804啊,我对你的敬仰之情犹如滔滔江水绵绵不绝啊~~~
此乃正解啊,俺再想如何才能获得个metalink账号呢~~
授之于鱼不如授之以渔啊~~
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行