<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic ORA-1652 Signaled during index rebuild in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ora-1652-signaled-during-index-rebuild/m-p/3033234#M910796</link>
    <description>Hi&lt;BR /&gt;I was trying to rebuild one of my large index when I encountered&lt;BR /&gt;&lt;BR /&gt;ORA-1652: unable to extend temp segment by 102400 in tablespace                 GENINDEX&lt;BR /&gt;&lt;BR /&gt;in my alert log file. &lt;BR /&gt;&lt;BR /&gt;I don't think there could be any temp (sort) segment in an index tablespace. Or is there? &lt;BR /&gt;&lt;BR /&gt;Is Oracle trying to use the temp (sort) segment during index rebuild and failed?&lt;BR /&gt;&lt;BR /&gt;During index rebuild, does Oracle keep the old index in the same tablespace while the new index is being built? And if so must we have free index tablespace in order to do index rebuild?</description>
    <pubDate>Fri, 25 Jul 2003 06:30:14 GMT</pubDate>
    <dc:creator>kenny chia</dc:creator>
    <dc:date>2003-07-25T06:30:14Z</dc:date>
    <item>
      <title>ORA-1652 Signaled during index rebuild</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ora-1652-signaled-during-index-rebuild/m-p/3033234#M910796</link>
      <description>Hi&lt;BR /&gt;I was trying to rebuild one of my large index when I encountered&lt;BR /&gt;&lt;BR /&gt;ORA-1652: unable to extend temp segment by 102400 in tablespace                 GENINDEX&lt;BR /&gt;&lt;BR /&gt;in my alert log file. &lt;BR /&gt;&lt;BR /&gt;I don't think there could be any temp (sort) segment in an index tablespace. Or is there? &lt;BR /&gt;&lt;BR /&gt;Is Oracle trying to use the temp (sort) segment during index rebuild and failed?&lt;BR /&gt;&lt;BR /&gt;During index rebuild, does Oracle keep the old index in the same tablespace while the new index is being built? And if so must we have free index tablespace in order to do index rebuild?</description>
      <pubDate>Fri, 25 Jul 2003 06:30:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ora-1652-signaled-during-index-rebuild/m-p/3033234#M910796</guid>
      <dc:creator>kenny chia</dc:creator>
      <dc:date>2003-07-25T06:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: ORA-1652 Signaled during index rebuild</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ora-1652-signaled-during-index-rebuild/m-p/3033235#M910797</link>
      <description>I verified that Oracle deletes the old index only after the new index is built. There is enough space in tablespace GENINDEX? Can you try to rebuild that index in another tablespace? (alter index &lt;IDX name=""&gt; rebuild tablespace &lt;TBS name=""&gt;)&lt;BR /&gt;&lt;BR /&gt;ciao&lt;BR /&gt;Claudio&lt;/TBS&gt;&lt;/IDX&gt;</description>
      <pubDate>Fri, 25 Jul 2003 06:56:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ora-1652-signaled-during-index-rebuild/m-p/3033235#M910797</guid>
      <dc:creator>Claudio Cilloni</dc:creator>
      <dc:date>2003-07-25T06:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: ORA-1652 Signaled during index rebuild</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ora-1652-signaled-during-index-rebuild/m-p/3033236#M910798</link>
      <description>During an index rebuild, there are two types of temporary segments involved. &lt;BR /&gt;  &lt;BR /&gt;First, there are the temporary segments that are used to store partial sort data when the SORT_AREA_SIZE is too small to process the complete sort set. These segments are built in the user's default TEMPORARY tablespace. &lt;BR /&gt; &lt;BR /&gt;Second, as the index is being rebuilt, it uses a segment which is defined as a temporary segment until the rebuild is complete. Once this segment is fully populated, the old index can be dropped and this temporary segment is  &lt;BR /&gt; redefined as a permanent segment with the index name. The error you are seeing is probably due to there being insufficient room in the index's tablespace to hold both the original index and the new version concurrently. The new version of the index, currently a temp segment, will be in the tablespace where the index is required (Oracle7) or in the default user tablespace (Oracle8). &lt;BR /&gt;However the tablespace referenced in the message can be the user's default tablespace (Oracle8) or the index tablespace (Oracle7). &lt;BR /&gt; &lt;BR /&gt;This behaviour is different for different Oracle versions, what is your database verion?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Jul 2003 07:05:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ora-1652-signaled-during-index-rebuild/m-p/3033236#M910798</guid>
      <dc:creator>twang</dc:creator>
      <dc:date>2003-07-25T07:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: ORA-1652 Signaled during index rebuild</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ora-1652-signaled-during-index-rebuild/m-p/3033237#M910799</link>
      <description>Hi,&lt;BR /&gt;The problem may be that the user you use to do the rebuild doesn't have the right setting for temporary tablespace. You might want to take a look at that first ...&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Tom Geudens</description>
      <pubDate>Fri, 25 Jul 2003 07:10:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ora-1652-signaled-during-index-rebuild/m-p/3033237#M910799</guid>
      <dc:creator>Tom Geudens</dc:creator>
      <dc:date>2003-07-25T07:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: ORA-1652 Signaled during index rebuild</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ora-1652-signaled-during-index-rebuild/m-p/3033238#M910800</link>
      <description>I'm using Oracle8i, so I guess&lt;BR /&gt;&lt;BR /&gt;ORA-1652: unable to extend temp segment by 102400 in tablespace                 GENINDEX&lt;BR /&gt;&lt;BR /&gt;means that my index tablespace is not big enough to accomodate both the old and new indexes during rebuild</description>
      <pubDate>Fri, 25 Jul 2003 07:34:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ora-1652-signaled-during-index-rebuild/m-p/3033238#M910800</guid>
      <dc:creator>kenny chia</dc:creator>
      <dc:date>2003-07-25T07:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: ORA-1652 Signaled during index rebuild</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ora-1652-signaled-during-index-rebuild/m-p/3033239#M910801</link>
      <description>Another thought, If the storage clause (next extent for example) for the existing index is set to a very high number (64MB or so) and you don't specify a storage clause with the rebuild command, Oracle will use the storage clause of the existing index to allocate the space for the temporary segments. This will allocate a lot of (unneeded) space and an ora-1652 can occur.&lt;BR /&gt;So, first of all, I would suggest to to check the current storage clause in dba_indexes:&lt;BR /&gt;&lt;BR /&gt;Select OWNER&lt;BR /&gt;,INDEX_NAME&lt;BR /&gt;,TABLESPACE_NAME&lt;BR /&gt;,INITIAL_EXTENT&lt;BR /&gt;,NEXT_EXTENT&lt;BR /&gt;,MIN_EXTENTS&lt;BR /&gt;,MAX_EXTENTS&lt;BR /&gt;,PCT_INCREASE &lt;BR /&gt;from dba_indexes;&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Jul 2003 07:55:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ora-1652-signaled-during-index-rebuild/m-p/3033239#M910801</guid>
      <dc:creator>twang</dc:creator>
      <dc:date>2003-07-25T07:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: ORA-1652 Signaled during index rebuild</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ora-1652-signaled-during-index-rebuild/m-p/3033240#M910802</link>
      <description>You can verify the size of the index with this SQL (user SYSTEM):&lt;BR /&gt;&lt;BR /&gt;SELECT SEGMENT_NAME, SEGMENT_TYPE, BYTES FROM DBA_SEGMENTS WHERE SEGMENT_NAME = '&lt;IDX name=""&gt;';&lt;BR /&gt;&lt;BR /&gt;the size is shown in bytes. The new index will (probably) need the same amount of space; if in GENINDEX tablespace there isn't enough space, then you know it's a space problem. If it is so, you can rebuild that index in another tablespace (so the old index will be deleted from GENINDEX) an then rebuild it again in GENINDEX. Or you can extend the GENINDEX tablespace.&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;Claudio&lt;/IDX&gt;</description>
      <pubDate>Fri, 25 Jul 2003 08:07:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ora-1652-signaled-during-index-rebuild/m-p/3033240#M910802</guid>
      <dc:creator>Claudio Cilloni</dc:creator>
      <dc:date>2003-07-25T08:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: ORA-1652 Signaled during index rebuild</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ora-1652-signaled-during-index-rebuild/m-p/3033241#M910803</link>
      <description>Use ALTER TABLESPACE ADD DATAFILE statement to add one or more files to the tablespace indicated(GENINDEX) or enabling autoextend on an existing datafile. Or you may create the object in other tablespace and see if it works.  &lt;BR /&gt;</description>
      <pubDate>Fri, 25 Jul 2003 08:27:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ora-1652-signaled-during-index-rebuild/m-p/3033241#M910803</guid>
      <dc:creator>twang</dc:creator>
      <dc:date>2003-07-25T08:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: ORA-1652 Signaled during index rebuild</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ora-1652-signaled-during-index-rebuild/m-p/3033242#M910804</link>
      <description>Hi there.&lt;BR /&gt;Could be two things.&lt;BR /&gt;Either the number of extends for the index itself is not big enough or you do not have enough bytes free in your tablespace.&lt;BR /&gt;you can test the tablespaces  with this little sql :&lt;BR /&gt;&lt;BR /&gt;set termout off&lt;BR /&gt;set feedback off&lt;BR /&gt;set pages 65&lt;BR /&gt;set lines 60&lt;BR /&gt;ttitle " Free space report "&lt;BR /&gt;column "TS Name" format a20        &lt;BR /&gt;column "Sum MB" format 99999.99   &lt;BR /&gt;column "Max MB" format 99999.99   &lt;BR /&gt;spool /var/tmp/free1&amp;amp;&amp;amp;2..lst.&amp;amp;&amp;amp;1&lt;BR /&gt;select tablespace_name "TS Name",&lt;BR /&gt; sum(bytes) / 1048576  "Sum MB",&lt;BR /&gt; max(bytes) / 1048576  "Max MB"&lt;BR /&gt;from sys.dba_free_space&lt;BR /&gt;group by tablespace_name&lt;BR /&gt;;&lt;BR /&gt;spool off&lt;BR /&gt;set termout on &lt;BR /&gt;set feedback on &lt;BR /&gt;exit&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;alexander M. Ermes</description>
      <pubDate>Fri, 25 Jul 2003 09:49:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ora-1652-signaled-during-index-rebuild/m-p/3033242#M910804</guid>
      <dc:creator>Alexander M. Ermes</dc:creator>
      <dc:date>2003-07-25T09:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: ORA-1652 Signaled during index rebuild</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ora-1652-signaled-during-index-rebuild/m-p/3033243#M910805</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;first of all,&lt;BR /&gt;&lt;BR /&gt;why are you rebuilding indexes?  &lt;BR /&gt;&lt;BR /&gt;what is the goal behind that?  &lt;BR /&gt;&lt;BR /&gt;do you have metrics that prove you are doing more good than harm? &lt;BR /&gt;&lt;BR /&gt;did you know that rebuilding indexes can have a massive negative impact on your performance?&lt;BR /&gt;&lt;BR /&gt;are you using locally managed tablespaces (LMT)?&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Yogeeraj</description>
      <pubDate>Fri, 25 Jul 2003 09:56:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ora-1652-signaled-during-index-rebuild/m-p/3033243#M910805</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2003-07-25T09:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: ORA-1652 Signaled during index rebuild</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ora-1652-signaled-during-index-rebuild/m-p/3033244#M910806</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The problem is 'GENINDEX' ran out of space. make sure to have additional space in genindex that is, equivalent size of the index being rebuilt. Reason being, oracle never drops the old index until the new index is built sucessfully in GENINDEX tablespace.&lt;BR /&gt;&lt;BR /&gt;yes, index creation/rebuild uses, users default temp tablespace for creating indexes initially which you can monitor that in v$sort_segment, then once build it updates seg$ to make it permanant segments in GENINDEX tablespace and releases the temp segments for others to use. when all this goes through, it finally drops the old index.&lt;BR /&gt;&lt;BR /&gt;hth,&lt;BR /&gt;Stan&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Jul 2003 17:34:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ora-1652-signaled-during-index-rebuild/m-p/3033244#M910806</guid>
      <dc:creator>Stan_17</dc:creator>
      <dc:date>2003-07-25T17:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: ORA-1652 Signaled during index rebuild</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ora-1652-signaled-during-index-rebuild/m-p/3033245#M910807</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;While rebuilding the Index if you use the following command without tablespace option.&lt;BR /&gt;SQL&amp;gt; alter index &lt;IDX name=""&gt; rebuild ;&lt;BR /&gt;&lt;BR /&gt;System will take the user default tablespace for rebuilding the index.&lt;BR /&gt;&lt;BR /&gt;If the TEMPORARY TABLESPACE is of type TEMPORARY, the space is not released  &lt;BR /&gt;until the instance is shutdown.  If the TEMPORARY TABLESPACE is of type  &lt;BR /&gt;PERMANENT, then cleanup is performed by SMON after completion of the process &lt;BR /&gt;using it. &lt;BR /&gt; &lt;BR /&gt;A sort segment is created by the first statement that uses a TEMPORARY  &lt;BR /&gt;tablespace for sorting, after startup. These are not released until the database is restarted. The view V$SORT_SEGMENT can be used to see how many of the currently allocated sort segments are being used. &lt;BR /&gt;&lt;BR /&gt;To find out if a TEMP segment is FREE or being USED and also in which tablespace the segment resides, query the new dynamic performance view  V$SORT_SEGMENT. &lt;BR /&gt;&lt;/IDX&gt;</description>
      <pubDate>Sun, 27 Jul 2003 12:03:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ora-1652-signaled-during-index-rebuild/m-p/3033245#M910807</guid>
      <dc:creator>KVS Raju</dc:creator>
      <dc:date>2003-07-27T12:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: ORA-1652 Signaled during index rebuild</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ora-1652-signaled-during-index-rebuild/m-p/3033246#M910808</link>
      <description>i should have been wary in saying "releases the temp segments for others to use" -- i meant, the allocated extents will get reused by others. &lt;BR /&gt;&lt;BR /&gt;hth,&lt;BR /&gt;Stan</description>
      <pubDate>Mon, 28 Jul 2003 15:13:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ora-1652-signaled-during-index-rebuild/m-p/3033246#M910808</guid>
      <dc:creator>Stan_17</dc:creator>
      <dc:date>2003-07-28T15:13:31Z</dc:date>
    </item>
  </channel>
</rss>

