Find Sessions that are Blocking Other Sessions Using SQL

(Doc ID 728539.1)

Last updated on SEPTEMBER 29, 2017

Applies to:

Oracle Database - Personal Edition - Version 7.1.4.0 and later
Oracle Database - Standard Edition - Version 7.0.16.0 and later
Enterprise Manager for Oracle Database - Version 8.1.7.4 and later
Oracle Database - Enterprise Edition - Version 6.0.0.0 and later
Information in this document applies to any platform.

Goal

Sometimes a systemstate cannot be taken and uploaded to support, and it is desirable to manually find what sessions are blocking other sessions. This guide enables the 'blocking' session to be ascertained manually.

The note is written only with currently supported versions in mind 10G and onwards. Therefore, while some of the methodology applies to 9.2 and below, it cannot be guaranteed.

Solution

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