row cache lock
SQL> col name format a30
SQL> select * from (select SAMPLE_TIME,
SESSION_ID,
NAME,
P1,
P2,
P3,
ash.BLOCKING_SESSION
from v$active_session_history ash, v$event_name enm
where ash.event# = enm.event#
and enm.NAME='row cache lock')
where rownum<10; 2 3 4 5 6 7 8 9 10 11 SAMPLE_TIME SESSION_ID NAME P1 P2 P3 BLOCKING_SESSION
--------------------------------------------------------------------------- ---------- ------------------------------ ---------- ---------- ---------- ----- -----------
15-APR-14 07.48.08.840 PM 22 row cache lock 13 0 5
15-APR-14 07.45.49.883 PM 1159 row cache lock 13 0 5
15-APR-14 07.44.12.569 PM 25 row cache lock 13 0 5 ROW CACHE LOCK等待事件是一个共享池相关的等待事件。是由于对于字典缓冲的访问造成的。
P1 – Cache Id
P2 – Mode Held
P3 – Mode Requested SQL查询
--查询row cache lock等待
select * from v$session_wait where wait_class = 'row cache lock'; --查询rowcache 名称
select * from v$rowcache where cache# = &p1; DC_SEQUENCES
Check for appropriate caching of sequences for the application requirements. DC_USERS
Deadlock and resulting “WAITED TOO LONG FOR A ROW CACHE ENQUEUE LOCK!” can occur if a session issues a GRANT to a user, and that user is in the process of logging on to the database. DC_SEGMENTS
This is likely to be down to segment allocation. Identify what the session holding the enqueue is doing and use errorstacks to diagnose. DB_ROLLBACK_SEGMENTS
This is due to rollback segment allocation. Just like dc_segments,identify what is holding the enqueue and also generate errorstacks. Remember that on a multi-node system (RAC) the holder may be on another node and so multiple systemstates from each node will be required. DC_AWR_CONTROL
This enqueue is related to control of the Automatic Workload Repository. As such any operation manipulating the repository may hold this so look for processes blocking these. SQL> select a.cache#,a.PARAMETER from v$rowcache a where cache# =13; CACHE# PARAMETER
---------- --------------------------------
13 dc_sequences
row cache lock的更多相关文章
- 【等待事件】序列等待事件总结(enq: SQ - contention、row cache lock、DFS lock handle和enq: SV - contention)
		
[等待事件]序列等待事件总结(enq: SQ - contention.row cache lock.DFS lock handle和enq: SV - contention) 1 BLOG文档结 ...
 - Sessions Hang on row cache lock
		
Sessions Hang on "row cache lock" (dc_objects) While Creating & Dropping a Table Concu ...
 - 关于library cache lock和row cache lock产生的常见原因
		
这两个等待事件其实很少出现在top5列表中,一般都没什么印象,在此整理记录以便以后查阅. 常见的library cache lock产生的原因在<高级OWI与Oracle性能调查>这本书和 ...
 - 【转载】row cache lock
		
转自:http://blog.itpub.net/26736162/viewspace-2139754/ 定位的办法: --查询row cache lock等待 select event,p1 ...
 - Database hang and Row Cache Lock concurrency troubleshooting
		
http://www.dadbm.com/database-hang-row-cache-lock-concurrency-troubleshooting/ Issue backgroundThis ...
 - bug 7715339 登录失败触发 ‘row cache lock’ 等待
		
Bug 7715339 - Logon failures causes "row cache lock" waits - Allow disable of logon delay ...
 - library cache lock和cursor: pin S wait on X等待
		
1.现象: 客户10.2.0.4 RAC环境,出现大量的library cache lock和cursor: pin S wait on X等待,经分析是由于统计信息收集僵死导致的.数据库在8点到9点 ...
 - 如何使用event 10049分析定位library cache lock and library cache pin
		
Oracle Library Cache 的 lock 与 pin 说明 一. 相关的基本概念 之前整理了一篇blog,讲了Library Cache 的机制,参考: Oracle Library c ...
 - rac数据库默认sql tuning advisor,导致大量library cache lock
		
rac数据库默认sql tuning advisor,导致大量library cache lock 问题现象:客户反映周六周日固定十点钟,一个程序会特别慢(大概10分钟),平时1到2秒.查看当时的日志 ...
 
随机推荐
- setTimeout中所执行函数中的this,永远指向window
			
注意是要延迟执行的函数中的this哦!! //片段一 setTimeout("alert(this)", 1); // [object Window] //片段二 var obj ...
 - android中画文字的换行 办法(对于遇到canvas.drawText(String s )无法实现换行问题的解决)
			
在使用canvas.drawText()绘制文字的时候,发现,如果需要绘制的文字较长,需要换行,通过在文字中加上“\n"或者”\r\n"都无法实现换行,如果非要使用canvas.d ...
 - oracle中从指定日期中获取月份或者部分数据
			
从指定日期中获取部分数据: 如月份: select to_CHAR(sysdate,'MM') FROM DUAL; 或者: select extract(month from sysdate) fr ...
 - Linux 高可用(HA)集群之keepalived详解
			
http://freeloda.blog.51cto.com/2033581/1280962 大纲 一.前言 二.Keepalived 详解 三.环境准备 四.LVS+Keepalived 实现高可用 ...
 - [Redux] Reducer Composition with combineReducers()
			
Previous, we do composition with objects: const todoApp = (state = {}, action) => { return { todo ...
 - Java实现BASE64编解码
			
Java实现BASE64编解码 作者:chszs,转载需注明.博客主页:http://blog.csdn.net/chszs BASE64和其它类似的编码算法通经常使用于转换二进制数据为文本数据,其目 ...
 - 非对称加密算法RSA--转
			
RSA 这种算法1978年就出现了,它是第一个既能用于数据加密也能用于数字签名的算法.它易于理解和操作,也很流行.算法的名字以发明者的名字命名:Ron Rivest, AdiShamir 和L ...
 - ajax_post方式
			
test_ajax_post.html <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" &quo ...
 - toString结果
			
String[] str = new String[] { "a", "b", "c" }; System.out.println(str) ...
 - GUID的广泛使用
			
GUID(Global unique identifier)全局唯一标识符,它是由网卡上的标识数字(每个网卡都有唯一的标识号)以及 CPU 时钟的唯一数字生成的的一个 16 字节的二进制值. GUID ...