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: Top SQL from statspack

Re: Top SQL from statspack

From: Rick Denoire <100.17706_at_germanynet.de>
Date: Tue, 21 Dec 2004 22:46:11 +0100
Message-ID: <f66hs0h2bpmf9vroon4jk8c6vg3ikdan81@4ax.com>


Norman Dunbar <Norman_at_REMOVETHIS.Dunbar-IT.co.uk> wrote:

>run the Statspack snapshot at level 6.
>
>Run the SPREPORT script to get the top SQL stuff as normal, note the
>hash value.
>
>Run the SPREPSQL and give it the hash it wants.
>

According to the doc, level 5 should suffice to collect sql with high resource consumption:

 The following descriptions were extracted using select * from perfstat.stats$level_description:

The mere fact that I don't find the sql statements in the stats$sql_summary table support your advice that level 6 is needed, but this contradicts the documentation.

Regards
Rick Denoire Received on Tue Dec 21 2004 - 15:46:11 CST

Original text of this message

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