Solved

Hang Analysis On Hung Database

Posted on 2014-11-13
3
172 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows how to recover a database from a user managed backup

757 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now