My Oracle Support Banner

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

Last updated on MARCH 22, 2022

Applies to:

Oracle Database - Standard Edition - Version 9.0.1.0 and later
Oracle Database - Personal Edition - Version 9.0.1.0 and later
Oracle Database - Enterprise Edition - Version 9.0.1.0 and later
Oracle Database Backup Service - Version N/A and later
Oracle Database Cloud Exadata 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.