解决ORA-30036:无法按8扩展段

解决ORA-30036:无法按8扩展段
早上做个实验,update数据的时候报错ora-30036:无法按8扩展段(在还原表空间‘undotbs_new’中)

1.查询了一下undo表空间的使用,发现已经超过了80%
SELECT  a.tablespace_name  as  tablespace_name,
       to_char(b.total
/ 1024 / 1024 , 999999.99 as  Total,
       to_char((b.total
- a.free) / 1024 / 1024 , 999999.99 as  Used,
       to_char(a.free
/ 1024 / 1024 , 999999.99 as  Free,
       to_char(
round ((total - free) / total, 4 ) * 100 , 999.99 as  Used_Rate
FROM  ( SELECT  tablespace_name,  sum (bytes) free  FROM  DBA_FREE_SPACE  GROUP   BY  tablespace_name) a,
     (
SELECT  tablespace_name,  sum (bytes) total  FROM  DBA_DATA_FILES  GROUP   BY  tablespace_name ) b
WHERE  a.tablespace_name = b.tablespace_name
  
AND  a.tablespace_name = ' UNDOTBS_NEW '
ORDER   BY  a.tablespace_name;

2.将undo表空间大小重新加大点,解决问题~
alter   database  datafile  ' D:\ORACLE\PRODUCT\10.2.0\ORADATA\SUREDD\UNTOTBS_NEW_01.DBF '  resize 2048M;

你可能感兴趣的:(解决ORA-30036:无法按8扩展段)