My Oracle Support Banner

Master Note: Locks, Enqueues and Deadlocks (Doc ID 1392319.1)

Last updated on AUGUST 04, 2018

Applies to:

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

Purpose

This document provides an overview reference to content that pertains to the resolution of locks, enqueues and deadlocks affecting the database.

Whole Database "Locking up" or Hanging

If the whole database is "Locking up" or Hanging then this typically is not cause by lock contention and needs to be handled differently. If the database encounters what looks like a hang or a spin conditions refer to the following:

<Document 452358.1> How to Collect Diagnostics for Database Hanging Issues

 

Questions and Answers

To view full details, sign in with your My Oracle Support account.

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


In this Document
Purpose
 Whole Database "Locking up" or Hanging
Questions and Answers
 General Notes on Enqueues
 What is an enqueue?
 User Type Locks (TM, TX and UL Enqueues)
 TX Transaction Enqueue
 TM - DML (Table Manipulation) Enqueue
 UL - User Defined Lock
 System Enqueues
 Diagnostics
 Scripts to help Diagnose Locking Issues
 Deadlocks (ORA-00060)
 What is a deadlock?
 Community Discussions
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.