Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Top SQL from statspack
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