The error ORA-01652 : unable to extend temp segment by 128 in tablespace temp occurs when failed to allocate an extent of the required number of blocks for a temporary segment in the tablespace indicated.
So maybe we could address this issue as following:
- Check the maxsize for TEMP tablespace. Probably TEMP's datafile had reached MAXSIZE.
Use ALTER TABLESPACE ADD DATAFILE statement to add one or more files to the tablespace (i.e tablespace TEMP) indicated. - Check the memory value set for the sort area size. problem can be that the size of sort area is more than the extent size of the temp table space .eg if your sort area size is 128 and temp extent size is 64 it will generate the same error as if there is no space on temp tablespace or datafile for further extesion.
Here is a useful discussion link about this issue:
http://database.itags.org/oracle/168091/![]()
本文探讨了ORA-01652错误的原因及解决方案,此错误发生在临时段无法在指定表空间中分配所需块数时。文章建议检查TEMP表空间的最大尺寸,并使用ALTER TABLESPACE ADD DATAFILE语句添加文件;同时,检查sort area大小是否超过临时表空间的extent大小。
2105

被折叠的 条评论
为什么被折叠?



