<?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 Re: Reorganize temporary segment ?? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/reorganize-temporary-segment/m-p/2747909#M834345</link>
    <description>These temporary segments are used for saving the sort results when the sort_area_size allocated in the memory is not sufficients to perform the sorts.&lt;BR /&gt;If you see too many extents for this segments(&amp;gt;50), then you should change the next extent of the temporary tablepace holding that temporary segment.Otherwise the shutdown of database will take a lot of time becuase SMOn process needs to clean up these temporary segments before the DB can be shutdown.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;AR</description>
    <pubDate>Thu, 20 Jun 2002 01:00:19 GMT</pubDate>
    <dc:creator>Aashish Raj</dc:creator>
    <dc:date>2002-06-20T01:00:19Z</dc:date>
    <item>
      <title>Reorganize temporary segment ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reorganize-temporary-segment/m-p/2747907#M834343</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;When I run the query "select segment_name, count(*) from user_extents group by segment_name;" I found that there is a strange output which is just a number showing in the segment_name field.  Then I issue "select object_name, object_type from user_objects where object_name='The segment_name I found in the previous query';"  I found that the object_type is temporary !!  Just want to know what happened to my system??  How to remove the temporary segment ??&lt;BR /&gt;&lt;BR /&gt;Please help,&lt;BR /&gt;&lt;BR /&gt;Chris,</description>
      <pubDate>Wed, 19 Jun 2002 14:55:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reorganize-temporary-segment/m-p/2747907#M834343</guid>
      <dc:creator>Chris Fung</dc:creator>
      <dc:date>2002-06-19T14:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: Reorganize temporary segment ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reorganize-temporary-segment/m-p/2747908#M834344</link>
      <description>That is a normal temporary segment, and owned to the 'SYS' user.  You shouldn't worry about it, as it should only be in a tablespace that is used for your sorts (normally TEMP).  &lt;BR /&gt;&lt;BR /&gt;This will be cleaned up on a shutdown.  &lt;BR /&gt;&lt;BR /&gt;Brian</description>
      <pubDate>Thu, 20 Jun 2002 00:22:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reorganize-temporary-segment/m-p/2747908#M834344</guid>
      <dc:creator>Brian Crabtree</dc:creator>
      <dc:date>2002-06-20T00:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: Reorganize temporary segment ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reorganize-temporary-segment/m-p/2747909#M834345</link>
      <description>These temporary segments are used for saving the sort results when the sort_area_size allocated in the memory is not sufficients to perform the sorts.&lt;BR /&gt;If you see too many extents for this segments(&amp;gt;50), then you should change the next extent of the temporary tablepace holding that temporary segment.Otherwise the shutdown of database will take a lot of time becuase SMOn process needs to clean up these temporary segments before the DB can be shutdown.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;AR</description>
      <pubDate>Thu, 20 Jun 2002 01:00:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reorganize-temporary-segment/m-p/2747909#M834345</guid>
      <dc:creator>Aashish Raj</dc:creator>
      <dc:date>2002-06-20T01:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: Reorganize temporary segment ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reorganize-temporary-segment/m-p/2747910#M834346</link>
      <description>Thanks for advise, one more question.&lt;BR /&gt;&lt;BR /&gt;Is that in the tablespace can be extended automatically in Oracle8i ?  Cause the System default "Temp" tablespace of my machine grew up to 4GB something !!&lt;BR /&gt;&lt;BR /&gt;I am afraid if the Temp tablespace will grow and may cause file system full in Unix level and that may halt the database.  Is that something I can do to prevent this from happen ?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Chris,</description>
      <pubDate>Thu, 20 Jun 2002 06:35:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reorganize-temporary-segment/m-p/2747910#M834346</guid>
      <dc:creator>Chris Fung</dc:creator>
      <dc:date>2002-06-20T06:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: Reorganize temporary segment ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reorganize-temporary-segment/m-p/2747911#M834347</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;datafiles of a tablespace can only grow automatically if autoextend has been defined for this datafile.&lt;BR /&gt;I opt to prevent autoextend for temp and rollback segments: any crazy SQL statement might cause temp and/or rollback to grow beyond control.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;FYI:&lt;BR /&gt;If the TEMPORARY TABLESPACE is of type TEMPORARY, the space is not released until the instance is shutdown.  If the TEMPORARY TABLESPACE is of type PERMANENT, then cleanup is performed by SMON after completion of the process using it.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Thierry.</description>
      <pubDate>Thu, 20 Jun 2002 06:42:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reorganize-temporary-segment/m-p/2747911#M834347</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2002-06-20T06:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: Reorganize temporary segment ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reorganize-temporary-segment/m-p/2747912#M834348</link>
      <description>Thierry is correct, you will not have a problem at unix level if auto extend has not been enabled. Without auto-extend, if a rogue sql statement consumes all available temp tablespace, session will generate "ORA-01652 unable to extend temp segment" error, and statement will rollback.</description>
      <pubDate>Thu, 20 Jun 2002 08:36:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reorganize-temporary-segment/m-p/2747912#M834348</guid>
      <dc:creator>Simeon Fox</dc:creator>
      <dc:date>2002-06-20T08:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: Reorganize temporary segment ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reorganize-temporary-segment/m-p/2747913#M834349</link>
      <description>I keep autoextensible option disabled for all my datafile.This gives me more control over filesystem usage.&lt;BR /&gt;I have script which monitors the free space in my tablespace and alerts me when it goes down below a certain threshold.This way i can closely monitor the segment growth in all the tablespaces.&lt;BR /&gt;&lt;BR /&gt;You can closely monitor the temporary segment usage through following views.&lt;BR /&gt;v$sort_segment&lt;BR /&gt;v$sort_usage&lt;BR /&gt;v$sysstat-name in sorts(memory) and sorts(disk).&lt;BR /&gt;&lt;BR /&gt;If you have lot of free memory, then you can increase the sort_area_size to reduce the number of sorts in disks.&lt;BR /&gt;&lt;BR /&gt;For sort intensive operations like create index,analyze you can set a higher sort_area_size at session level to redice the disk level sort usage.&lt;BR /&gt;alter session set sort_area_size=25000000;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;AR&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;AR&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Jun 2002 18:15:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reorganize-temporary-segment/m-p/2747913#M834349</guid>
      <dc:creator>Aashish Raj</dc:creator>
      <dc:date>2002-06-20T18:15:14Z</dc:date>
    </item>
  </channel>
</rss>

