与io相关的等待事件

1、与数据文件相关的io事件

db file sequential read

db file scattered read 

db file parallel read

direct path read

direct path write 

direct path read(lob)

direct path write (lob)

 

2、与控制文件相关的io事件

control file parallel write

control file sequential  read

control file single write

 

3、与redo日志相关的io事件

log file parallel write

log file sync

log file sequential read

log file single write

switch logfile command

log file switch completion

log file switch (clearing log file)

log file switch (checkpoint incomplete)

log switch/archive

log file switch (archiving needed)

 

4、与buffer cache 相关的io事件

 db file parallel write

db file single write 

write  complete waits

free buffer waits

 

consistent gets、db block gets的简单精辟的理解

 
consistent gets:一致性读,为了保持读一致性而获取的块,其中可能包括undo block,也有包括非undo block,而非undo block有有可能包括 buffer cache block ,也有可能包括 disk block。
consistent gets可以简单的理解为,最终的结果集,所获取的块数。

db block gets:其实这个名字可能有点歧义,这个表示 no consistent gets,即非一致性读,
也就是说,一条查询语句发出后,所读的块中,除了consistent gets,就是db block gets,
所以才会有:consistent gets + db block gets = Logical IO 的说法。

physical reads:这个就更好理解了,物理读,就是从磁盘中读取出的 block 数目,这个参数大家的理解都没什么问题。
所以: physical reads =physical IO。
posted @ 2020-09-28 13:23  da0h1  阅读(104)  评论(0编辑  收藏  举报