Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 5178114

Browse files
committed
Document how *_blks_read statistics columns are computed.
1 parent 4c9c0b8 commit 5178114

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

doc/src/sgml/monitoring.sgml

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/monitoring.sgml,v 1.67 2009/04/09 22:32:02 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/monitoring.sgml,v 1.68 2009/04/10 03:13:36 momjian Exp $ -->
22

33
<chapter id="monitoring">
44
<title>Monitoring Database Activity</title>
@@ -927,8 +927,9 @@ postgres: <replaceable>user</> <replaceable>database</> <replaceable>host</> <re
927927
<function>pg_stat_get_blocks_fetched</function> minus
928928
<function>pg_stat_get_blocks_hit</function> gives the number of kernel
929929
<function>read()</> calls issued for the table, index, or
930-
database; but the actual number of physical reads is usually
931-
lower due to kernel-level buffering.
930+
database; the number of actual physical reads is usually
931+
lower due to kernel-level buffering. The <literal>*_blks_read</>
932+
statistics columns uses this subtraction, i.e. fetched minus hit.
932933
</para>
933934
</note>
934935

0 commit comments

Comments
 (0)