try this query:
SELECT s.username, s.serial#, s.sid, u.tablespace, u.contents, u.extents,
u.blocks
FROM v$session s, v$sort_usage u
WHERE s.saddr=u.session_addr;
Lucy
On Mon, 10 Sep 2001, Jenkins, Michael wrote:
> Does anybody have a script that will tell you which session_ids are using
> temp and how much they are using? We occasionally get runaway sessions that
> don't release temp and this would allow us to easily locate the offending
> session.
>
> I've already checked OraMag and used google with no significant results.
>
> Thanks in advance.
>
> --Michael
>
--
Lucy Lin Oracle DBA
condenet.com 212-286-3852
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Lucy Lin
INET: [EMAIL PROTECTED]
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: [EMAIL PROTECTED] (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).