|
Re: the number of buffer gets is the number of times of buffer reading
You're showing your test again. I don't know why you think the fact that consistent gets equals buffer_gets proves that "the number of buffer gets is the number of times of buffer reading", instead of number of buffers read. Your conclusion may well be correct. But the test doesn't disprove that consistent gets or buffer_gets is the number of blocks read. If you can prove reading buffers can only be done one buffer at a time, then there's no ambiguity.
In fact, if you find the number of blocks in your table (user_tables.blocks after you analyze it), it should be close to your consistent gets. That seems to support the idea that consistent gets is at least number of blocks. Whether it's also number of accesses, I don't know.
BTW, consistent gets or buffer_gets will definitely not be number of bytes read.
Yong Huang |
|