enq: TM - contention
"Drill down into individual sessions showing high waits to understand which application code , which objects, and which SQL/s are involved in the waits. ASH reports for sessions showing high "enq: TM - contention" wait time may help."
From "Top Event P1/P2/P3 Values" section in the ASH report (for a particular session) : I got SQL_ID, Lock_mode.
Question:
1. Should I run ASH for each individual sessions and compare the %event values - to get high "enq: TM - contention" session? (Let's say, I have ~20 sessions affected with that wait event)
2. How to identify which session caused this event in the first place?