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

Home -> Community -> Usenet -> c.d.o.server -> Re: script to show who is using temp. tablespaces.

Re: script to show who is using temp. tablespaces.

From: Nathan Hughes <nhughes_at_cerberus.umd.umich.edu>
Date: 1997/07/07
Message-ID: <5priis$32g@cerberus.umd.umich.edu>#1/1

Brian Motzer <bmotzer_at_spacestar.com> writes:

>I've been contacting Oracle support about finding a script to display
>who is using up
>the temporary tablespace. They have replied that someone sent them the
>following
>script. They did state that it has not been tested. I have had some luck
>running
>it to show who is using the space but not how much space they are using.
 

>If you have better luck please email me.

Wow. I always thought my script that follows showed me whose using up the temporary space:

col segment_name format a15
col owner format a10
col tablespace_name format a10
col bytes format 999,999,999,999
col extents format 9,999

SELECT
  owner, segment_name, tablespace_name, bytes, extents FROM
  dba_segments
WHERE
  segment_type = 'TEMPORARY'
/

-- 
/(o\ Nathan D. Hughes
\o)/ nhughes_at_umich.edu
Received on Mon Jul 07 1997 - 00:00:00 CDT

Original text of this message

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