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" <Michael.Jenkins_at_Nextel.com>
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: Michael.Jenkins_at_Nextel.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).
Eng. Christian Trassens
Senior DBA
Systems Engineer
ctrassens_at_yahoo.com
ctrassens_at_hotmail.com
Phone : 541149816062
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com
findtemp.sql
Received on Mon Sep 10 2001 - 12:38:46 CDT