SQL in statspack report, oracle version 11.2.0.4
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