Frequent enq: TX - row lock contention
Hi,
My statspack reports display frequently the event "enq: TX - row lock contention" on the top of the events :
By example :
| Top 5 Timed Events | Avg %Total | |
| ~~~~~~~~~~~~~~~~~~ | wait Call | |
| Event | Waits | Time (s) (ms) Time |
----------------------------------------- ------------ ----------- ------ ------
| enq: TX - row lock contention | 79 | 4,813 60929 52.1 | ||
| CPU time | 3,684 | 39.9 | ||
| db file sequential read | 90,165 | 612 | 7 | 6.6 |
| direct path read | 141,770 | 89 | 1 | 1.0 |
| log file parallel write | 7,830 | 8 | 1 |
What can I do in order to identify the sql code causing that problem ?