How to Determine which Row is Locked by a Blocking Session

(Doc ID 1524216.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.


The following steps can be followed to determine the row being locked by a blocking session. The sample scripts use the EMPLOYEES table in the HR demo schema that is installed from 10g onwards.

The scripts require 3 separate sessions in order to be completed successfully:



Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms