|
for example :
session 1:
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
SQL> alter system suspend;
System altered.
SQL>
session 2 被阻塞:
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
SQL> create table t as select * from dba_objects where rownum = 1;
session 3 来 debug:
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
SQL> oradebug hanganalyze 3;
Hang Analysis in d:\oracle\admin\rainy\udump\rainy_ora_3940.trc
SQL> exit
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
C:\Documents and Settings\hz>
Oracle process number: 12
Windows thread id: 3940, image: ORACLE.EXE
*** SESSION ID 14.3) 2005-02-01 21:15:08.000
*** 2005-02-01 21:15:08.000
==============
HANG ANALYSIS:
==============
Open chains found:
Other chains found:
Chain 1 : <cnode/sid/sess_srno/proc_ptr/ospid/wait_event> :
<0/4/1/0x681e51fc/2288/writes stopped by instance recov>
Chain 2 : <cnode/sid/sess_srno/proc_ptr/ospid/wait_event> :
<0/8/1/0x681e60fc/2360/writes stopped by instance recov>
Chain 3 : <cnode/sid/sess_srno/proc_ptr/ospid/wait_event> :
<0/12/5/0x681e687c/3068/writes stopped by instance recov>
Chain 4 : <cnode/sid/sess_srno/proc_ptr/ospid/wait_event> :
<0/14/3/0x681e6c3c/3940/No Wait>
Extra information that will be dumped at higher levels:
[level 5] : 4 node dumps -- [SINGLE_NODE] [SINGLE_NODE_NW] [IGN_DMP]
[level 10] : 7 node dumps -- [IGN]
State of nodes
([nodenum]/cnode/sid/sess_srno/session/ospid/state/start/finish/[adjlist]/prede
essor):
[0]/0/1/1/0x6820b758/2116/IGN/1/2//none
[1]/0/2/1/0x6820c0c8/3840/IGN/3/4//none
[2]/0/3/1/0x6820ca38/3220/IGN/5/6//none
[3]/0/4/1/0x6820d3a8/2288/SINGLE_NODE/7/8//none
[4]/0/5/1/0x6820dd18/3996/IGN/9/10//none
[5]/0/6/1/0x6820e688/3600/IGN/11/12//none
[6]/0/7/1/0x6820eff8/1872/IGN/13/14//none
[7]/0/8/1/0x6820f968/2360/SINGLE_NODE/15/16//none
[11]/0/12/5/0x68211f28/3068/SINGLE_NODE/17/18//none
[12]/0/13/4/0x68212898/2308/IGN/19/20//none
[13]/0/14/3/0x68213208/3940/SINGLE_NODE_NW/21/22//none
====================
END OF HANG ANALYSIS
====================
C:\Documents and Settings\hz>
C:\Documents and Settings\hz>
C:\Documents and Settings\hz>
如果你是因为日志归档不了被阻塞了,这里面会提示等待归档的。 |
|