diff --git a/doc/src/sgml/monitoring.sgml b/doc/src/sgml/monitoring.sgml index 194b63dddb..cbc64c250d 100644 --- a/doc/src/sgml/monitoring.sgml +++ b/doc/src/sgml/monitoring.sgml @@ -3147,8 +3147,11 @@ SELECT pid, wait_event_type, wait_event FROM pg_stat_activity WHERE wait_event i pg_stat_get_xact_blocks_fetched(oid)pg_stat_get_xact_blocks_fetched bigint - Returns the number of buffers fetched for table or index, in the current - transaction. + Returns the number of block read requests for table or index, in the + current transaction. This number minus + pg_stat_get_xact_blocks_hit gives the number of + kernel read() calls; the number of actual + physical reads is usually lower due to kernel-level buffering. @@ -3156,8 +3159,9 @@ SELECT pid, wait_event_type, wait_event FROM pg_stat_activity WHERE wait_event i pg_stat_get_xact_blocks_hit(oid)pg_stat_get_xact_blocks_hit bigint - Returns the number of buffer hits for table or index, in the current - transaction. + Returns the number of block read requests for table or index, in the + current transaction, found in cache (not triggering kernel + read() calls).