From 51781146a8307c18f4ee74dbe8c780910f3287b9 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Fri, 10 Apr 2009 03:13:36 +0000 Subject: [PATCH] Document how *_blks_read statistics columns are computed. --- doc/src/sgml/monitoring.sgml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/src/sgml/monitoring.sgml b/doc/src/sgml/monitoring.sgml index acfccc4c99..8c4f2b7db1 100644 --- a/doc/src/sgml/monitoring.sgml +++ b/doc/src/sgml/monitoring.sgml @@ -1,4 +1,4 @@ - + Monitoring Database Activity @@ -927,8 +927,9 @@ postgres: user database host 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.