11.2.0.1 大量的 Mutex S 并且和Sys.Aud$有关

简介: 今天网友给我一份AWRRPT TOP5如下: cursor: mutex S 71,373,261 295,337 4 73.78 ConcurrencyDB CPU   30,974   7.

今天网友给我一份AWRRPT TOP5如下:

cursor: mutex S 71,373,261 295,337 4 73.78 Concurrency
DB CPU   30,974   7.74  
library cache lock 560,800 18,037 32 4.51 Concurrency
db file sequential read 1,168,603 8,481 7 2.12 User I/O
enq: TX - row lock contention 11 8,106 736927 2.03 Application

 

而TOP Elapsed Time 的语句是

Elapsed Time (s) Executions Elapsed Time per Exec (s) %Total %CPU %IO SQL Id SQL Module SQL Text
326,330.72     81.52 2.86   4vs91dcv7u1p6   insert into sys.aud$( sessioni...

明显这里和审计有关,既然不是用户自己的application sql,第一感觉应该是BUG,然后再metalink找到如下文档,确认是BUG

 

Database Hangs With Excessive Cursor Mutex S Waits Due to Sys.Aud$ Cursors [ID 1423386.1] 转到底部 


--------------------------------------------------------------------------------

修改时间:2012-2-27类型:PROBLEM状态:MODERATED优先级:3 注释 (0)    
 


In this Document
  Symptoms
  Cause
  Solution

 

--------------------------------------------------------------------------------

 

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.

 

Applies to:
Oracle Server - Enterprise Edition - Version: 11.2.0.1 and later   [Release: 11.2 and later ]
Information in this document applies to any platform.

Symptoms

Database  hangs with excessive cursor mutex S waits.

AWR  reports
o Top wait event: cursor: mutex S and library cache lock
o high version count [1526] for sqlid :
4vs91dcv7u1p6 - insert into sys.aud$ ....


Trace file from event errorstack of session that was waiting shows:
o call stack
kksMutexWait kgxWait kgxShared kkshGetNextChild kkscsSearchChildLis kksfbc kkspsc0 kksParseCursor ....

o current sql:
insert into sys.aud( sessionid,entryid,statement,ntimestamp#, userid,userhost,terminal,action#,returncode, obj( sessionid,entryid,statement,ntimestamp#, userid,userhost,terminal,action#,returncode, objcreator,objname,authprivileges,authgrantee,newowner,newname,sesactions,sestid,logoffpread, logofflwrite,logoffdead,commenttext,spare1,spare2,privused,clientid,sessioncpu,proxysid,userguid, instance#,process#,xid,scn,auditid, sqlbind,sqltext,obj$edition,dbid) values(:1,:2,:3,SYS_EXTRACT_UTC(SYSTIMESTAMP), :4,:5,:6,:7,:8, :9,:10,:11,:12, :13,:14,:15,:16,:17, :18,:19,:20,:21,:22, :23,:24,:25,:26,:27, :28,:29,:30,:31,:32, :33,:34,:35,:36)

Cause

Issue is similar to the report in:
Bug 11936699
Abstract: WAIT TIME OF LIBRARY CACHE LOCK INCREASES DUE TO MANY CHILD CURSORS OF SYS.AUD$

 


Solution
 Apply patches: 10151017,  9944129, and 10636231 if available for version / platform
OR
Apply 11.2.0.3 patchset which includes all 3 fixes


    相关内容 … 
  

   产品 … 
  

•Oracle Database Products > Oracle Database > Oracle Database > Oracle Server - Enterprise Edition > RDBMS > Database Level Performance Issues (not SQL Tuning)
   关键字 … 
  

HIGH VERSION COUNT;MUTEX;SYS.AUD$

 

安装补丁即可

目录
打赏
0
0
0
0
91
分享
相关文章
[20140605]移动sys.aud$到别的表空间.txt
[20140605]移动sys.aud$到别的表空间.txt 11GR2下,缺省的audit_trail=DB,另外用户的logon与logoff都记录。这样在生产系统记录会很大。
715 0
system.dll,Nskhelper2.sys,oapejg.sys,991b0345.dat,NsPass0.sys等1
system.dll,Nskhelper2.sys,oapejg.sys,991b0345.dat,NsPass0.sys等1
sys.argv[]使用
sys.argv[]说白了就是一个从程序外部获取参数的桥梁,这个“外部”很关键,所以那些试图从代码来说明它作用的解释一直没看明白。因为我们从外部取得的参数可以是多个,所以获得的是一个列表(list),也就是说sys.argv其实可以看作是一个列表,所以才能用[]提取其中的元素。
1009 0
boost.asio系列——Timer
同步Timer   asio中提供的timer名为deadline_timer,它提供了超时计时的功能。首先以一个最简单的同步Timer为例来演示如何使用它。     #include     #include     int main()    {        boost::asio::i...
1295 0
boost.asio系列——buffer
创建buffer   在io操作中,对数据的读写大都是在一个缓冲区上进行的,在asio框架中,可以通过asio::buffer函数创建一个缓冲区来提供数据的读写。buffer函数本身并不申请内存,只是提供了一个对现有内存的封装。
1129 0
Android JNI 报错(signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr )
Android JNI 报错(signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr )
1426 1
Boost.Asio的使用技巧
基本概念 Asio proactor I/O服务 work类 run() vs poll() stop() post() vs dispatch() buffer类 缓冲区管理 I/O对象 socket 信号处理 定时器 strand 参考 最近尝试使用了一下Boost.Asio,不知道是否因为各大公司都有自己相对成熟的网络库的缘故,网络上Asio相关的资料实在不多,而且很多翻来覆去就是那几个简单的示例,所以打算自己小结一下。
4224 0
SYS.MON_MODSSYS.MONMODSALL和DBA_TAB_MODIFICATIONS
SYS.MON_MODSSYS.MONMODSALL和DBA_TAB_MODIFICATIONS MON_MODSMONMODSALL统计DML操作次数 发表于 2013 年 05 月 03 日 由 惜分飞 ...
1713 0
Don't know how to define struct flock on this system, set --enable-opcach=no
<p>     报错:</p> <p><code class="python plain" style="line-height:13.1875px; white-space:nowrap; padding:0px!important; margin:0px!important; border:0px!important; bottom:auto!important; float:non
3596 0
AI助理

你好,我是AI助理

可以解答问题、推荐解决方案等