ORA-01691

简介: ORA-01691 unable to extend lob segment string.string by string in tablespace stringCause: Failed to allocate an extent for LOB segment in tablespace.

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_LOB0000052907C00004$';

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

目录
相关文章
|
关系型数据库 网络性能优化 容器
ora.qosmserver
ora.qosmserver 作用
3362 0
|
Oracle 关系型数据库
|
SQL Oracle 关系型数据库
|
Oracle 关系型数据库
|
Oracle 关系型数据库
|
机器学习/深度学习 关系型数据库 Oracle
1025ORA-00600[kkpo_rcinfo_defstgdelseg]
[20161025]ORA-00600 [kkpo_rcinfo_defstgdelseg], [xxxx].txt --链接http://www.anbob.com/archives/2745.html,重复操作,做1个记录。
1281 0
|
Oracle 关系型数据库
|
存储
ORA-02374 ORA-12899 ORA-02372
<p><br></p> <p><br></p> <p></p> <div style="font-family:'lucida Grande',Verdana,'Microsoft YaHei'; font-size:14px; line-height:23.8px"> <div><span style="color:#33cc00">ORA-<span style="border
4952 0

热门文章

最新文章