一则事件enq: IV - contention
来源:互联网 发布:湖南科技大学网络缴费 编辑:程序博客网 时间:2024/06/13 22:09
环境:exadata 双节点,oracle版本12.1.0.2
数据库服务器上多个实例出现enq: IV - contention等待事件,发现存在相关bug
In this Document
Symptoms Cause Solution ReferencesAPPLIES TO:
Oracle Database - Enterprise Edition - Version 12.1.0.1 to 12.1.0.2 [Release 12.1]Information in this document applies to any platform.
SYMPTOMS
12c RAC database seeing high "enq: IV - contention":
From awr report:
===================================
Event Waits Total Wait Time (sec) Wait Avg(ms) % DB time Wait Class
enq: IV - contention 52,914 1688.4 31.91 42.8 Other
row cache lock 44,865 896.8 19.99 22.7 Concurrency
tkprof of 10046 trace of SQL statement shows the same event in the top:
---------------------------------------- Waited ---------- ------------
enq: IV - contention 6017 0.32 287.68
row cache lock 957 0.20 7.48
library cache lock 631 0.13 15.10
library cache pin 616 0.11 14.54
CAUSE
Cluster nodes have different CPU count resulting in different number of LMD processes, on one node it has two while on the other it has three.
The issue is due to the following bug:
BUG 21293056 - PERFORMANCE DEGRADATION OF GRANT STATEMENT AFTER 12C UPGRADE
Which is closed as duplicate of:
BUG 21395269 - ASYMMETRICAL LMDS CONFIGURATION IN A CLUSTER LEADS TO POOR MESSAGE TRANSFER
SOLUTION
The fix will be included in future PSU, patch exists for certain platform/version.
The workaround is to set the following parameter to the highest value in the cluster and restart:
To find out the highest value, run the following grep on each node:
通过文章可知,该bug是由于两节点cpu个数不同导致的,顿时觉得差异,按道理讲两台服务器cpu个数采购的时候应该是一致的,
于是查看cpu个数,发现果然不一致。
剩下的事情,其实也不是技术事情。
- 一则事件enq: IV - contention
- enq: TS - contention 等待事件
- enq: TS - contention事件说明
- enq: TX - row lock contention故障处理一则
- enq: TX - row lock contention故障处理一则
- enq: TX - row lock contention 等待事件
- enq: TX - row lock contention 等待事件
- enq: TX - index contention等待事件
- enq: TX - row lock contention 等待事件
- enq: TM - contention 等待事件说明
- enq: TT – contention等待事件
- enq: TM – contention等待事件
- enq:TX-index contention等待事件
- enq: TX - row lock contention 等待事件
- enq: TX - row lock contention 等待事件
- enq: TX - row lock contention等待事件
- 【故障处理】队列等待之enq IV - contention案例
- Oracle enq: TX contention 和 enq: TM contention 等待事件说明
- amq的queue同步和异步接收消息
- Spring并发访问的线程安全性问题
- 2. C语言编译,链接
- 详解 分布式服务框架 Zookeeper
- Struts2 default.properties默认配置说明
- 一则事件enq: IV - contention
- Redis集群安装
- String.valueOf()
- 【腾讯Bugly干货分享】聊聊苹果的Bug - iOS 10 nano_free Crash
- 不要养成将文件放在桌面上的习惯,桌面只是临时存放文件的地方,已丢失
- JSPatch 接入
- GCC常用编译选项
- 完整java开发中JDBC连接数据库代码和步骤
- android开发 分支管理模型