重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 2558|回复: 0
打印 上一主题 下一主题

[Oracle] Cursor Mutex X Wait Events: After Upgrading To 12.2 (文档 ID 2298504.1)

[复制链接]
跳转到指定楼层
楼主
发表于 2018-3-3 17:25:43 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
12.2 的一个坑,大家注意:

In this Document

Symptoms
Changes
Cause
Solution
References



Applies to:   Oracle Database - Enterprise Edition - Version 12.2.0.1 and later
Information in this document applies to any platform.

SymptomsHigh Cursor Mutex X wait events after an upgrade to database 12.2.
The AWR report shows the following:

Top 10 Foreground Events by Total Wait Time

Event              Waits     Total Wait Time (sec)    Avg Wait    % DB time    Wait Class
cursor: mutex X    61,007    3423.4                    56.11ms      57.1       Concurrency
SQL ordered by Version Count

    Only Statements with Version Count greater than 20 are displayed

Version Count     Executions     SQL Id    SQL Module    PDB Name    SQL Text
7,467    38       f0h5rpzmhju11           IPIDEV                     select SYS_CONTEXT('USERENV', ...
3,698             fn0snbuqyccq5           IPIDEV                     SELECT NAME, PATH, READ, WRITE...
3,302             3zmzdajzvjkfw           CDB$ROOT                   select /*+ no_monitor no_state...
3,006             43nuq8ay2jnt7           CDB$ROOT      
2,241             5j7xryzqzqcbk           CDB$ROOT                   SELECT /*jskqjobqlod3*//*+ no_...
1,856             frywjuac2qbbw           CDB$ROOT      
1,533             85waydr30k7fk           CDB$ROOT                   select c.name pdb_name, cp.pr...
1,320             5c24r2fm4b9rh           CDB$ROOT                   SELECT /*jskqjobqlod2*/ /*+ no...
1,032    4        9w50hgp8akpz5           CDB$ROOT                   SELECT /*+ OPT_PARAM('_paralle...


ChangesUpgraded the database to 12.2.0.1.0
CauseThe default value for _cursor_obsolete_threshold is 1024 pre 12.2, but has increased to 8192 in 12.2.

SolutionConsider setting the parameter  _cursor_obsolete_threshold to 1024, the default value for previous versions.
Alter system set "_cursor_obsolete_threshold"=1024

References
NOTE:438755.1 - High SQL Version Counts - Script to determine reason(s)
NOTE:1595092.1 - SRDC - How to Collect Standard Information for a Database Performance Problem
NOTE:1929376.1 - My Oracle Support - Automated Troubleshooting
NOTE:1904807.1 - SRDC - How to Collect Standard Information for an Issue Where 'library cache lock' Waits Are the Primary Waiters on the Database

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-5-19 19:17 , Processed in 0.100015 second(s), 20 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表