|
|
最初由 fable_cao 发布
[B]db block gets 是从buffer cache读取的buffer次数。
consistent gets 是从buffer cache读取buffer的old image的次数,就是说该buffer是从回滚段中读取的,因为在buffer cache中保留着block的几个版本。
两者加起来就是buffer gets [/B]
Consistent gets are not necessarily reads of old images. If there's no old image, it reads the current image.
The question biti_rainy and I still have open is whether the number of buffer gets is the number of times of buffer reading, or the number of buffers that are read by the process.
I'm afraid the answer is that they're both but I'm not positive. I say it's both simply because I've never heard of scattered read of multiple buffers as in the case of filesystem scatter-gather read (what readv(2) does). In other words, each read of buffers reads only one buffer, all the time, no exception, unlike db file multiblock read.
Yong Huang |
|