遇到latch: row cache objects等待事件
2017-08-31 17:54
477 查看
遇到latch: row cache objects等待事件:
前台业务说很慢,于是检查等待事件:
参考文档:
WAITEVENT: "latch: row cache objects" Reference Note (文档 ID 1550722.1)
然后去查询sid=300的session,没有查到:
select sid,serial#,status,state,event,machine,program from v$session where sid=300;
然后再去查询等待事件: select inst_id,event,count(1) from gv$session where wait_class#<> 6 group by inst_id,event order by 1,3;
发现已经没有latch: row cache objects 这个等待事件了...
估计sid=300的session退出了.
前台业务说很慢,于是检查等待事件:
参考文档:
WAITEVENT: "latch: row cache objects" Reference Note (文档 ID 1550722.1)
SQL> select inst_id,event,count(1) from gv$session where wait_class#<> 6 group by inst_id,event order by 1,3; INST_ID EVENT COUNT(1) ---------- ---------------------------------------------------------------- ---------- 1 control file parallel write 1 1 SQL*Net message to client 1 1 reliable message 1 1 direct path read 2 1 Standby redo I/O 2 1 latch: row cache objects 164 SQL>
SQL> select count(*),P1RAW from v$session where event = 'latch: row cache objects' group by P1RAW; COUNT(*) P1RAW ---------- ---------------- 122 0000000E364A3470 SQL> SELECT 2 kqrsttxt PARAMETER, 3 -- kqrstcid CACHE#, 4 kqrstcln "Lchild#", 5 kqrstgrq "DCGets", 6 l.gets "LGets", 7 l.misses "Misses" 8 FROM X$KQRST, V$LATCH_CHILDREN l 9 WHERE l.addr='&P1RAW' 10 and l.child#=KQRSTCLN 11 ORDER BY 1,2 12 ; Enter value for p1raw: 0000000E364A3470 old 9: WHERE l.addr='&P1RAW' new 9: WHERE l.addr='0000000E364A3470' PARAMETER Lchild# DCGets LGets Misses -------------------------------- ---------- ---------- ---------- ---------- dc_rollback_segments 1 986621136 2959867775 1557382997 SQL>
SQL> select * from V$LATCHHOLDER; PID SID LADDR NAME GETS ---------- ---------- ---------------- -------------------- ---------- 292 300 0000000E364A3470 row cache objects 3130388543
然后去查询sid=300的session,没有查到:
select sid,serial#,status,state,event,machine,program from v$session where sid=300;
然后再去查询等待事件: select inst_id,event,count(1) from gv$session where wait_class#<> 6 group by inst_id,event order by 1,3;
发现已经没有latch: row cache objects 这个等待事件了...
估计sid=300的session退出了.
相关文章推荐
- latch: row cache objects等待事件
- latch row cache objects 等待事件 说明
- latch: row cache objects等待事件
- Oracle 11.2.0.3数据库CJQ进程造成row cache lock等待事件影响job无法停止问题分析
- cache buffers LRU chain latch等待事件
- latch:row cache objects
- enq:SQ contention / row cache lock / DFS lock handle(SV) 等待事件 说明【转自dave偶像大神】
- cache buffers chains latch等待事件
- Oracle latch: row cache objects系统整体慢
- row cache objects latch研究
- enq:SQ contention / row cache lock / DFS lock handle(SV) 等待事件 说明
- Oracle buffer cache与相关的latch等待事件
- latch: row cache objects
- Latch Row Cache Objects基本信息的确认
- latch:cache buffers chain等待事件。
- latch: row cache objects造成系统不可用
- Latch Row Cache Objects基本信息的确认
- enq:SQ contention / row cache lock / DFS lock handle(SV) 等待事件 说明
- cache buffers LRU chain latch等待事件
- Latch: cache buffer chains等待事件的学习