日期:2014-05-16  浏览次数:20571 次

转ORA-01691表空间不够错误!

原帖 http://xiaohlang.iteye.com/blog/716974

?

?
  ORA-01691: unable to extend lob segment BPM49_TEST2.SYS_LOB0000059105C00008$$ by 128 in tablespace JACK_DATA


  今天发现这么一个错误,查看错误信息发现原因是表空间无法分配新的空间给表。所以报错。

  下面是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