exp能够正常导出,但是imp导入中有问题

[复制链接]
查看11 | 回复9 | 2008-1-21 16:50:24 | 显示全部楼层 |阅读模式
我用的导出语句是exp userid=oraclebackup/123456@sz owner=abcd file=abcd.dmp log=abcdlog.dmp consistent=yes
oraclebackup具有exp_full_database权限,数据导出的过程是正常的
我用的导入语句是imp userid=temp1/temp1 touser=temp1 fromuser=abcd IGNORE=y
temp1具有dba、imp_full_database权限
导入错误信息如下
IMP-00019: row rejected due to ORACLE error 1401
IMP-00003: ORACLE error 1401 encountered
ORA-01401: inserted value too large for column
Column 1 12920
Column 2 8613365389227;3B40A974945E4C8E590EE542A4D3A2FDB32C...
Column 3 Ad
Column 4 ?
Column 5 19-JUN-1982:00:00:00
Column 6 1
Column 7 316
Column 8 316
Column 9 03-JUL-2004:14:20:54
Column 10 ??
Column 11 03-JUL-2004:12:35:55
Column 12 20531
Column 13
Column 14
Column 15
Column 16 LGE-CU8080/1.0 UP.Browser/4.1.26l UP.Link/5.1.2.9
回复

使用道具 举报

千问 | 2008-1-21 16:50:24 | 显示全部楼层
库结构一样吗,两个库的版本呢
回复

使用道具 举报

千问 | 2008-1-21 16:50:24 | 显示全部楼层
两个db??
字符集一样嘛?
回复

使用道具 举报

千问 | 2008-1-21 16:50:24 | 显示全部楼层
库结构一样,两个库的版本也一样,字符集也一样
我的数据库是9201for linux
回复

使用道具 举报

千问 | 2008-1-21 16:50:24 | 显示全部楼层
CHeck if you have function-based indexes in NPR_HISTORY. There are many bugs related to those indexes while exporting/importing.
Try dropping the function based index, or making an export using conventional path.
If this is not the case, I will suggest openning a TAR with Oracle.
回复

使用道具 举报

千问 | 2008-1-21 16:50:24 | 显示全部楼层
字符集是???
回复

使用道具 举报

千问 | 2008-1-21 16:50:24 | 显示全部楼层
字符集是ZHS16GBK
回复

使用道具 举报

千问 | 2008-1-21 16:50:24 | 显示全部楼层
up
回复

使用道具 举报

千问 | 2008-1-21 16:50:24 | 显示全部楼层
我在我的目标数据库导出了一个备份,其二进制字头如下
[oracle@cqcncdb backup]$cat def.dmp |od -x |head
0000000 0003 4501 5058 524f 3a54 3056 2e39 3230
0000020 302e 0a30 4a55 544c 4147 454d 520a 5355
0000040 5245 0a53 3138 3239 300a 320a 0a30 0a30
0000060 0100 6903 d007 0100 0000 0000 0000 0000
0000100 0b00 2000 2020 2020 2020 2020 2020 2020
0000120 2020 2020 2020 2020 2020 2020 2020 2020
0000140 2020 2020 2020 2020 5320 7461 5320 7065
0000160 3120 2038 3331 373a 333a 2033 3032 3430
0000200 6c6a 6774 6d61 2e65 6d64 0070 0000 0000
0000220 0000 0000 0000 0000 0000 0000 0000 0000
我源数据库的备份的二进制字头
[oracle@cqcncdb backup]$ cat abcd.dmp |od -x |head
0000000 0303 4554 5058 524f 3a54 3056 2e39 3230
0000020 302e 0a30 4f44 4152 4c43 4245 4341 554b
0000040 0a50 5552 4553 5352 380a 3931 0a32 0a30
0000060 3032 300a 030a 0354 0754 00d0 0001 0000
0000100 0000 0000 0000 0026 2020 2020 2020 2020
0000120 2020 2020 2020 2020 2020 2020 2020 2020
0000140 2020 2020 2020 2020 4d20 6e6f 5320 7065
0000160 3120 2033 3a32 3233 313a 2038 3032 3430
0000200 642f 7461 2f61 724f 6361 656c 4244 425f
0000220 6361 756b 2f70 6f6d 6e6f 7270 6e69 6563
[oracle@cqcncdb backup]$ ll
可以看出这两个备份的字符集是一样的,但是为什么我倒入abcd.dmp系统就会出错呢?
回复

使用道具 举报

千问 | 2008-1-21 16:50:24 | 显示全部楼层
是不是有大对象啊!
回复

使用道具 举报

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

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行