Saturday, October 24, 2020

ORACLE HANG ANALYZE

 Below given are the steps to generate Hanganalyze and Systemstate 


Hanganalyze: 

===================== 

sqlplus '/ as sysdba' 

oradebug setmypid; 

oradebug unlimit; 

oradebug hanganalyze 3; 

-- Wait upto 1 minute before getting the second hanganalyze 

oradebug hanganalyze 3; 

-- Wait upto 1 minute before getting the second hanganalyze 

oradebug hanganalyze 3; 

oradebug tracefile_name; 

exit 



Systemstate Dump: 

================ 

sqlplus '/ as sysdba' 

oradebug setmypid; 

oradebug unlimit; 

oradebug dump systemstate 258; 

-- Wait upto 1 minute before getting the second system state 

oradebug dump systemstate 258; 

-- Wait upto 1 minute before getting the second system state 

oradebug dump systemstate 258; 

oradebug tracefile_name; 

exit 


No comments:

Post a Comment

Featured post

Migrate OCR & vote from external to normal or High redundancy in ASM

How to Move OCR & Vote from external to Normal or high. 1)  Create New diskgroup(CRS) with suitable redundancy for OCR and Voting files....

Popular Posts