SAMPLE SCRIPT TO AVOID LONG WAIT AGAINST TABLES FOR LOCKED ROWS
Last updated on JULY 05, 2017
Applies to:Oracle Database - Enterprise Edition - Version 184.108.40.206 and later
Information in this document applies to any platform.
***Checked for relevance on 27-Dec-2013***
If User1 (Session 1) executes any update/delete against a table (without issuing a commit or rollback) and a user within another session attempts to update/delete the same table, there will be row level lock on the affected rows.
Any DML needing those rows will hang till the blocking session issues a ROLLBACK or COMMIT command.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms