- 最后登录
- 2015-4-12
- 在线时间
- 53 小时
- 威望
- 39
- 金钱
- 411
- 注册时间
- 2011-10-13
- 阅读权限
- 10
- 帖子
- 27
- 精华
- 0
- 积分
- 39
- UID
- 27
|
1#
发表于 2013-4-10 14:17:42
|
查看: 6613 |
回复: 6
本帖最后由 makaveli 于 2013-4-10 15:30 编辑
有一套两节点11.1.0.7 rac solaris asm的数据库alert日志报如下错误:
Transaction recovery: lock conflict caught and ignored
通过查看v$fast_start_transactions视图发现一只有个transaction在recovering,但是一直都没成功.查看等待事件发现smon处于dfs lock handle,已经修改fast_start_parallel_rollback为false,想请教下现在能如何确定这些recover的事务能够rollback成功?- select * from v$fast_start_transactions;
- --
- USN SLT SEQ STATE UNDOBLOCKSDONE UNDOBLOCKSTOTAL PID CPUTIME PARENTUSN PARENTSLT PARENTSEQ XID PXID RCVSERVERS
- 1 10 19 9816080 RECOVERING 0 138563 683616 000A00130095C810 0
复制代码- select ktuxeusn usn,
- ktuxeslt slot,
- ktuxesqn seq,
- ktuxesta state,
- ktuxesiz undo
- from x$ktuxe a
- where ktuxesta <> 'INACTIVE'
- and ktuxecfl like '%DEAD%'
- order by ktuxesiz asc;
- --
- USN SLOT SEQ STATE UNDO
- 10 19 9816080 ACTIVE 138563
- select useg.segment_name,
- useg.segment_id,
- useg.tablespace_name,
- useg.status
- from dba_rollback_segs useg
- where useg.segment_id in
- (select ktuxeusn usn
- from x$ktuxe a
- where ktuxesta <> 'INACTIVE'
- and ktuxecfl like '%DEAD%')
- --
- SEGMENT_NAME SEGMENT_ID TABLESPACE_NAME STATUS
- _SYSSMU10_1265347054$ 10 UNDOTBS1 ONLINE
- --
- select rl.usn,rl.name from v$rollname rl where usn in (select ktuxeusn usn
- from x$ktuxe a
- where ktuxesta <> 'INACTIVE'
- and ktuxecfl like '%DEAD%')
- --
- USN NAME
- 10 _SYSSMU10_1265347054$
- --
- select p1,chr(bitand(1413545989,-16777216)/16777215) ||
- chr(bitand(1413545989,16711680)/65535) "LOCK",
- to_char(bitand(1413545989,65535)) "mode",
- p2,
- p3,
- seconds_in_wait
- from v$session_wait a
- where a.EVENT = 'DFS lock handle';
-
- LOCK mode P2 P3 SECONDS_IN_WAIT
- 1 TA 5 3 28 0
- --
- select b.name useg,b.inst# inst#,b.status$ status,a.ktuxeusn xid_usn,a.ktuxeslt xid_slot,a.ktuxesqn xid_seq,a.ktuxesiz undoblocks,a.ktuxesta txstatus
- from x$ktuxe a,undo$ b
- where ktuxesta <> 'INACTIVE'
- and ktuxecfl like '%DEAD%'
- and a.ktuxeusn=b.us#
-
- USEG INST# STATUS XID_USN XID_SLOT XID_SEQ UNDOBLOCKS TXSTATUS
- 1 _SYSSMU10_1265347054$ 1 3 10 19 9816080 138563 ACTIVE
复制代码 _SYSSMU10_1265347054$ undo header信息上传附件了。
|
|