如何解决 ORA-01691


Caused by: com.ibatis.common.jdbc.exception.NestedSQLException:
--- The error occurred in CommonSqlMap.xml.
--- The error occurred while applying a parameter map.
--- Check the IfTask.insert-InlineParameterMap.
--- Check the statement (update failed).
--- Cause: java.sql.SQLException: ORA-01691: unable to extend lob segment ICPMIS.SYS_LOB0000112366C00006$$ by 8192 in tablespace ICPMIS


最近定时任务表中的数据由于xml文件过大,未及时清理,在MDM归档反馈时出现以上错误,很不理解,后来问过同时之后才知道是数据库表空间不足,后来清理了一堆不用日志之后,系统正常。
针对ORA-01691 的解决办法其实还有如下:

[b] 查看错误信息发现原因是表空间无法分配新的空间给表。所以报错。[/b]

  下面是oracle官方错误代码

ORA-01691 unable to extend lob segment string.string by string in tablespace string

Cause: Failed to allocate an extent for LOB segment in tablespace.

Action: Use ALTER TABLESPACE ADD DATAFILE statement to add one or more files to the tablespace indicated.


下面是解决方法

方法1:修改数据文件的扩展性

alter database datafile '文件路径' autoextend on next 100m maxsize 4000M;


方法2:给表空间增加新的数据文件

alter tablespace jack_data add datafile '数据文件路径‘ size 1000m autoextend on next 100m maxsize 4000M
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值