Solved

Hang Analysis On Hung Database

Posted on 2014-11-13
3
195 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

734 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