Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: v$sqlarea & v$session
Perhaps this is what you're looking for?
select sql_text ,sid, username, osuser, logon_time
from v$sqlarea sa, v$session ss
where sa.buffer_gets > 100000000 -- that's a lot of gets!
and sa.hash_value = ss.sql_hash_value;
HTH! GL! :) Rich
Rich Jesse System/Database Administrator rich.jesse_at_qtiworld.com Quad/Tech International, Sussex, WI USA
p.s. West Bend, WI welcomes the new Home Depot to be built this summer!! If this SQL helps you, can I get a discount?? ;)
-----Original Message-----
[mailto:Charlie_Mengler_at_HomeDepot.com]
Sent: Wednesday, March 12, 2003 11:18 AM
To: Multiple recipients of list ORACLE-L
I'm suffering from a senior moment.
The question is at the every bottom.
SQL> select sql_text from v$sqlarea sa where buffer_gets > 100000000
SQL_TEXT
1 select sql_text
2 ,sid, username, osuser, logon_time 3 from v$sqlarea sa 4 , v$session ss5 where buffer_gets > 100000000
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Jesse, Rich
INET: Rich.Jesse_at_qtiworld.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 Wed Mar 12 2003 - 12:22:30 CST