Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: TEMP tablespace-what's in it?
Here is a script that I got from one of the lists:
select distinct
b.sid,b.serial#,substr(b.username,1,8)USERNAME,b.process,
substr(c.segment_name,1,8)SEGMENT_NAME,substr(b.osuser,1,7)OS_USER,substr(b.
machine,1,6)M_NAME,
substr(b.program,1,12)PROGRAM
from v$access a, v$session b,dba_segments c
where c.owner= a.owner
and a.sid = b.sid and b.status = 'ACTIVE' and c.segment_type ='TEMPORARY'
Hope this helps!
Ruth
----- Original Message -----
From: <cemail_at_sprintmail.com>
To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
Sent: Wednesday, August 30, 2000 4:53 PM
Subject: TEMP tablespace-what's in it?
>
> Is there a way to find out what is filling up the temp tablespace?
> We think we may have an issue of things getting locked into
> temp and not going away after the sorting has been done, etc.
>
> -----
> Sent using MailStart.com ( http://MailStart.Com/welcome.html )
> The FREE way to access your mailbox via any web browser, anywhere!
>
> --
> Author:
> INET: cemail_at_sprintmail.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 Thu Aug 31 2000 - 10:15:24 CDT