当前位置: 代码迷 >> Oracle管理 >> oracle 导入有关问题,等
  详细解决方案

oracle 导入有关问题,等

热度:622   发布时间:2016-04-24 06:14:35.0
oracle 导入问题,急等!
==================================================================
.   .   正在导入表                                               "GA_SXX "                     2行被导入
.   .   正在导入表                                       "GA_SXX_TMP "                     0行被导入
IMP-00017:   由于   ORACLE   的   6550   错误,以下的语句失败
  "DECLARE     SREC   DBMS_STATS.STATREC;   BEGIN   SREC.MINVAL   :=   NULL;   SREC.MAXVAL   := "
  "   NULL;   SREC.EA "
IMP-00003:   遇到   ORACLE   错误   6550
ORA-06550:   第   1   行,   第   89   列:
PLS-00103:   出现符号   "end-of-file "在需要下列之一时:
:=.(@%;
IMP-00032:   SQL   语句超过缓冲区长度
IMP-00032:   SQL   语句超过缓冲区长度
IMP-00032:   SQL   语句超过缓冲区长度
IMP-00032:   SQL   语句超过缓冲区长度
IMP-00032:   SQL   语句超过缓冲区长度
=================================================================
用别人导出来的文件导入到新数据库中,总是在导入半时就出现如上的问题,修改buffer的值也不行.在google上搜了一下,只有四条相关,郁闷,有没有也遇到过,帮忙解决一下.

------解决方案--------------------
IMP-00032: SQL 语句超过缓冲区长度

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.


------解决方案--------------------
再把buffer开大点试试
比如buffer=1000000
------解决方案--------------------
是否版本不一致?
------解决方案--------------------
IMP-00017: following statement failed with ORACLE error number:
Cause: Import failed to execute the statement from the export file because of an Oracle error.
Action: Look up the accompanying Oracle message in the ORA message chapters of this manual and take appropriate action.
------解决方案--------------------
把你的导入命令贴出来,大家帮你找找原因.
------解决方案--------------------
你先别急,看看你写入的 .ctl那个文件里的语句是否有误.如字段范围是否超过了数据可用的范围。
------解决方案--------------------
你加一个不编译过程、包与函数的参数试试看:
imp ntzd/ntzd buffer=50000000 full=y ignore=y compile=n file=ntzd.dmp log=ntzdimp.log
  相关解决方案