oracle oracle, August 31, 2016 - 11:23 am UTC
Hi team,
Thanks for reply,
Now i have seen the wait_event like
SQL> select count(*),wait_class from v$session where type='USER' and status='ACTIVE' group by wait_class order by 2;
COUNT(*) WAIT_CLASS
---------------------------------------
11 Idle
1 Network
28 User I/O
So how to overcome user i/o and i have seen the sql_id which is used frequently and try to get recommendation like
sqltrpt.sql but no recommendations are there and in awr it is taking very much cpu so how to overcome with this.
Thanks
September 01, 2016 - 2:45 am UTC
I think you are taking 2 plus 2 and making 17.
We don't know if those active sessions are related to your app, or your web page - they could something (anything) else. Ideally you want to track from end-to-end, a slow web page, to its application server process, to its database connection(s) and *then* assess *those* sessions.
But let's *assume* that the SQL_ID you mentioned is indeed the culprit - ie, it is ranked very high in the AWR report.
Extract the SQL text and the sql plan, and take a look at tuning based on what the plan looks like.