Since 8.X joining v$sort_usage and v$session. In 7.X
Metalink had an script that I enclose.

When the query is running, you can issue a query over
v$session_wait. Looking for the event 'db file
sequential read' where p1 includes all the files of
the temp tablespace.

Regards.




--- "Jenkins, Michael" <[EMAIL PROTECTED]>
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
> -- 
> Please see the official ORACLE-L FAQ:
> http://www.orafaq.com
> -- 
> Author: Jenkins, Michael
>   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).


=====
Eng. Christian Trassens
Senior DBA
Systems Engineer
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Phone : 541149816062

__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

findtemp.sql

Reply via email to