DFS lock handle等待事件

简介:
The session waits for the lock handle of a global lock request on the distributed file system (DFS). It is most common in a parallel server situation.  

Solutions

During a period of wait, use the following SQL statement to retrieve the name of the lock and the mode of the lock request: select chr(bitand(p1,-16777216)/16777215) || chr(bitand(p1, 16711680)/65535) "Lock", to_char(bitand(p1, 65536)) "Mode", p2, p3 , seconds_in_wait from v$session_wait where event = 'DFS lock handle'   Then use the following to identify the requesting session and the blocking session: select inst_id, sid, type, id1, id2, lmode, request, block from gv$lock where type='CI' and id1=9 and id2=5   In this example, use the values from the first query in the where clause. type=Lock, id1=p1 and id2=p2.   Waits of this type generally indicate competition between distributed nodes for data.



本文转自maclean_007 51CTO博客,原文链接:http://blog.51cto.com/maclean/1277869

相关文章
|
Oracle 关系型数据库 数据库
innodb_lock_wait_timeout参数的了解
前言:在管理ORACLE的工作中,经常发现因为锁等待的原因导致应用宕机了。Mysql考虑到自身的性能和架构等因素,InnoDB数据库引擎增加了参数innodb_lock_wait_timeout,避免在资源有限的情况下产生太多的锁等待; 一、innodb_...
3015 0
|
存储 缓存 数据处理
完全揭秘log file sync等待事件
什么是log file sync等待事件呢?在一个提交(commit)十分频繁的数据库中,一般会出现log file sync等待事件,当这个等待事件出现在top5中,这个时侯我们需要针对log file sync等待事件进行优化,一定要尽快分析并解决问题,否则当log file sync等待时间从几毫秒直接到20几毫秒可能导致系统性能急剧下降,甚至会导致短暂的挂起。
完全揭秘log file sync等待事件
|
NoSQL 关系型数据库 MySQL
如何查找到底是谁执行了FTWL导致Waiting for global read lock
在MySQL · 特性分析 · 到底是谁执行了FTWL中 文章中,分析了为何出现大量Waiting for global read lock的连接。但是实际操作起来很多gdb版本不支持pset操作,而且连接过多,导致不可能手动打印每一个THD的state,所以笔者写了一个gdb的脚本供大家使用: 首先,先保存下面脚本到/tmp/getlockconn MySQL8.
2539 0
|
关系型数据库 MySQL
|
SQL 关系型数据库 Oracle