IMP导入数据报错如下:

OCI-21500: internal error code, arguments: [kgepop: no error frame to pop to], [], [], [], [], [], [], []
OCI-22275: invalid LOB locator specified
xExExE@@@@@@@@Errors in file :
OCI-21500: internal error code, arguments: [kgepop: no error frame to pop to], [], [], [], [], [], [], []
OCI-22275: invalid LOB locator specified
xExExEpppppppp

illegal lob length marker 34981
 bytesread = 00000000000
 TABLE = HD_HDXX
IMP-00098: INTERNAL ERROR: impgst2

报错说明:

OCI-21500: internal error code, arguments: [string], [string], [string], [string], [string], [string], [string], [string]

Cause: This is the generic error number for the OCI environment (client-side) internal errors. This indicates that the OCI environment has encountered an exceptional condition.Action: Report as a bug - the first argument is the internal error number.

OCI-22275: invalid LOB locator specified

Cause: There are several causes: (1) the LOB locator was never initialized; (2) the locator is for a BFILE and the routine expects a BLOB/CLOB/NCLOB locator; (3) the locator is for a BLOB/CLOB/NCLOB and the routine expects a BFILE locator; (4) trying to update the LOB in a trigger body -- LOBs in trigger bodies are read only.

Action: For (1), initialize the LOB locator by selecting into the locator variable or by setting the LOB locator to empty. For (2) and (3), pass the correct type of locator into the routine. For (4), remove the trigger body code that updates the LOB value.

解决思路:

1.数据导出的时候按照 用户进行导出,并且采用了直接路径 direct=y

exp xyy/xyy@sspt   OWNER=GSYY   DIRECT=Y RECORDLENGTH=65535 BUFFER=104857600 FILE=/opt/oradata/exp/GSYY.dmp LOG=/opt/oradata/exp/log/GSYY.log

查询导入日志,发现并未报错:

. . exporting table                      FP_HGWSPZ          0 rows exported
. . exporting table                    GS_DJ_NSRXX          0 rows exported
. . exporting table                        HD_HDXX    3219563 rows exported

2.查询表 HD_HDXX    ,发现含有LOB字段数据

SQL> desc GSYY.HD_HDXX;
 Name                                      Null?    Type
 ----------------------------------------- -------- ----------------------------
 SBNY                                      NOT NULL CHAR(6)
 NSRSBH                                    NOT NULL VARCHAR2(20)
 SWJG_DM                                   NOT NULL VARCHAR2(11)
 LRR_DM                                    NOT NULL VARCHAR2(11)
 LRRQ                                      NOT NULL DATE
 XGR_DM                                    NOT NULL VARCHAR2(11)
 XGRQ                                      NOT NULL DATE
 HDXX                                               CLOB
 FPLGXX                                             VARCHAR2(4000)
 JXFP_MX                                            CLOB
 XXFP_HZ                                            VARCHAR2(4000)
 HGWSFP_MX                                          CLOB
 JDCJXFP_MX                                         CLOB

3.直接路径导出 direct=y 不支持导出含有LOB、BFILE等大对象的表,进行单独 导出  GSYY.HD_HDXX,再进行导入,发现正常无报错。

转载于:https://www.cnblogs.com/suncoolcat/p/3367594.html

IMP 导入数据报错 OCI-21500 OCI-22275相关推荐

  1. IMP 导入数据报错 OCI-21500 OCI-22275

    IMP导入数据报错如下: OCI-21500: internal error code, arguments: [kgepop: no error frame to pop to], [], [], ...

  2. xf0x9f java mysql_MySql导入数据报错Incorrect string value: ‘xF0x9Fx90x82’

    MySql导入数据报错Incorrect string value: 'xF0x9Fx90x82' for column 'content' at row 1 原因:字符集错误. (1)修改数据库字符 ...

  3. 导入数据报错:ORA-01756: quoted string not properly terminated

    导入数据报错:ORA-01756: quoted string not properly terminated 在Windows下导入一个SQL脚本,有中文字符,报错: ERROR: ORA-0175 ...

  4. mysql导入数据报错ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so it

    参考:https://blog.csdn.net/u011677147/article/details/64129606 参考:http://blog.itpub.net/31015730/views ...

  5. 解决Myeclipse下Debug出现Source not found以及sql server中导入数据报错

    前言:在空间里回顾了我的2014,从生活.技术.家庭等各方面对自己进行总结剖析,也是给自己一个交代.也想在博客上专门写一篇2014年度菜鸟的技术路回忆录,但是因为各种事一再耽搁了,现在来写也就更显得不 ...

  6. Mysql导入数据报错[SQL] Query main start [ERR] 1146 - Table ‘xxx.xxx_view‘ doesn‘t exist

    Mysql将数据库导入另一个数据库的时候,执行sql文件或查询语句报错: [SQL] Query main start [ERR] 1146 - Table 'xxx_view' doesn't ex ...

  7. Hive向表中导入数据报错:Invalid postscript

    报错如下: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask. ORC ...

  8. mysql导入数据报错_MySQL导入数据库时报错,MySQL server has go away

    MySQL server has gone away意思就是数据库挂了这个是因为导入数据导致mysql挂了,那么碰到数据库导入数据挂了要如何处理,下面来看看处理办法. 用mysqldump命令导出My ...

  9. mysql导入数据报错 Errcode: 28 “No space left on device“

    今天在操作一个比较大的表,mysqldump出来然后导入的时候,报如下错误 [root@bs22 ~]# mysql -hlocalhost -uroot -p123456 -P3312 < a ...

  10. mysql导入数据报错 Incorrect date value: '0000-00-00' for column

    今天又碰到这个错误,在这里记录一下. 问题: mysql版本是5.7.13,在导入date类型时,有'0000-00-00'这种数据出现 执行:show variables like 'sql_mod ...

最新文章

  1. React Native JSBundle拆包之原理篇
  2. MySQL——外部数据的批量导入
  3. JVM_06 垃圾回收相关算法 [ 一 ]
  4. iOS开发基础-九宫格坐标(4)
  5. 7-1 数组元素循环右移问题 (20 分)
  6. SAP UI5 应用开发教程之六十二 - 基于 OData V4 的 SAP UI5 表格控件使用方法介绍试读版
  7. java模拟摇摆小球程序代码_Android实现左右摆动的球体动画效果
  8. Yam旗下Degenerative Finance明日将上线uSTONKS和uGAS奖励计划
  9. C++编程语言的应用方向有哪些?
  10. IEC61850报告服务(报文解析)
  11. BZOJ4318: OSU!
  12. VIM总结之一:VIM编辑器常用命令详解
  13. 二叉树的创建及其相关操作
  14. Matlab聚类分析相关函数
  15. 手把手教你安装破解IAR For ARM 6.3
  16. Kotlin学习笔记 —— 函数,字符串,可空性以及标准库函数(2)
  17. html制作古诗念奴娇,《念奴娇·赤壁怀古》的教学设计
  18. android 选择相册拍照图片 仿gridview九宫格 recycleview九宫格图片(可拖拽)
  19. 如何用OKR搞垮一个团队
  20. C++ 九阴真经之线程安全单例类

热门文章

  1. C#选项卡TabControl控件隐藏指定选项卡的办法,任意不支持隐藏属性的实现办法详解
  2. js截取字符长度加省略号
  3. .Net MVC中SelectList绑定默认值失效的解决办法
  4. 每日一道剑指offer-替换空格
  5. oracle用哪个用户创建表空间,Oracle用定名创建表空间和用户
  6. calender获取日期前几月_iOS时间,日期,星期等相关获取
  7. (day 46 - 小根堆 || 动态规划 ) 剑指 Offer 49. 丑数
  8. php java node 并发,Node、PHP、Java 和 Go 服务端 I/O 性能PK
  9. java使用iframe简单登录界面_Layui-admin-iframe通过页面链接直接在iframe内打开一个新的页面,实现单页面的效果...
  10. 计算机制作贺卡教案,制作贺卡教案