How to Investigate Hanging SQL Statements (Doc ID 1916479.1)

Last updated on JUNE 06, 2017

Applies to:

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

Goal

This article addresses cases where a single query appears to hang. This is a problem with a large number of potential solutions since a query appearing to hang may indicate a number of issues including:

Most incidents of a single query appearing to hang can be approached in a similar manner to any SQL that has begun performing slowly, with a few adjustments.

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