解答者:tolywang[@more@]

在应用程序中插入oracle大字段的时候出现如下提示:

ORA-01691: unable to extend lob segment xxx.SYS_LOB0000030895C00010$$ by 2048 in tablespace xxx ORA-06512: at "xxx.storeprocedure", line 86 ORA-06512: at line 1

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.

Problem Description:

====================

You are attempting to insert or import data into a table containing

LOBs and get the following error:

ORA-01691: unable to extend lob segment TESTARCH.SYS_LOB#$ by X in tablespace

TEST

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.

Problem Explanation:

====================

The LOB segment associated with the target table has reached hit

a limit or run out of sufficiently large chunks of contigous space.

Search Words:

=============

loc clob import

Solution Description:

=====================

Assuming you had the following error:

ORA-1691: unable to extend lob segment TESTARCH.SYS_LOB0000004289C00007$

by 25600 in tablespace TEST

You would issue the following query:

select segment_type, bytes, extents,

initial_extent, next_extent, max_extents

from dba_segments

where segment_name = 'SYS_LOB0000004289C00007$';

and extract the values for EXTENTS, NEXT_EXTENT, and MAX_EXTENTS from the

resulting record. Assuming these value were:

extents = 452

next_extent = 52428800

amx_extents = 999

You would then issue the following statement to determine if sufficient

space was available to extend the LOB segment:

select bytes

from dba_free_space

where tablespace_name = 'TEST'

order by bytes desc;

If there was no contiguous block large enough to allocate the next extent,

you could try the following:

alter tablespace test coalesce

and subsequently rerun the above query. If there was still not enough space,

you would need to add a datafile to the TEST tablespace to allow the import

to complete.

Note that you would need to specify ignore=y in the import options to avoid

failing on the primary key constraint.

Solution Explanation:

=====================

This error should be handled no differently from other errors indicating the

inability to extend a database segment. Initial confusion may occur given the

unique nature of LOB storage.

还有可能是bug .

metalink 上的回答 :

The bug you mention is likely bug 855986 where a space leak can occur using LOB columns: deleted/updated LOB columns may not release the space occupied for reuse. This occurs for particular sizes of LOB. ORA-1691 is raised if the LOB cannot be extended.

The bug is fixed in 8.0.6 and 8.1.6. Although this fix was scheduled to be in it, unfortunately, there was no 8.1.5.2 patchset released. However, there is an individual patch for this bug which can be applied to 8.1.5.0 and 8.1.5.1 on Solaris. You will need to log an iTAR in order to obtain the patch as it is not available for download from MetaLink.

oracle ora 01691,ORA-01691错误分析相关推荐

  1. Oracle的tnsnames.ora配置(PLSQL Developer)

    首先打开tnsnames.ora的存放目录,一般为D:\app\Administrator\product\11.2.0\client_1\network\admin,就看安装具体位置了. 步骤阅读 ...

  2. oracle错误01653,oracle 10g 错误 ORA 01653 的解决过程

    oracle 10g 错误 ORA 01653 的解决过程 早上用户反应在操作用友NC时报错 ORA-01653 ,详细信息:ORA-01653: 表 NCV35.GL_DETAIL 无法通过 102 ...

  3. Oracle客户端tnsnames.ora连接配置

    Oracle客户端tnsnames.ora连接配置 Oracle90的在C:\Oracle\ora90\network\ADMIN下面 Oracel10g的在D:\oracle\product\10. ...

  4. oracle创建ora文件,ORACLE配置tnsnames.ora文件实例

    ORACLE配置tnsnames.ora文件实例 客户机为了和服务器连接,必须先和服务器上的监听进程联络.ORACLE通过tnsnames.ora文件中的连接描述符来说明连接信息.一般tnsnames ...

  5. ORACLE数据库tnsnames.ora配置文件详细解析

    字段含义如下: ADDRESS_LIST      表示该客户机要经由多种协议与一台或多台服务器连接.在该样式文件中就表示该客户机要用TCP/IP协议来和服务器相连. PROTOCOL 指明要连接使用 ...

  6. oracle初始化spfileORCL.ora文件损坏修复

    $ORACLE_HOME/dbs目录下的的spfileORCL.ora是一个二进制文件,不能手动编辑,修改后会导致oracle数据库无法正常启动.某日在操作数据库的过程中不慎将其修改,并且没有备份.我 ...

  7. oracle olap 不可用,[数据库]ORACLE OLAP错误ORA

    [数据库]ORACLE OLAP错误ORA 0 2015-04-25 00:00:20 刚刚安装了ORACLE 10g R2后,启动数据库时发现告警日志有如下错误: Database Characte ...

  8. 【oracle】sqlnet.ora 访问控制策略

    sqlnet.ora中进行下列参数的设置可以限制或允许用户从特定的客户机连接到数据库中. tcp.validnode_checking=yes|no tcp.invited_nodes=(ip|hos ...

  9. Oracle配置文件详解listener.ora,sqlnet.ora,tnames.ora

    三个配置文件 listener.ora.sqlnet.ora.tnsnames.ora,都是放在$Oracle_home\network\admin目录下. 重点:三个文件的作用和使用 sqlnet. ...

  10. oracle12c没有有sqlnet文件,Oracle的sqlnet.ora文件配置

    DBA对这个文件一定不会陌生,大家了解最多的也一定是sqlnet.ora用来决定oracle怎么解析一个连接中出现的字符串,例如: sqlplus sys/oracle@orcl 那么这个orcl怎么 ...

最新文章

  1. Tesla Model汽车架构与FSD供应链
  2. unzip 压缩包含路径,解压缩覆盖路径下的同名文件
  3. 关于jquery动态改变css样式后,对象获取不到的解决办法
  4. yolov5 多版本共存
  5. C语言实现方差variance计算(附完整源码)
  6. leetcode 337. House Robber III | 337. 打家劫舍 III(树形dp;什么情况下dp需要强制包含当前元素?)
  7. IPython的一些使用技巧
  8. 宕机日志怎么看 thread detail_如何快速过滤出一次请求的所有日志?
  9. 怎么做c语言的子程序,哪位师傅知道51单片机怎样编写子程序?C语言的。在主程序里调...
  10. pyplot中文手册_Matplotlib中文手册 PDF 下载
  11. 第3章 IP地址规划技术
  12. 移动端那些事儿(二)jquery手势插件之jGestures
  13. python精灵和精灵组_Pygame精灵和精灵组
  14. 基于python获取雅虎金融股票数据及相关可视化操作
  15. 计算机行业职业名称英语,行业英语学习
  16. html一个大网页5个小网页,5个范例告诉你:什么是自适应网页设计
  17. uni-app 开发微信小程序 自动化编译,启动项目
  18. Python 强化学习实用指南:1~5
  19. 仓库建设细节及注意事项
  20. 用软碟通制作系统启动盘的诀窍,不掌握永远成不了老司机!

热门文章

  1. 魅蓝note3联通卡显示无服务器,魅蓝note3用什么SIM卡?魅蓝note3手机SIM卡类型
  2. BZOJ 3925 [Zjoi2015]地震后的幻想乡
  3. Docker学习1-CentOS 7安装Docker
  4. 一种概率抽签问题的解法
  5. 学习笔记(一)渲染管线
  6. 使用 multiparty 模块进行文件上传
  7. warning C4290: 忽略C++ 异常规范,但指示函数不是__declspec(nothrow)
  8. OPPO A53 5G配置怎么样 OPPO A53 5G值得买吗
  9. github:Git 常用指令
  10. 年月日时分秒的时间格式化