For past some time I have noticed that we get ORA-00054
error while trying to issue SELECT ... FOR UPDATE NOWAIT
, during large number of concurrent updates to the db. This our development system and we really do not have any other user, or at least that is what we believe.
We have been through the logs of our application and it seems everything is in order; no threads are trying to update the same row.
How can I configure Oracle db to generate a log on which would let me know the user id which holds the lock when this error occurred?