关于IMP的报错
本帖最后由 swgsw 于 2014-3-14 08:08 编辑Oracle RAC 10.2.0.5
导入语句如下:
imp dqetl/xxx FROMUSER=dqetl TOUSER=dqetl file=/backup/dqetl20140221.dmp log=dqetl20140221.log commit=y buffer=2048000 statistics=none ignore=y
报错信息:
dqpicc05#vi dqetl20140221.log
"dqetl20140221.log" 1518 lines, 72872 characters
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP, Data Mining
and Real Application Testing options
Export file created by EXPORT:V10.02.01 via conventional path
import done in ZHS16GBK character set and AL16UTF16 NCHAR character set
. importing DQETL's objects into DQETL
. . importing table "TEMP_TABLE"
IMP-00006: failed to allocate memory of size 48
IMP-00018: partial import of previous table completed: 8038316 rows imported
IMP-00032: SQL statement exceeded buffer length
IMP-00032: SQL statement exceeded buffer length
......
......
......
IMP-00032: SQL statement exceeded buffer length
IMP-00032: SQL statement exceeded buffer length
IMP-00009: abnormal end of export file
Import terminated successfully with warnings.
buffer=2048000 也仅有2M大小而已,buffer给到50M左右试试 修改了 buffer大小
imp dqetl/xxx FROMUSER=dqetl TOUSER=dqetl file=/backup/dqetl20140221.dmp log=dqetl20140221.log commit=y buffer=51200000 statistics=none ignore=y
故障依旧。 swgsw 发表于 2014-3-14 08:07 static/image/common/back.gif
修改了 buffer大小
imp dqetl/xxx FROMUSER=dqetl TOUSER=dqetl file=/backup/dqetl20140221.dmp log=dqet ...
exp 的命令贴出来
看看exp log 有错误没有 本帖最后由 swgsw 于 2014-3-17 09:02 编辑
对方数据库版本 11.2.0.3,而且使用PL/sql developer 程序自带的exp功能导出的。没有日志。
我的数据库版本10.2.0.5
对方导出的数据表只有47W左右的数据。为什么变成了700W条呢。(此处排除了导错文件的可能)而且数据里面有好多整条记录都是空的记录。 IMP-00032: SQL statement exceeded buffer length
Cause: The buffer was too small for the SQL statement being read.
Action: Rerun with a larger buffer. This can also be an indication of a corruption in the import datafile.
This can also be an indication of a corruption in the import datafile.
1、版本的差异导致的报错?
2、能不能是导出的这个文件有问题?
这两个问题如何来验证呢?
有可能是dmp文件有问题,如果需要,可以发我dmp文件,我给你分析下
页:
[1]