- 最后登录
- 2014-5-26
- 在线时间
- 3 小时
- 威望
- 0
- 金钱
- 15
- 注册时间
- 2013-8-15
- 阅读权限
- 10
- 帖子
- 4
- 精华
- 0
- 积分
- 0
- UID
- 1185
|
1#
发表于 2013-8-19 10:21:51
|
查看: 4011 |
回复: 1
本帖最后由 dba01 于 2013-8-19 10:28 编辑
hi
ML
数据库在今天发生了Global Enqueue Services Deadlock detected. More info in file 我查看dump 文件有这样一段信息,能否告诉我们这一段信息各代表什么含义吗? 如果您有时间的话希望您能帮我看一下Global Enqueue Services Deadlock detected. More info in file 问题 需要什么我提供过来.
万分感谢
----------enqueue 0xc0000006f74b0f90------------------------
lock version : 47383575
Owner node : 1
grant_level : KJUSERNL
req_level : KJUSEREX
bast_level : KJUSERNL
notify_func : 0x0000000000000000
resp : 0xc0000006aeedd220
procp : 0xc0000006f84e8720
pid : 3310
proc version : 55
oprocp : 0x0000000000000000
opid : 0
group lock owner : 0xc0000006fabb9ad8
possible pid : 3310
xid : 200E-00E0-0000217D
dd_time : 57.0 secs
dd_count : 1
timeout : 0.0 secs
On_timer_q? : N
On_dd_q? : Y
lock_state : OPENING CONVERTING
Open Options : KJUSERDEADLOCK
Convert options : KJUSERGETVALUE
History : 0x49a5149a
Msg_Seq : 0x0
res_seq : 660
valblk : 0x00000000000000000000000000000000 .
DUMP LOCAL BLOCKER: initiate state dump for DEADLOCK
possible owner[224.3310] on resource TX-00200006-00DFD40B
Submitting asynchronized dump request [28]
Dump request queue has reached its maximum 50
Global blockers dump end:-----------------------------------
Global Wait-For-Graph(WFG) at ddTS[0.5bbd] :
BLOCKED c0000006f74b0f90 5 wq 2 cvtops x1 [0x200006][0xdfd40b],[TX] [200E-00E0-0000217D] 1
BLOCKER c0000006f8c57d70 5 wq 1 cvtops x28 [0x200006][0xdfd40b],[TX] [101B-01B0-0000BBEE] 0
BLOCKED c0000006f70d1e38 5 wq 2 cvtops x1 [0x21002f][0x1bb2d42],[TX] [101B-01B0-0000BBEE] 0
BLOCKER c0000006f60d0f98 5 wq 2 cvtops x1 [0x21002f][0x1bb2d42],[TX] [100E-00EB-00085A26] 0
BLOCKED c0000006f60d0f98 5 wq 2 cvtops x1 [0x21002f][0x1bb2d42],[TX] [100E-00EB-00085A26] 0
另外我通过数据库dba_hist_active_sess_history 查找出一些问题,我的思路如下,但不知这样查找问题是否正确,
1.对应时间段的snap_id ,event 查找
select sample_time,
session_id,
event,
sql_id,
blocking_session,
from dba_hist_active_sess_history
where snap_id = 23155
and event = 'enq: TX - row lock contention'
and blocking_session is not null
2.对应blocking_session 查找堵塞对象发现堵塞与执行的sql_id 相同,(是否为互锁)- select current_obj#,current_file#,current_block#,sample_time,session_id,sql_id,blocking_session from dba_hist_active_sess_history where snap_id=23155 and session_id=1660
复制代码
3.查找sql_id得到sql内容为- DELETE FROM TL_WAP_ATTACHCODE where attach_key =:1
复制代码 |
|