ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 等待事件--read by other session

等待事件--read by other session

原创 Linux操作系统 作者:lsq_008 时间:2010-06-01 15:46:51 0 删除 编辑

最近一个生产库里出现大量db file scattered read和read by other session的等待,看了一下相关sql,都是对一个大表做全表扫描,10g官方文档里关于read by other session的解释如下:

read by other session

This event occurs when a session requests a buffer that is currently being read into the buffer cache by another session. Prior to release 10.1, waits for this event were grouped with the other reasons for waiting for buffers under the ‘buffer busy wait’ event

可见,在10g以前的版本中该事件表现为buffer busy wait,而10g中关于buffer busy wait等待的说明似乎还没有更新:

buffer busy waits

Wait until a buffer becomes available. This event happens because a buffer is either being read into the buffer cache by another session (and the session is waiting for that read to complete) or the buffer is the buffer cache, but in a incompatible mode (that is, some other session is changing the buffer).

到10g的数据库上看,大部分等待来自于第一个原因

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/10972173/viewspace-664178/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
十余年大型金融及电信系统数据库管理经验,曾服务于中国建设银行、中国移动。对oracle,mysql数据库有深入了解。 擅长python开发,独立开发了开源数据库自动化监控运维平台Power Monitor。

注册时间:2008-02-29

  • 博文量
    335
  • 访问量
    1369143