Database Tuning (MOSC)

MOSC Banner

SQL in statspack report, oracle version 11.2.0.4

edited Mar 30, 2015 10:00AM in Database Tuning (MOSC) 11 commentsAnswered

Hi: we run statspack (oracle 11.2.0.4) on UAT test, and get SQL lists in statspack report.  There are 10 - 50+ SQLs in each part as order SQL by criteria, how to dig out the information, for example, how to pick the bad SQL,  to pick SQL need improvement?

I can pick a SQL by comparing those in 'most executed' (SQL by execution) vs 'most CPU costly' (SQL by cpu).  What about SQL by parse? by read? by gets? How to read them in statspack? There are more than 50+ SQLs sometimes. FYI.  The report is like :

 

SQL ordered by CPU  DB/Inst: MEPS/meps  Snaps: 6286-6287

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center