ORACLE共享池管理
执笔画情ora
数据库管理系统
展开
-
Oralce共享池管理-cursor: pin s wait on x
cursor: pin s wait on xA session waits for this event when it is requesting a shared mutex pin and another session is holding an exclusive mutex pin on the same cursor objec(注意在10G之后library cache pin 被mutex取代)说当一个会话请求共享mutex pin的时候,另一个会话正好在同一个游标对象上持有排他pi原创 2020-09-24 11:31:28 · 204 阅读 · 0 评论 -
Oracle共享池管理-cursor: pin S
1 软软解析,堆6 在PGA中过于频繁,导致cursor: pin S如果出现等待了,应该很可能就是该SQL执行的过于频繁。latch在Oracle中是一种低级锁,用于保护内存里的数据结构,提供的是串行访问机制,而mutex是Oracle 10gR2引入的,也是为实现串行访问控制的功能,并替换部分latch。可以通过下面的SQL进行查询:–查询sqlSELECT a.*, s.sql_textFROM vKaTeX parse error: Double subscript at position转载 2020-09-24 11:19:08 · 351 阅读 · 0 评论 -
oracle共享池管理-library cache: mutex X
产生library cache latch原因 The library cache latches protect the cached SQL statements and objects' definitions held inthe library cache within the shared pool. The library cache latch must be ...转载 2019-10-28 23:49:00 · 2265 阅读 · 0 评论 -
ORACLE共享池管理-软软解析
软软解析,是将 执行计划所在堆,也就是子油标堆6(堆描述符)缓存到PGA中(每个进程在创建时分配PGA)。在PGA cache cursor列表中搜索子游标堆6 DS地址,由于是在PGA中搜索,不需要任何得mutex、Latch。...原创 2020-09-23 19:36:28 · 145 阅读 · 0 评论 -
oracle共享池管理-共享池内等待分析-父子游标结构
共享池内存机构图堆>区>chunk父子游标结构:原创 2019-10-12 16:43:46 · 98 阅读 · 0 评论 -
cursor library cache类型的等待事件
【MOS】常见问题:'cursor:mutex ..'/ 'cursor:pin ..'/ 'library cache:mutex ..'类型的等待事件 (文档 ID 1525791.1)适用于:Oracle Database - Enterprise Edition - 版本 10.1.0.2 和更高版本Oracle Database - Standard Edition -...转载 2019-10-29 00:04:37 · 212 阅读 · 0 评论 -
SESSION_CACHED_CURSORS 参数
SESSION_CACHED_CURSORS 参数本文链接:https://blog.csdn.net/wangshengfeng1986211/article/details/6046146 SESSION_CACHED_CURSORS,就是说的是一个session可以缓存多少个cursor,让后续相同的SQL语句不再打开游标,从而避免软解析的过程来提高性能。(绑...转载 2019-10-29 12:35:36 · 2429 阅读 · 0 评论 -
How to Monitor and tune Open and Cached Cursors (Doc ID 1430255.1)
APPLIES TO:Oracle Server - Enterprise Edition - Version 9.2.0.8 to 11.2.0.3 [Release 9.2 to 11.2]Information in this document applies to any platform.GOALThis article deals with monitoring and ...转载 2019-10-31 13:48:12 · 110 阅读 · 0 评论 -
Bug 21135007 - Value of statistic "session cursor cache count" exceeds value of database parameter s
Bug 21135007 - Value of statistic "session cursor cache count" exceeds value of database parameter session_cached_cursors (文档 ID 21135007.8) SQL> SELECT cach.value cache_hits, prs.value...翻译 2019-11-01 11:07:50 · 137 阅读 · 0 评论