<?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: temp tablespace in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/temp-tablespace/m-p/3234234#M626892</link>
    <description>Hi,&lt;BR /&gt;You may use this sql to check who is currently using temp space:&lt;BR /&gt;select&lt;BR /&gt;  b.tablespace&lt;BR /&gt;  ,b.segfile#&lt;BR /&gt;  ,b.segblk#&lt;BR /&gt;  ,round(((b.blocks*p.value)/1024/1024),2) size_mb&lt;BR /&gt;  ,a.sid&lt;BR /&gt;  ,a.serial#&lt;BR /&gt;  ,a.username&lt;BR /&gt;  ,a.osuser&lt;BR /&gt;  ,a.program&lt;BR /&gt;  ,a.status&lt;BR /&gt;from v$session a&lt;BR /&gt;  ,v$sort_usage b&lt;BR /&gt;  ,v$process c&lt;BR /&gt;  ,v$parameter p&lt;BR /&gt;where p.name='db_block_size' &lt;BR /&gt;  and a.saddr = b.session_addr  &lt;BR /&gt;  and a.paddr=c.addr&lt;BR /&gt;order by &lt;BR /&gt;  b.tablespace&lt;BR /&gt;  ,b.segfile#&lt;BR /&gt;  ,b.segblk#&lt;BR /&gt;  ,b.blocks&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;twang</description>
    <pubDate>Wed, 31 Mar 2004 03:22:57 GMT</pubDate>
    <dc:creator>twang</dc:creator>
    <dc:date>2004-03-31T03:22:57Z</dc:date>
    <item>
      <title>temp tablespace</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/temp-tablespace/m-p/3234229#M626887</link>
      <description>Hello all, &lt;BR /&gt;I'm trying to determine what is using temp tablespace.  It currently is filled up with no active sessions.  The tablespace is in 8i and dictionary managed.  Is there anyway I can determine what is using the temp tablespace?  I looked in dba_segments and it appears that SYS owns an segment called '4.54754' that exists in the temp tablespace.  This doesn't really help me determine what this object is.  I don't want to bounce the server  to clean it up.&lt;BR /&gt;&lt;BR /&gt;thanks.</description>
      <pubDate>Tue, 30 Mar 2004 14:10:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/temp-tablespace/m-p/3234229#M626887</guid>
      <dc:creator>Brian_274</dc:creator>
      <dc:date>2004-03-30T14:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: temp tablespace</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/temp-tablespace/m-p/3234230#M626888</link>
      <description>Brian&lt;BR /&gt;&lt;BR /&gt;Unless Oracle give you a 'Unable to extend ... in tablespace TEMP', you shouldn't worry about sys segments in the TEMP tablespace ; Oracle deal with thoses.&lt;BR /&gt;And even in this case, you would do sql tuning or increase TEMP size but never issue some drop sys.segement.&lt;BR /&gt;&lt;BR /&gt;A trick that worded on 8.1.7.0.4, just for the peace of mind is to modify the storage paramater twice (given that pctincrease value is 0) :&lt;BR /&gt;alter tablespace TEMP default storage (pctincrease 1);&lt;BR /&gt;alter tablespace TEMP default storage (pctincrease 0);&lt;BR /&gt;&lt;BR /&gt;But that's just a game with no gain.&lt;BR /&gt;&lt;BR /&gt;To be sure, look on &lt;A href="http://metalink.oracle.com" target="_blank"&gt;http://metalink.oracle.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Mar 2004 15:50:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/temp-tablespace/m-p/3234230#M626888</guid>
      <dc:creator>Nicolas Dumeige</dc:creator>
      <dc:date>2004-03-30T15:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: temp tablespace</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/temp-tablespace/m-p/3234231#M626889</link>
      <description>thanks actually I was getting unable to extend.  The session was terminated and I wanted to try to free up the temp space.  I know oracle has some background process that is supposed to clean it up.  Or when the next process comes to use it should free it up, but it wasn't.  I do realize I need to increase the size of the temp tablespace and the developer needs to tune his code and add more indexes.  I was just hoping to free up space without having to bounce the DB.</description>
      <pubDate>Tue, 30 Mar 2004 15:56:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/temp-tablespace/m-p/3234231#M626889</guid>
      <dc:creator>Brian_274</dc:creator>
      <dc:date>2004-03-30T15:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: temp tablespace</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/temp-tablespace/m-p/3234232#M626890</link>
      <description>Actually, building an index use TEMP space as it involves sorts ;-D&lt;BR /&gt;You may want to check the sort on memory/disk ratio and tune SORT_AREA_SIZE.&lt;BR /&gt;If you want to check the SQL statement that produce the TEMP exhaustion use the set autotrace on or explain plan for ... to see some valuable info (block access, execution plan ...)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Mar 2004 17:15:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/temp-tablespace/m-p/3234232#M626890</guid>
      <dc:creator>Nicolas Dumeige</dc:creator>
      <dc:date>2004-03-30T17:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: temp tablespace</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/temp-tablespace/m-p/3234233#M626891</link>
      <description>Hi,&lt;BR /&gt;For temp storage segment it will not clear out even no session use it until restart instance.&lt;BR /&gt;&lt;BR /&gt;HTH.</description>
      <pubDate>Wed, 31 Mar 2004 01:09:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/temp-tablespace/m-p/3234233#M626891</guid>
      <dc:creator>Printaporn_1</dc:creator>
      <dc:date>2004-03-31T01:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: temp tablespace</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/temp-tablespace/m-p/3234234#M626892</link>
      <description>Hi,&lt;BR /&gt;You may use this sql to check who is currently using temp space:&lt;BR /&gt;select&lt;BR /&gt;  b.tablespace&lt;BR /&gt;  ,b.segfile#&lt;BR /&gt;  ,b.segblk#&lt;BR /&gt;  ,round(((b.blocks*p.value)/1024/1024),2) size_mb&lt;BR /&gt;  ,a.sid&lt;BR /&gt;  ,a.serial#&lt;BR /&gt;  ,a.username&lt;BR /&gt;  ,a.osuser&lt;BR /&gt;  ,a.program&lt;BR /&gt;  ,a.status&lt;BR /&gt;from v$session a&lt;BR /&gt;  ,v$sort_usage b&lt;BR /&gt;  ,v$process c&lt;BR /&gt;  ,v$parameter p&lt;BR /&gt;where p.name='db_block_size' &lt;BR /&gt;  and a.saddr = b.session_addr  &lt;BR /&gt;  and a.paddr=c.addr&lt;BR /&gt;order by &lt;BR /&gt;  b.tablespace&lt;BR /&gt;  ,b.segfile#&lt;BR /&gt;  ,b.segblk#&lt;BR /&gt;  ,b.blocks&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;twang</description>
      <pubDate>Wed, 31 Mar 2004 03:22:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/temp-tablespace/m-p/3234234#M626892</guid>
      <dc:creator>twang</dc:creator>
      <dc:date>2004-03-31T03:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: temp tablespace</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/temp-tablespace/m-p/3234235#M626893</link>
      <description>Thanks twang that's what I needed.  Darn I was hoping there was a way to flush the temp tablespace.</description>
      <pubDate>Wed, 31 Mar 2004 09:11:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/temp-tablespace/m-p/3234235#M626893</guid>
      <dc:creator>Brian_274</dc:creator>
      <dc:date>2004-03-31T09:11:28Z</dc:date>
    </item>
  </channel>
</rss>

