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 -> V$SQLAREA to determine most disk intensive SQL

V$SQLAREA to determine most disk intensive SQL

From: gslman <vivek.gopalakrishnan_at_concert.com>
Date: 1 Mar 2004 07:31:17 -0800
Message-ID: <668c2610.0403010731.13174eed@posting.google.com>


Hi,

I am attempting to find the most expensive disk SQL using this query -

SELECT executions*disk_reads||','||executions||','||disk_reads||','||

        '"'||REPLACE(RTRIM(LTRIM(sql_text)),'"','')||'",'||first_load_time FROM V$SQLAREA
where disk_reads > 10000
order by executions*disk_reads desc

What does it mean when I sometimes get back a call to a stored procedure such as - ie. do the figures relate to the individual SQL within the stored procedure ??

BEGIN P_SPROCEDURE(:1,:2,:3); END; Thanks
Viv Received on Mon Mar 01 2004 - 09:31:17 CST

Original text of this message

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