当数据库出现了hang的情况,如何收集数据?

当数据库出现了hang的情况,甚至sqlplus也无法登陆,如何收集数据?
参与4

2同行回答

苏州易博创云苏州易博创云CTO苏州易博创云网络科技有限公司
可以通过 sqlplus -prelim / as sysdba进入数据库,然后通过ORADEBUG hanganalyze收集一些数据。显示全部
可以通过 sqlplus -prelim / as sysdba进入数据库,然后通过ORADEBUG hanganalyze收集一些数据。收起
IT咨询服务 · 2015-09-22
浏览1190
drdb2drdb2系统工程师se
楼上正解还可以看看 http://www.dba-oracle.com/t_conn ... g_prelim_option.htm年初正好碰巧用过一次prelim,这是当时的情况(虽然不是hang situation):$ sqlplus / as sysdbaSQL*Plus: Release 11.2.0.3.0 Production on Mon Jan 5 12:33:40 2015Copyright (c) 1982, 2011,...显示全部
楼上正解
还可以看看 http://www.dba-oracle.com/t_conn ... g_prelim_option.htm

年初正好碰巧用过一次prelim,这是当时的情况(虽然不是hang situation):

$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Mon Jan 5 12:33:40 2015
Copyright (c) 1982, 2011, Oracle.  All rights reserved.
ERROR:
ORA-00020: maximum number of processes (450) exceeded

$ sqlplus -prelim / as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Mon Jan 5 12:38:28 2015
Copyright (c) 1982, 2011, Oracle.  All rights reserved.
SQL> shutdown abort
ORACLE instance shut down.收起
互联网服务 · 2015-09-23
浏览1093

提问者

zyclove2008
数据库运维工程师xsw

相关问题

相关资料

相关文章

问题状态

  • 发布时间:2015-09-18
  • 关注会员:1 人
  • 问题浏览:2518
  • 最近回答:2015-09-23
  • X社区推广