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: Data in STATSPACK report doesn’t match (V$SQL: BUFFER_GETS, CPU_TIME; V$SYSSTAT).

Re: Data in STATSPACK report doesn’t match (V$SQL: BUFFER_GETS, CPU_TIME; V$SYSSTAT).

From: <J.Velikanovs_at_alise.lv>
Date: Fri, 18 Jun 2004 10:26:33 +0300
Message-ID: <OF7DA8DCC1.DF298349-ONC2256EB7.00286543-C2256EB7.002987CA@alise.lv>


Thank you Zhu for pointing me,

This explains issue.
Taking in account that 60% of CPU usage is Recursive then the figures I mentioned can be true.

One comment on that: "resources reported for PL/SQL includes the resources used by all SQL statements called within the PL/SQL code." In my case I haven’t PL/SQL blocks in report, just SQL run from JDBC driver. Comment: not only PL/SQL can generate recursive statements, in regular SQL this can happen quite frequently.

Jurijs

zhu chao <zhuchao_at_gmail.com>
Sent by: oracle-l-bounce_at_freelists.org
18.06.2004 05:43
Please respond to oracle-l  

        To:     oracle-l_at_freelists.org
        cc: 
        Subject:        Re: Data in STATSPACK report doesn’t match (V$SQL: 
BUFFER_GETS, CPU_TIME; V$SYSSTAT). It can be possible.
Pay attention to the sentence in the statspack report:

-> Note that resources reported for PL/SQL includes the resources used by

   all SQL statements called within the PL/SQL code. As individual SQL    statements are also reported, it is possible and valid for the summed    total % to exceed 100

-- 
Regards
Zhu Chao
www.cnoug.org
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request_at_freelists.org
put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------


----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request_at_freelists.org
put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
Received on Fri Jun 18 2004 - 02:32:12 CDT

Original text of this message

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