- 最后登录
- 2013-11-14
- 在线时间
- 104 小时
- 威望
- 999
- 金钱
- 271
- 注册时间
- 2013-1-9
- 阅读权限
- 70
- 帖子
- 63
- 精华
- 0
- 积分
- 999
- UID
- 855
|
6#
发表于 2013-2-17 15:41:53
本帖最后由 Stone 于 2013-2-17 15:51 编辑
Maclean Liu(刘相兵 发表于 2013-2-17 14:23
举一个例子:
2小时的一个AWR 快照 , 8k block size
适当补充下 :)
我顺便看了下手头上的一个库的awr
Release: 11.1.0.7.0
Platform: Linux x86 64-bit
两部分的数据分别来自Load Profile 和 Instance Activity Stats- 1) Load Profile
- Per Second Per Transaction Per Exec Per Call
- Physical reads: 981.8 2,561.5
- Physical writes: 233.6 609.4
- 2) Instance Activity Stats
- Statistic Total per Second per Trans
- physical reads 14,113,562 981.77 2,561.45
- physical reads cache 2,845,304 197.93 516.39
- physical reads direct 11,268,258 783.84 2,045.06
- physical reads ≈ physical reads direct + physical reads cache
- physical writes 3,357,509 233.56 609.35
- physical writes direct 3,238,135 225.25 587.68
- physical writes from cache 119,374 8.30 21.66
- physical writes = physical writes direct + physical writes from cache
- 981.8 ~ 981.77
- 233.6 ~ 233.56 (四舍五入)
复制代码 另外Oracle的这篇解释感觉不错:
http://docs.oracle.com/cd/B19306_01/server.102/b14237/stats002.htm- physical reads
- Total number of data blocks read from disk. This value can be greater than the value of "physical reads direct" plus "physical reads cache" as reads into process private buffers also included in this statistic.
- physical reads cache
- Total number of data blocks read from disk into the buffer cache. This is a subset of "physical reads" statistic.
-
- physical reads direct
- Number of reads directly from disk, bypassing the buffer cache. For example, in high bandwidth, data-intensive operations such as parallel query, reads of disk blocks bypass the buffer cache to maximize transfer rates and to prevent the premature aging of shared data blocks resident in the buffer cache.
- physical writes
- Total number of data blocks written to disk. This statistics value equals the sum of "physical writes direct" and "physical writes from cache" values.
-
- physical writes direct
- Number of writes directly to disk, bypassing the buffer cache (as in a direct load operation)
-
- physical writes from cache
- Total number of data blocks written to disk from the buffer cache. This is a subset of "physical writes" statistic
复制代码 |
|