My Oracle Support Banner

How to Collect Diagnostics for Database Hanging Issues (Doc ID 452358.1)

Last updated on JANUARY 11, 2021

Applies to:

Oracle Database Cloud Schema Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.

Goal

When a database appears to be hung, it is useful to collect information from the database in order to determine the root cause of the hang. The root cause of  the hang can often be isolated and solved using the diagnostic information gathered. Alternatively, if this is not possible, we can use the information obtained in order to help eliminate future occurences

Performance Service Request Diagnostic Collection (SRDC) documents

Service Request Data Collection (SRDC) documents have been specially designed to provide the reader with the necessary instructions to provide a step by step guide to collecting information for a various common Database Performance Issues.

<Document 1938786.1> List of Available Database Performance Related SRDC Documents

Solution

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
Goal
 Performance Service Request Diagnostic Collection (SRDC) documents
Solution
 What is needed to diagnose "Database Hang" issues?
 A. Dumps and Traces
 Hanganalyze and Systemstate Dumps
 Collecting Hanganalyze and Systemstate Dumps
 Logging in to the system
 Collection commands for Hanganalyze and Systemstate: Non-RAC:
 Collection commands for Hanganalyze and Systemstate: RAC
 For 10g (and above)
 Explanation of Hanganalyze and Systemstate Levels
 Other Methods
 Capturing systemstates based upon an error
 V$wait_chains
 B. Provide AWR/Statspack snapshots of General database performance
 C. Gather an up to date RDA
 Proactive Methods to gather information on a Hanging System
 Oracle Enterprise Manager 12c Real-Time ADDM
 Retroactive Information Collection
 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.