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: Who is using temp tablespace?

RE: Who is using temp tablespace?

From: Shibu MB <muhammed_basheershibu_at_mindtree.com>
Date: Tue, 04 Nov 2003 05:39:32 -0800
Message-ID: <F001.005D58BA.20031104053932@fatcity.com>


Rick ,

            This query will help you to find who is using the space  

SELECT
a.username, a.osuser, a.sid||','||a.serial# SID_SERIAL, c.spid Process, b.tablespace tablespace, a.status, sum(b.extents)* 1024*1024 space FROM v$session a,v$sort_usage b, v$process c, dba_tablespaces d

WHERE    a.saddr = b.session_addr
AND      a.paddr = c.addr
AND      b.tablespace=d.tablespace_name

--ORDER BY b.tablespace, b.segfile#, b.segblk#, b.blocks group by a.username, a.osuser, a.sid||','||a.serial#,c.spid, b.tablespace, a.status  

Thanks
Shibu    

-----Original Message-----

	From: Rick_Cale_at_teamhealth.com [mailto:Rick_Cale_at_teamhealth.com] 
	Sent: Tue 11/4/2003 6:49 PM 
	To: Multiple recipients of list ORACLE-L 
	Cc: 
	Subject: Who is using temp tablespace?
	
	





	Hi All,
	
	How can I determine who is using temp tablespace?  I have a 1 gb
tablespace
	and it is almost full. I want to know who and what sql is using most
	of it.
	
	Thanks
	Rick
	

--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: INET: Rick_Cale_at_teamhealth.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services
---------------------------------------------------------------------
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).

DISCLAIMER:
This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Private Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission.


Content-Type: text/plain; name="ReadMe.txt"; charset="us-ascii" Content-Transfer-Encoding: 7bit

The previous attachment was filtered out by the ListGuru mailing software at fatcity.com because binary attachments are not appropriate for mailing lists. If you want a copy of the attachment which was removed, contact the sender directly and ask for it to be sent to you by private E-mail.

This warning is inserted into all messages containing binary attachments which have been removed by ListGuru. If you have questions about this message, contact Postmaster_at_fatcity.com for clarification.

------_=_NextPart_001_01C3A2D8.E475D8BD--

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Shibu MB
  INET: muhammed_basheershibu_at_mindtree.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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 Tue Nov 04 2003 - 07:39:32 CST

Original text of this message

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