[20180316]理解db file parallel read等待事件.txt

--//一直对db file parallel read等待事件不理解,因为在实际系统中很少遇到这样的等待事件.

SCOTT@book> @ &r/ver1
PORT_STRING                    VERSION        BANNER
------------------------------ -------------- --------------------------------------------------------------------------------
x86_64/Linux 2.4.xx            11.2.0.4.0     Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production

SCOTT@test01p> @ ev_name 'db file parallel read'
EVENT#   EVENT_ID NAME                  PARAMETER1 PARAMETER2 PARAMETER3 WAIT_CLASS_ID WAIT_CLASS# WAIT_CLASS
------ ---------- --------------------- ---------- ---------- ---------- ------------- ----------- --------------------
   152  834992820 db file parallel read files      blocks     requests      1740759767           8 User I/O

--//参数1,2,3对应的files,blocks,requests.非常的不明确.

https://docs.oracle.com/cd/E11882_01/server.112/e40402/waitevents003.htm#REFRN00531

db file parallel read

This happens during recovery. It can also happen during buffer prefetching, as an optimization (rather than performing
multiple single-block reads). Database blocks that need to be changed as part of recovery are read in parallel from the
database.

Wait Time: Wait until all of the I/Os are completed
------------------------------------------------------------------------------------------------
Parameter     Description
------------------------------------------------------------------------------------------------
files         This indicates the number of files to which the session is reading
blocks        This indicates the total number of blocks to be read
requests      This indicates the total number of I/O requests, which will be the same as blocks
------------------------------------------------------------------------------------------------

--//这里实际上参数P1是files值读文件的数量.而不是文件号.
--//P2,读取的数据块数量.注意读取的块可以不连续.
--//P3.requests .理论应该等于P2的数值.

--//按照文档介绍发生在This happens during recovery. It can also happen during buffer prefetching, as an optimization
--//(rather than performing multiple single-block reads).

--//如何测试呢?一般awr报表很难出现这个等待事件.留待下个星期测试.12c的TABLE ACCESS BY INDEX ROWID BATCHED特性会出现这个等待事件.
--//回家测试看看.

最新文章

  1. 第2月第1天 GCDAsyncSocket dispatch_source_set_event_handler
  2. pip安装教程
  3. 转 如何理解 重要性采样(importance sampling)
  4. Xcode7 制作通用的framework(转)
  5. 移动开发:初学 iOS-UIViewController 心得
  6. INF文件
  7. Android Dev
  8. mount, findmnt,df命令
  9. idea git 注意事项
  10. mybatis配置方法
  11. web容器启动顺序
  12. 最近提交一个mysql5.7的bug,提醒自己以后注意写SQL要规范
  13. Api管家系列(二):编辑和继承Class
  14. 管理mysql数据的两条sql tips
  15. C#安全加密类
  16. Jmeter 同一个测试计划下的多个线程组 执行顺序 希望调整为顺序执行
  17. 开源项目之防火墙 tdifw
  18. GetSystemMetrics()函数的用法 转
  19. C++中typedef和#define简介
  20. [转]nginx启动期都做了哪些事

热门文章

  1. scrapy 框架入门
  2. C# 对密码等数据进行对称性加密解密
  3. Hadoop生态系统之HDFS
  4. 001. Asp.Net Routing与MVC 之(基础知识):URL
  5. OkHttp3 简述
  6. wxformbuilder在python如何使用
  7. Android 系统内核层与 Linux Kernel 的比较
  8. mysql使其支持插入中文数据的办法
  9. Spring Boot + Spring Cloud 实现权限管理系统 后端篇(十八):注册中心(Spring Cloud Consul)
  10. Spring Boot + Spring Cloud 构建微服务系统(三):服务消费和负载(Feign)