Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: TEMP tablespace-what's in it?
Hi,
if you're using Oracle 8 you could try :
select user, session_addr, session_num, extents
from v$sort_usage
order by 4
Hope this helps
Davide
-----Original Message-----
From: Ruth Gramolini rgramolini_at_tax.state.vt.us
Sent: Thu, 31 Aug 2000 08:17:50 -0800
To: ORACLE-L_at_fatcity.com
Subject: 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=3D a.owner
and a.sid =3D b.sid and b.status =3D 'ACTIVE' and c.segment_type =3D'TEMPORARY'
Hope this helps!
Ruth
----- Original Message -----
To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
Sent: Wednesday, August 30, 2000 4:53 PM
>
> 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).
>
--=20
Author: Ruth Gramolini
INET: rgramolini_at_tax.state.vt.us
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).
_________________________________________________________________________=__