Database Tuning (MOSC)

MOSC Banner

How to find blocking query and blocked query?

edited Jul 26, 2016 10:09AM in Database Tuning (MOSC) 6 commentsAnswered

Hi All,

Some time in Oracle 12c OEM .

In this page OEM will display 2 session are blocking. one is displayed as  in wait class IDLE and second will display as application.

In sql_id column

blank

some sql_id( example c45y98fhnuzf6)

Navigation:

Performance-->blocking session.

I  am not able to find out sql query for idle session bcause in sql_id cloum it not displaying id.

Please find the  attached docs of 12c OEM.(Deadlock_details)

Please suggest me ,

How to find out sql query and trace file for that session.

Thanks

Zahemad

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