﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>FranklinFaces.com - Oracle &amp; SQL Server Database Forums for all IT Professionals / Oracle Forum / ORA - Oracle Database Error Codes - Search via specific error codes. / ORA-00000 Through ORA-09989   / ORA-01652: unable to extend temp segment by 64 in tablespace TEMP / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>FranklinFaces.com - Oracle &amp; SQL Server Database Forums for all IT Professionals</description><link>http://www.franklinfaces.com/</link><webMaster>no-reply@FranklinFaces.com</webMaster><lastBuildDate>Thu, 09 Feb 2012 11:17:28 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: ORA-01652: unable to extend temp segment by 64 in tablespace TEMP</title><link>http://www.franklinfaces.com/Topic63-54-1.aspx</link><description>You can put temp tablespace into autoextend mode but put it with maxsize clause. If you think just for one query it is not feasible to extend temp tablespace then you can try below commands before running insert into.&lt;br&gt;&lt;br&gt;[i][b]Alter session set workarea_size_policy=MANUAL;&lt;br&gt;alter session set sort_area_size=&lt;memory in bytes&gt;;[/b][/i]&lt;br&gt;&lt;br&gt;Above will set a big sort area size for your session. Set it according to your requirement.</description><pubDate>Sun, 18 Jan 2009 10:25:58 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>RE: ORA-01652: unable to extend temp segment by 64 in tablespace TEMP</title><link>http://www.franklinfaces.com/Topic63-54-1.aspx</link><description>You can set tempfile to be autoextend (check free disk space before):&lt;br&gt;&lt;br&gt;[b]ALTER DATABASE TEMPFILE 'filename' AUTOEXTEND ON;[i][/i][/b]&lt;br&gt; &lt;br&gt;But I can't understand why it tries to allocate space in TEMP while INSERT AS SELECT (this shouldn't cause implicit sort)</description><pubDate>Sun, 18 Jan 2009 10:25:12 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-01652: unable to extend temp segment by 64 in tablespace TEMP</title><link>http://www.franklinfaces.com/Topic63-54-1.aspx</link><description>Hi,&lt;BR&gt;&lt;BR&gt;Anyone can help on this issue. I have a procedure in this procedure one statement&lt;BR&gt;&lt;BR&gt;INSERT INTO prod.temp select * from .........&lt;BR&gt;&lt;BR&gt;This statement is giving the unable to extend temp segment by 64 in tablespace TEMP error.&lt;BR&gt;&lt;BR&gt;This is a big query and when we run that procedure in development and testing environment it's running fine but in staging database it's given the trouble.</description><pubDate>Sun, 18 Jan 2009 10:24:38 GMT</pubDate><dc:creator>Admin</dc:creator></item></channel></rss>
