ORA-30036: unable to extend segment in tablespace


ORA-30036: unable to extend segment in tablespace

Error: unable to extend segment by %s in undo tablespace %s

Note: This is a general discussion which can be applied to any tablespace having this problem.

The tablespace mentioned in the error is unable to extend.

Reason for the Error:
~~~~~~~~~~~~~~~~~~~~~~~~~~~
There is not enough space left either due to the datafiles belonging to the tablespace are  being full,  autoextend which is not set at datafile level due to which they cannot increase in size whenever required or due to a disk which is full.

You will have to check the size of the datafiles attached to the tablespace and check whether they can autoextend or not.

Resolution for the Error:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Check if your disk or mount point containing database files (belonging to the respective tablespace) is not full. If it is full then provide your database with new disk(s) having enough free space on them.

The datafiles are reaching their size limit value. In that case you can either resize the current database file(s) or can add new database file(s) to the tablespace.

You can also make autoextend on if possible or permitted.

Sample {Assuming tablespace as UNDOTBS}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

-- To add more space to a file issue following command:

alter database datafile 'C:\ORACLE\ORADATA\ORCL\UNDOTBS_01.DBF' resize 1000m;

-- To turn on the autoextend feature on a datafile use following command:

alter database datafile 'C:\ORACLE\ORADATA\ORCL\UNDOTBS_01.DBF' 
autoextend on next 100m maxsize 2000m;

-- To add a new datafile to the tablespace use following command:
 
alter tablespace UNDOTBS add datafile 
'C:\ORACLE\ORADATA\ORCL\UNDOTBS_02.DBF' size 100m 
 
 
[with autoextend on]
 
alter tablespace UNDOTBS01 add datafile 
'C:\ORACLE\ORADATA\ORCL\UNDOTBS_02.DBF' size 100m 
autoextend on next 100m maxsize 2000m;
 
 
 
Note: There are different commands when dealing with temporary 
tablespace.

Comments

Back To Top

Popular posts from this blog

How to save video from Internet Explorer

error 18 at 0 depth lookup: self signed certificate

How to check fragmentation in MySQL tables