-
+
Monitoring Database Activity
pg_stat_get_blocks_fetched minus
pg_stat_get_blocks_hit gives the number of kernel
read()> calls issued for the table, index, or
- database; but the actual number of physical reads is usually
- lower due to kernel-level buffering.
+ database; the number of actual physical reads is usually
+ lower due to kernel-level buffering. The *_blks_read>
+ statistics columns uses this subtraction, i.e. fetched minus hit.