博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
enqueue lock wait等待事件
阅读量:7098 次
发布时间:2019-06-28

本文共 1240 字,大约阅读时间需要 4 分钟。

Enqueues are sophisticated locks for managing access to shared resources like tables, rows, jobs, and redo threads. An enqueue can be requested in different levels/mode: null, row share, row exclusive, share, share row exclusive or exclusive. This wait event indicates a wait for a lock that is held by another session (or sessions) in an incompatible mode to the requested mode. Isolating contention: Once an enqueue resource contention problem has been identified with Ignite, one can quickly isolate the SQL and sessions that are suffering. Often, the SQL is a good clue to what objects have locking contention. During a period of time when locking is typically a problem, use the following query to find out what session is requesting a lock, the type and mode of the requested lock and the session that is blocking. SELECT DECODE(request,0,'Holder: ','Waiter: ')||sid sess, id1, id2, lmode, request, type FROM V$LOCK WHERE (id1, id2, type) IN (SELECT id1, id2, type FROM V$LOCK WHERE request>0) ORDER BY id1, request; Solutions There are many types of locks in Oracle and each has a unique contention remedy. The following are the most common sources of contention: TX

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

转载地址:http://dxeql.baihongyu.com/

你可能感兴趣的文章
1.1 python 安装(Windows)
查看>>
redis分布式锁的具体应用
查看>>
四中居中方法
查看>>
23. Merge K Sorted Lists (Java, 归并排序的思路)
查看>>
转载:JAR包介绍大全用途作用详解JAVA
查看>>
java 操作符(翻译自Java Tutorials)
查看>>
hive实例讲解实现in和not in子句
查看>>
java 线程池
查看>>
element-ui的el-tabel组件怎么使用type=“expand”实现表格嵌套并且在子表格没有数据的时候隐藏展开按钮...
查看>>
SlickUpload使用(一)
查看>>
oracle中向timeStamp类型字段插入当前时间
查看>>
剑指offer第八天
查看>>
HTMLcanvas矩形阵雨 - 学习笔记
查看>>
如何用代码分别获得个十百千位上的数值
查看>>
(六)文件操作
查看>>
2015.01.15 学前端 搞论文提交
查看>>
摇滚吧HTML5!有声前端交互!(一)
查看>>
CentOS7 jdk配置
查看>>
ExtJS获取父子、兄弟容器元素方法
查看>>
docker探索-docker容器基本操作(五)
查看>>