Oracle动态性能视图学习笔记(8)_v$waitstat
目录
参考文档<
>Chapter 24
##################################################################
1 Overview
##################################################################
This view keeps a summary all buffer waits since instance startup. It is useful for breaking
downing the waits by class if you see a large number of buffer busy waits on the system.
描述关于Buffer Waits的信息。
##################################################################
2 Userful Columns for v$session
##################################################################
1) Class: Class of block(data segment header, undo segment header, data block)
在Buffer Cache中的数据块类型就只有这三种??
不是的
select distinct class from v$waitstat;
2) Waits: Number of waits for this class of blocks.
3) Time: Total time waited for this class of block
##################################################################
3 Reason for waits 出现Buffer Cache等待的原因
##################################################################
1) Undo Segment header: not enough rollback segments
2) Data segment header/freelist: freelist contention
3) Data block
4) Large number of CR clones for the buffer
5) Range scan on indexes with large number of deletions.
6) Full table scans on tables with large number of deleted rows
7) Blocks with high concurrency
(什么时候会出现这现象呢?如何来模拟测试呢?)
需要结合等待事件来进一步学习。
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/10248702/viewspace-669519/
,如需转载,请注明出处,否则将追究法律责任。