- 最后登录
- 2015-8-26
- 在线时间
- 34 小时
- 威望
- 7
- 金钱
- 240
- 注册时间
- 2013-3-18
- 阅读权限
- 10
- 帖子
- 36
- 精华
- 0
- 积分
- 7
- UID
- 978
|
1#
发表于 2013-8-30 00:30:33
|
查看: 4944 |
回复: 4
大家好:
环境是10.2.0.5.12 aix 6.1
目前存在的问题是,awr功能hang住。其实简单一下就是,下面这条SQL
select * from WRH$_SQL_PLAN where rowid=DBMS_ROWID.ROWID_CREATE(1,8989,3,162822,0);
在1节点上能正常访问,而在2节点上面切出现了gc cr request等待。
下面是1节点
SQL> select * from WRH$_SQL_PLAN where rowid=DBMS_ROWID.ROWID_CREATE(1,8989,3,162822,0);
SNAP_ID DBID SQL_ID PLAN_HASH_VALUE ID OPERATION OPTIONS
---------- ---------- ------------------ --------------- ---------- ------------------------------ ------------------------------
OBJECT_NODE OBJECT# OBJECT_OWNER
-------------------------------------------------------------------------------------------------------------------------------- ---------- ------------------------------
OBJECT_NAME OBJECT_ALIAS OBJECT_TYPE OPTIMIZER PARENT_ID DEPTH POSITION SEARCH_COLUMNS COST
------------------------------- ----------------------------------------------------------------- -------------------- -------------------- ---------- ---------- ---------- -------------- ----------
CARDINALITY BYTES OTHER_TAG
可以正常访问。
下面是2节点
select * from WRH$_SQL_PLAN where rowid=DBMS_ROWID.ROWID_CREATE(1,8989,3,162822,0);
一直不还回,通过event看到gc cr request等待,通过10046看到的是
WAIT #6: nam='gc cr block lost' ela= 844446 p1=3 p2=162822 p3=1 obj#=8989 tim=6010923969199
WAIT #6: nam='cr request retry' ela= 4 file#=3 block#=162822 p3=0 obj#=8989 tim=6010923969336
WAIT #6: nam='gc cr block lost' ela= 388785 p1=3 p2=162822 p3=1 obj#=8989 tim=6010924358255
WAIT #6: nam='cr request retry' ela= 3 file#=3 block#=162822 p3=0 obj#=8989 tim=6010924358385
WAIT #6: nam='gc cr block lost' ela= 825706 p1=3 p2=162822 p3=1 obj#=8989 tim=6010925184236
WAIT #6: nam='cr request retry' ela= 4 file#=3 block#=162822 p3=0 obj#=8989 tim=6010925184359
WAIT #6: nam='gc cr block lost' ela= 829845 p1=3 p2=162822 p3=1 obj#=8989 tim=6010926014338
WAIT #6: nam='cr request retry' ela= 4 file#=3 block#=162822 p3=0 obj#=8989 tim=6010926014467
WAIT #6: nam='gc cr block lost' ela= 846922 p1=3 p2=162822 p3=1 obj#=8989 tim=6010926861518
WAIT #6: nam='cr request retry' ela= 3 file#=3 block#=162822 p3=0 obj#=8989 tim=6010926861640
WAIT #6: nam='gc cr block lost' ela= 831026 p1=3 p2=162822 p3=1 obj#=8989 tim=6010927692791
WAIT #6: nam='cr request retry' ela= 7 file#=3 block#=162822 p3=0 obj#=8989 tim=6010927692917
WAIT #6: nam='gc cr block lost' ela= 441770 p1=3 p2=162822 p3=1 obj#=8989 tim=6010928134789
WAIT #6: nam='cr request retry' ela= 3 file#=3 block#=162822 p3=0 obj#=8989 tim=6010928134921
WAIT #6: nam='gc cr block lost' ela= 922933 p1=3 p2=162822 p3=1 obj#=8989 tim=6010929057977
WAIT #6: nam='cr request retry' ela= 4 file#=3 block#=162822 p3=0 obj#=8989 tim=6010929058108
不知道是什么原因导致的。还请大家帮忙分析一下。
ml也可以见我开的SR:
your Service Request Number 3-7723737691
|
|