"Vladimir Sitnikov" <sitnikov.vladimir@gmail.com> wrote:
> I've tried to use "ReadBufferCount and friends" from
> storage\buffer\buf_init.c, however it is showing zeroes for some unknown yet
> reason. Hope, there is no fundamental problem behind.
I think those vairables are hard to use and have no reliability
for your purpose.
How about adding buffer usage counters into HeapScanDesc and IndexScanDesc?
It requires only changes in ReadBufferWithStrategy and lower layer functions.
Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center