最新文章专题视频专题问答1问答10问答100问答1000问答2000关键字专题1关键字专题50关键字专题500关键字专题1500TAG最新视频文章推荐1 推荐3 推荐5 推荐7 推荐9 推荐11 推荐13 推荐15 推荐17 推荐19 推荐21 推荐23 推荐25 推荐27 推荐29 推荐31 推荐33 推荐35 推荐37视频文章20视频文章30视频文章40视频文章50视频文章60 视频文章70视频文章80视频文章90视频文章100视频文章120视频文章140 视频2关键字专题关键字专题tag2tag3文章专题文章专题2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章专题3
当前位置: 首页 - 科技 - 知识百科 - 正文

重现Oracle数据库Hang住的情况

来源:动视网 责编:小采 时间:2020-11-09 10:49:57
文档

重现Oracle数据库Hang住的情况

重现Oracle数据库Hang住的情况:What is the Oracle Diagnostic Methodology (ODM) [ID 312789.1] ODM TEST: 查询语句: select to_number(addr, What is the Oracle Diagnostic Methodology (ODM) [ID 312789.1] ODM TEST:
推荐度:
导读重现Oracle数据库Hang住的情况:What is the Oracle Diagnostic Methodology (ODM) [ID 312789.1] ODM TEST: 查询语句: select to_number(addr, What is the Oracle Diagnostic Methodology (ODM) [ID 312789.1] ODM TEST:


What is the Oracle Diagnostic Methodology (ODM)? [ID 312789.1] ODM TEST: 查询语句: select to_number(addr,

What is the Oracle Diagnostic Methodology (ODM)? [ID 312789.1]

ODM TEST:

查询语句:

select to_number(addr,'xxxxxxxxxxxxxxxx') from v$latch_parent where;
select name from v$latch_parent where name like '%library%';
select name from v$latch_children where name like '%library%';
select name from v$latch_parent where name like '%process%';

session A:

[oracle@resoft ~]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.3.0 Production on Fri Apr 12 22:52:42 2013

Copyright (c) 1982, 2011, Oracle. All rights reserved.

Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> select to_number(addr,'xxxxxxxxxxxxxxxx') from v$latch_parent where;

TO_NUMBER(ADDR,'XXXXXXXXXXXXXXXX')
----------------------------------
536896888

SQL> select pid,program from v$process;

PID PROGRAM
---------- ------------------------------------------------
1 PSEUDO
2 oracle@resoft (PMON)
3 oracle@resoft (PSP0)
4 oracle@resoft (VKTM)
5 oracle@resoft (GEN0)
6 oracle@resoft (DIAG)
7 oracle@resoft (DBRM)
8 oracle@resoft (DIA0)
9 oracle@resoft (MMAN)
10 oracle@resoft (DBW0)
11 oracle@resoft (LGWR)

PID PROGRAM
---------- ------------------------------------------------
12 oracle@resoft (CKPT)
13 oracle@resoft (SMON)
14 oracle@resoft (RECO)
15 oracle@resoft (MMON)
16 oracle@resoft (MMNL)
17 oracle@resoft (D000)
18 oracle@resoft (S000)
19 oracle@resoft (TNS V1-V3)
20 oracle@resoft (QMNC)
21 oracle@resoft (Q000)
22 oracle@resoft (Q001)

PID PROGRAM
---------- ------------------------------------------------
23 oracle@resoft (SMCO)
24 oracle@resoft (VKRM)
25 oracle@resoft (CJQ0)
26 oracle@resoft (W000)
27 oracle@resoft (TNS V1-V3)
28 oracle@resoft (W001)

SQL> oradebug setorapid 2;
Oracle pid: 2, Unix process pid: 2770, image: oracle@resoft (PMON)

SQL> oradebug suspend;
Statement processed.

此时仍可以登录成功

[oracle@resoft ~]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.3.0 Production on Fri Apr 12 23:01:31 2013

Copyright (c) 1982, 2011, Oracle. All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

session A:
SQL> oradebug call kslgetl 536896888 1;
Function returned 1

此时,已经不能使用任何用户登录。

[oracle@resoft ~]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.3.0 Production on Fri Apr 12 23:03:37 2013

Copyright (c) 1982, 2011, Oracle. All rights reserved.

文档

重现Oracle数据库Hang住的情况

重现Oracle数据库Hang住的情况:What is the Oracle Diagnostic Methodology (ODM) [ID 312789.1] ODM TEST: 查询语句: select to_number(addr, What is the Oracle Diagnostic Methodology (ODM) [ID 312789.1] ODM TEST:
推荐度:
  • 热门焦点

最新推荐

猜你喜欢

热门推荐

专题
Top