Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Script for checking temp usage

RE: Script for checking temp usage

From: Jenkins, Michael <Michael.Jenkins_at_Nextel.com>
Date: Mon, 10 Sep 2001 12:56:28 -0700
Message-ID: <F001.00388A42.20010910125527@fatcity.com>

Thanks to everyone for all the help.

-----Original Message-----
Sent: Monday, September 10, 2001 1:35 PM To: Multiple recipients of list ORACLE-L

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: llin_at_versus.dmz.advance.net

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).
-- 
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).
Received on Mon Sep 10 2001 - 14:56:28 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US