博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Oracle Internal Event:10200 Consistent Read诊断事件
阅读量:6939 次
发布时间:2019-06-27

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

10200(consistent read buffer status)内部诊断事件可以用于探测一致性读CR(consistent read)块的访问情况,虽然cr读的统计信息可以从v$sysstat或AWR/statspack中获取,但是10200 event还是我们研究Consistent Read一致性读的有力工具。该事件可以通过在会话session级别设置ALTER SESSION SET EVENTS 或 DBMS_SYSTEM.SET_EV. Set 来开启,一般调用级别为Level 10。 该事件返回的trace跟踪文件,记录了为了实现一致性读的目的,哪些数据块以及这些块的各历史版本在执行过程中被创建(CR block creation)并检验(CR block inspection),以找出Best CR block满足Consistent一致性。 注意10200 Internal Event主要是被ktrgtc和ktrget(call ktrget to get one block ->calling KTR layer to apply RBS to have consistent read Block;)这2个Oracle内核功能函数触发,这2个内部函数Internal Function的主要作用: 
ktrget:
  • Initializes a buffer cache CR scan request
  • Calls kcbgtcr for the best resident buffer to start from to build the CR buffer
  • Calls ktrgcm to build the CR buffer by applying undo
  • Returns CR buffer to the requestor
kcbgtcr:
  • If successful, returns the “best” candidate(performed by ktrexf or examination function)
  • Scans the hash bucket for the DBA for buffers that may be used to build a CR buffer
  • If not successful, calls kcbget
  10200 event trace example:  
 

Consistent read started for block 0 : 0040081a

本文转自maclean_007 51CTO博客,原文链接:

http://blog.51cto.com/maclean/1278093

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

你可能感兴趣的文章
Eclipse优化设置教程,Eclipse优化技巧分享
查看>>
独家 | 一文为你解析神经网络(附实例、公式)
查看>>
E25-在线扩盘需要注意的点
查看>>
Java记录 -3- 原生数据类型2
查看>>
关于设置选择条颜色多个ListView之间切换问题解决方案
查看>>
TurboMail邮件系统容灾备份方案
查看>>
linux centos创建共享目录 samba share
查看>>
冒泡排序
查看>>
Apache Calcite官方文档中文版- 进阶-2. 空间(Spatial)
查看>>
从零开始(4)
查看>>
通过XMPP协议实现即时通讯介绍
查看>>
解决无法通过SSH登录BT5的问题
查看>>
Docker 常用命令
查看>>
oracle sql优化(二)
查看>>
http://aoyouzi.iteye.com/blog/2126576
查看>>
mysql 全文索引
查看>>
大多数人缺少的
查看>>
java生成视频缩略图
查看>>
开源License对比分析
查看>>
【Big Data - ELK】ELK(ElasticSearch, Logstash, Kibana)搭建实时日志分析平台
查看>>