Solved

Hang Analysis On Hung Database

Posted on 2014-11-13
3
191 Views
Last Modified: 2014-11-13
I need to run the oradebug hanganalyze  when our database hangs.  I want to:
conn / as sysdba
 oradebug setmypid
 oradebug hanganalyze 3
... Wait at least 2 minutes to give time to identify process state changes.
 oradebug hanganalyze 3
... Wait at least 2 minutes to give time to identify process state changes.
 oradebug dump systemstate 266

Problem is the database hangs at the first step (conn / as sysdba)
Is there a way of getting around that?
0
Comment
Question by:xoxomos
  • 2
3 Comments
 
LVL 18

Expert Comment

by:sventhan
ID: 40440978
try this ...
sqlplus -prelim / as sysdba
0
 
LVL 18

Accepted Solution

by:
sventhan earned 500 total points
ID: 40440991
You can try these 2 options ....

option1
=======
sqlplus -prelim / as sysdba

option2
========
sqlplus /nolog
set _prelim on
connect / as sysdba
0
 

Author Closing Comment

by:xoxomos
ID: 40441229
Thanx
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question