Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: What is on Temp tablespace....

RE: What is on Temp tablespace....

From: Elliott, Patrick <Patrick.Elliott_at_bestbuy.com>
Date: Tue, 16 May 2000 15:39:18 -0500
Message-Id: <10499.105782@fatcity.com>


The temporary tablespace remains full until shutdown or startup. The extents are not allocated or deallocated as they used to be in older versions, they are just reassigned to temporary segments as needed. You can query v$sort_usage joining it to v$session to determine who is actually using the space.

select s.osuser,
       s.process,
       s.username,
       s.serial#,
       sum(u.blocks)*vp.value/1024 sort_size
from   v$session      s,
       v$sort_usage   u, 
       v$parameter    vp

where s.saddr = u.session_addr
  and vp.name = 'db_block_size'
  and s.osuser like '&1'
group by s.osuser, s.process, s.username, s.serial#, vp.value /

> -----Original Message-----
> From: Aldi Barco [SMTP:ipal_at_HOTMAIL.COM]
> Sent: Tuesday, May 16, 2000 11:59 AM
> To: Multiple recipients of list ORACLE-L
> Subject: What is on Temp tablespace....
>
> Hi list,
>
> There has been 3.8 GB used space on Temp tablespace for a day long.
> How to know what is currently Temp tablespace contain ?
> Tia.
>
> Aldi
> oracle DBA
>
> ________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>
> --
> Author: Aldi Barco
> INET: ipal_at_hotmail.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
Received on Tue May 16 2000 - 15:39:18 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US