sca*_*one 5 database oracle oracle12c
当我尝试在数据库中插入数据时出现以下错误。
ORA-01691: unable to extend lob segment XXXXXX by 8192 in tablespace USERS
Run Code Online (Sandbox Code Playgroud)
我正在使用 Oracle 数据库(express 12c版本)。谷歌搜索错误我发现这意味着表空间中没有更多空间,您需要增加数据文件的维度或您正在使用的数据文件的数量。我有 5 个 30 GB 的数据文件,其中一个是空的,所以我不明白问题是什么。
编辑
SYSTEM 793,19 800 99,15 32768 2,42
SYSAUX 2203,56 2320 94,98 32768 6,72
UNDOTBS1 48,13 23345 0,21 32768 0,15
USERS 153534,5 30720 499,79 30720 499,79
USERS 153534,5 30720 499,79 30720 499,79
USERS 153534,5 30720 499,79 30720 499,79
USERS 153534,5 30720 499,79 30720 499,79
USERS 153534,5 30720 499,79 30720 499,79
Run Code Online (Sandbox Code Playgroud)
粘贴以下结果
select d.tablespace_name "TS",
(select round(sum(s.bytes/(1024*1024)),2)
from dba_segments s
where (s.tablespace_name = d.tablespace_name)
group by s.tablespace_name) "Used",
round(d.bytes/(1024*1024)) "FSize",
round((select sum(s.bytes/(1024*1024))
from dba_segments s
where s.tablespace_name = d.tablespace_name
group by s.tablespace_name)*100/(d.bytes/(1024*1024)),2) "% Used",
round(maxbytes/(1024*1024)) "MAX FSize",
round((select sum(s.bytes/(1024*1024))
from dba_segments s
where (s.tablespace_name = d.tablespace_name) AND (d.AUTOEXTENSIBLE = 'YES')
group by s.tablespace_name)*100/(maxbytes/(1024*1024)),2) "% Used of MAX" from dba_data_files d;
Run Code Online (Sandbox Code Playgroud)