You are on page 1of 2

A Lazy dba' s blog

By profession i am an Oracle DBA. For the last few months I was thinking of sharing my day-to-day work
related's learning with everyone. But I'm not sure that I'm good in explaining the things with others. So
please feel free to correct me if I'm making some mistakes in this blog.
+RPH

0\3URILOH

)ULGD\0DUFK

6WHSVWRSHUIRUPKDQJDQDO\VLVLQ2UDFOHZKHQ
GDWDEDVHLVLQDFFHVVLEOHRUKXQJVWDWH
Today, we had an issue where in which one of our rac database was
hung.since the database was not responding to any of the commands
the only option was to terminate the instance by the operating
system commands. Before aborting the database we decided to
collect as much disinformation possible so that or it will support
service can find the root cause. In this can of situations Oracle
recommends to collect hang analysis data for further
troubleshooting.
Steps to perform an hang analysis
=========================
Step 1
=========
SQL> oradebug setmypid
SQL> oradebug unlimit;
SQL> oradebug hanganalyze 3
Step 2
========
SQL> oradebug setmypid
SQL> oradebug unlimit;
SQL> oradebug dump systemstate 266
Step 3
========
SQL> oradebug hanganalyze 3
Step 4
========
SQL> oradebug setmypid
SQL> oradebug unlimit;
SQL> oradebug dump systemstate 266
Please refer metalink note61552.1 for further details on the steps.

Problem we faced
================
we could not performed the above steps because the database was
not accepting a new collection

Solution
======

7RWDO3DJHYLHZV

10,766
7RSLFV

Dataguard (1)
General DBA (1)

%ORJ$UFKLYH

2012 (2)
April (1)
March (1)
Steps to
perfor
m hang
analysi
s in
Oracle
when
data...


When the database is not accepting the new collection is due to the
hung status, start a preliminary correction to the database as follows

sqlplusprelim"/assysdba"

Thenperformthestepsmentionedabove.

After collecting the hang analysis details we terminated the database


instance resolve the issue
Posted by praveenchandran at 3:49 AM
Recommend this on Google

Labels: General DBA

Ethereal template. Powered by Blogger.

You might also like