您好我在Linux 6上有oracle数据库11.2.0.4昨天,我在alert.log上有这个错误:
unable to extend table .... by 128 in tablespace ts_data_request
unable to extend table .... by 8192 in tablespace ts_data_request
当我谷歌这个错误时,我发现:
Just add a new datafile for the existing tablespace
但是这个脚本的输出是:
select a.tablespace_name a,';', round(a.bytes_alloc/(1024*1024*1024),0) b,';', round(a.physical_bytes/(1024*1024*1024),0) c,';', round(nvl(b.tot_used,0)/(1024*1024*1024),0) d,';', round((nvl(b.tot_used,0)/a.bytes_alloc)*100,0) e from ( select tablespace_name, sum(bytes) physical_bytes, sum(decode(autoextensible,'NO',bytes,'YES',maxbytes)) bytes_alloc from dba_data_files group by tablespace_name ) a, ( select tablespace_name, sum(bytes) tot_used from dba_segments group by tablespace_name ) b where a.tablespace_name = b.tablespace_name --and (nvl(b.tot_used,0)/a.bytes_alloc)*100 > 10 and a.tablespace_name not in (select distinct tablespace_name from dba_temp_files) --and a.tablespace_name not like 'UNDO%' order by 5 desc;
total_allocate=1468
total_physical=581
used=557
percent_used=38
任何人都可以帮我解决这个错误的主要原因是什么?非常感谢