Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: SQL and TEMP segments
select distinct b.sid,
b.serial#, substr(b.username, 1, 8) USERNAME, b.process, substr(c.segment_name, 1, 8) SEGMENT_NAME, bytes BYTES, substr(b.osuser, 1, 7) OS_USER, substr(b.machine, 1, 6) M_NAME, substr(b.program, 1, 12) PROGRAM from v$access a, v$session b, dba_segments c where c.owner = a.owner and a.sid = b.sid
HTH Mark
Mark Leith | T: +44 (0)1905 330 281 Sales & Marketing | F: +44 (0)870 127 5283 Cool Tools UK Ltd | E: mark_at_cool-tools.co.uk =================================================== http://www.cool-tools.co.uk Maximising throughput & performance
-----Original Message-----
Sent: 14 February 2003 11:49
To: Multiple recipients of list ORACLE-L
Quick question, I want to find out what sql is currently using my temporary
segments. Is their a simple solution. Am getting the ORA-1652 for my locally
managed temporary tablespace and I would like to find out what sql is
causing this. My temp tablespace is currently 1.2GB.
Oracle 8.1.7.3 on HPUX 11.
TIA
With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits
your needs
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Mark Leith
INET: mark_at_cool-tools.co.uk
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 Fri Feb 14 2003 - 06:18:39 CST