oracle错误(ORA-01691),单个数据文件大小限制问题

1.问题:数据库从其他库同步一张大表时,出现错误

ERROR at line 3:
ORA-24801: illegal parameter value in OCI lob function
ORA-02063: preceding line from PICLINK
ORA-01691: unable to extend lob segment WEBAGENT_PIC.SYS_LOB0000087483C00004$$ by 8192 in tablespace TSP_WEBAGENT

2.问题分析:

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

当表空间MAXSIZE UNLIMITED时:

  linux系统中,在block size为8K的情况下,(smallfile)数据文件的最大size为32GB。

当表空间大小有设置数值时(MAXSIZE 4096m):

  数据大小临界预先设置的值。

3.解决方法:

  a.当数据文件大小有设置数值时(MAXSIZE 4096m):增加数据文件大小,最大不超过32G。

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

  b.当表空间MAXSIZE UNLIMITED时:只能新添加数据文件。

alter tablespace xxx add datafile '数据文件路径‘ size 1000m autoextend on next 100m maxsize UNLIMITED;
原文地址:https://www.cnblogs.com/vijayfly/p/5076402.html