首页 > 数据库 > Oracle > ORA-30036 的错误解决
SQL> delete from data where sid=41;
delete from data where sid=41
*
ERROR at line 1:
ORA-30036: unable to extend segment by 128 in undo tablespace 'UNDOTBS1'
SQL> select file_name, bytes, autoextensible, maxbytes from dba_data_files where tablespace_name='UNDOTBS1';
FILE_NAME
--------------------------------------------------------------------------------
BYTES AUTOEX MAXBYTES
---------- ------ ----------
/home/oracle/oradata/depsight/undotbs1.dbf
SQL> alter database datafile '/home/oracle/oradata/depsight/undotbs1.dbf' resize 50m;
Database altered.
SQL> select file_name, bytes, autoextensible, maxbytes from dba_data_files where tablespace_name='UNDOTBS1';
FILE_NAME
--------------------------------------------------------------------------------
BYTES AUTOEX MAXBYTES
---------- ------ ----------
/home/oracle/oradata/depsight/undotbs1.dbf
52428800 NO 0
SQL> delete from data where sid=41;
delete from data where sid=41
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/348136/viewspace-929378/ ,如需转载,请注明出处,否则将追究法律责任。