Database Tuning (MOSC)

MOSC Banner

What to collect if your database is hanging...

edited Apr 21, 2015 5:58PM in Database Tuning (MOSC)

Has your database hung? Hopefully, it has not and it never will. But if it does, support needs following information:

1. Alert log at the time of the hang

2. Snapshot of AWR during the time of the hang

3. Ash report during the time of the hang

4. If possible, generate system states and hanganalyze at the time of the issue:

(a) Non-RAC

        $ sqlplus '/ as sysdba'

          oradebug setmypid

          oradebug unlimit

          oradebug dump systemstate 266

          wait 90 seconds

          oradebug dump systemstate 266

          wait 90 seconds

          oradebug dump systemstate 266

          quit

(b) Wait at least 1 minute and then repeat step 1 to take a second set of dumps.

Run hanganalyze as following:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center