Hla Oo's Blog_ Bengali-Muslims’ Mujahid Insurgency (1948-1954)
A Lazy DBA' s Blog_ Steps to Perform Hang Analysis in Oracle When Database is Inaccessible or Hung...
-
Upload
benedict-e-pranata -
Category
Documents
-
view
218 -
download
0
Transcript of A Lazy DBA' s Blog_ Steps to Perform Hang Analysis in Oracle When Database is Inaccessible or Hung...
7/23/2019 A Lazy DBA' s Blog_ Steps to Perform Hang Analysis in Oracle When Database is Inaccessible or Hung State
http://slidepdf.com/reader/full/a-lazy-dba-s-blog-steps-to-perform-hang-analysis-in-oracle-when-database 1/2
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.
A Lazy dba' s blog
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 tocollect 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 note 61552.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
======
10,766
Dataguard (1)
General DBA (1)
2012 (2)
April (1)
March (1)
Steps toperfor m hanganalysis in
Oracle whendata...
7/23/2019 A Lazy DBA' s Blog_ Steps to Perform Hang Analysis in Oracle When Database is Inaccessible or Hung State
http://slidepdf.com/reader/full/a-lazy-dba-s-blog-steps-to-perform-hang-analysis-in-oracle-when-database 2/2
When the database is not accepting the new collection is due to the
hung status, start a preliminary correction to the database as follows
sqlplus -prelim " / as sysdba"
Then perform the steps mentioned above.
After collecting the hang analysis details we terminated the database
instance resolve the issue
Posted by praveenchandran at 3:49 AM
Labels: General DBA
Recommend this on Google
Ethereal template. Powered by Blogger .