Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

query to get wait event (IO latency) for a sql_id

spur230Sep 21 2015 — edited Oct 1 2015

I am using Oracle 11.2.0.3.  and have diagnostics pack license to access awr/ ash.

does anyone have  sql  to get something like 'Top 5 timed foreground wait event' for a SQL_ID?   In particular I want to know what were the wait events,  times waited and avg wait (ms) for a sql_id

Something like this for as particular sql_id:

EventsWaitsTotal Wait Time (s)Average wait (ms
db file sequential read
36,895
351
This post has been answered by Dom Brooks on Oct 1 2015
Jump to Answer

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Oct 29 2015
Added on Sep 21 2015
8 comments
3,412 views