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!

How to find sql responsible for holding lock on a table row

1783073Mar 26 2015 — edited Mar 28 2015

As far as I know it is not deterministic to find a sql statemnet that is hold a lock, if the session still connected but

and many other sql statement have been executed for the locking session.

the blocking session in v$session does not have correct sql_id which is responsible for holding the lock.



Is the a procedure to univocally identify teh sql statemnet responsible for holding lock in a table row ?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 24 2015
Added on Mar 26 2015
7 comments
1,443 views