LATCH:ROW CACHE OBJECTS

来源:这里教程网 时间:2026-03-03 11:52:49 作者:

查看等待时间,查看产生的地址争用 select p1 ,p1raw,p2 from v$session_wait where event='latch: row cache objects'; 查看该使用地址块的,misses丢失率 select * from v$latch_children where name like '%row cache objects%' 查看row cache 中的对象  column cache#  format 99999 column name  format a33 column latch# format 999999 select distinct s.kqrstcln   latch#,r.cache#,r.parameter name , r.type, r.subordinate#,r.gets from v$rowcache r,x$kqrst s where r.cache#=s.kqrstcid order by 1 , 4 , 5 ; select t.parameter,t.gets,t.getmisses,t.modifications,t.flushes from v$rowcache t where cache#=16; 解决方法:  一、增加shared pool 大小   二、增加PGA大小   三、加大SESSION_CACHED_CURSORS参数

相关推荐