Posted by: Edi Yanto on: April 19, 2009
Cause: Failed to allocate an extent of the required number of blocks for a temporary segment in the tablespace indicated.
Action: Use ALTER TABLESPACE ADD DATAFILE statement to add one or more files to the tablespace indicated.
MetaLink has a very detailed and informative article concerning ORA-01652 and RAC. There is some troubleshooting required with ORA-01652 in RAC because there are two common causes in this area.
To troubleshoot for ORA-01652, and find out which of the above scenarios are causing ORA-01652 use this query offered by MetaLink:
select sum(free_blocks)
from gv$sort_segment
where tablespace_name = ‘<TEMP TABLESPACE NAME>’
You will know that the first scenario is causing ORA-01652 to be thrown if the free block reads ‘0′ because it signifies that there is no free space.
If there is a good amount of space, you know that there is another cause for ORA-01652, and it is probably the second scenario. It is important to note that in a non-RAC environment, local instances are not able to extend the temp segments.
In sever cases, a slowdown may occur, in which you might want try one of the following work-arounds:
If ORA-01652 is causing the slowdown, SMON will probably not be able to process the sort segment requests, you should try to diagnose the contention:
Reference: Oracle Error Tips by Burleson Consulting
Recent Comments