>> v7-0001: looks good to me.
>>
>> v7-0003: I'm wondering if we still want cache_bytes in pg_stat_vfdcache,
>> now where it's exposed via pg_backend_memory_contexts. It seems to me
>> that other stats functionality also doesn't expose memory info that is
>> accessible via pg_backend_memory_contexts. But I'm not completely sure
>> what's best here.
>>
> pg_backend_memory_contexts is local to current backend session, so AFAIK
> there's no other way of getting cluster-wide vfd cache memory usage.
> Therefore we need cache_bytes for this?
My bad. I hadn't realized cache_bytes is for the entire cluster.

--
David Geier


Reply via email to