1
- <!-- $PostgreSQL: pgsql/doc/src/sgml/monitoring.sgml,v 1.54 2007/09/25 20:03:37 tgl Exp $ -->
1
+ <!-- $PostgreSQL: pgsql/doc/src/sgml/monitoring.sgml,v 1.55 2007/11/28 15:42:31 petere Exp $ -->
2
2
3
3
<chapter id="monitoring">
4
4
<title>Monitoring Database Activity</title>
@@ -236,7 +236,7 @@ postgres: <replaceable>user</> <replaceable>database</> <replaceable>host</> <re
236
236
<entry>One row only, showing cluster-wide statistics from the
237
237
background writer: number of scheduled checkpoints, requested
238
238
checkpoints, buffers written by checkpoints and cleaning scans,
239
- and the number of times thebgwriter stopped a cleaning scan
239
+ and the number of times thebackground writer stopped a cleaning scan
240
240
because it had written too many buffers. Also includes
241
241
statistics about the shared buffer pool, including buffers written
242
242
by backends (that is, not by the background writer) and total buffers
@@ -777,7 +777,7 @@ postgres: <replaceable>user</> <replaceable>database</> <replaceable>host</> <re
777
777
<entry><literal><function>pg_stat_get_bgwriter_timed_checkpoints</function>()</literal></entry>
778
778
<entry><type>bigint</type></entry>
779
779
<entry>
780
- The number of times thebgwriter has started timed checkpoints
780
+ The number of times thebackground writer has started timed checkpoints
781
781
(because the <varname>checkpoint_timeout</varname> time has expired)
782
782
</entry>
783
783
</row>
@@ -786,7 +786,7 @@ postgres: <replaceable>user</> <replaceable>database</> <replaceable>host</> <re
786
786
<entry><literal><function>pg_stat_get_bgwriter_requested_checkpoints</function>()</literal></entry>
787
787
<entry><type>bigint</type></entry>
788
788
<entry>
789
- The number of times thebgwriter has started checkpoints based
789
+ The number of times thebackground writer has started checkpoints based
790
790
on requests from backends because the <varname>checkpoint_segments</varname>
791
791
has been exceeded or because the <command>CHECKPOINT</command>
792
792
command has been issued
@@ -797,15 +797,15 @@ postgres: <replaceable>user</> <replaceable>database</> <replaceable>host</> <re
797
797
<entry><literal><function>pg_stat_get_bgwriter_buf_written_checkpoints</function>()</literal></entry>
798
798
<entry><type>bigint</type></entry>
799
799
<entry>
800
- The number of buffers written by thebgwriter during checkpoints
800
+ The number of buffers written by thebackground writer during checkpoints
801
801
</entry>
802
802
</row>
803
803
804
804
<row>
805
805
<entry><literal><function>pg_stat_get_bgwriter_buf_written_clean</function>()</literal></entry>
806
806
<entry><type>bigint</type></entry>
807
807
<entry>
808
- The number of buffers written by thebgwriter for routine cleaning of
808
+ The number of buffers written by thebackground writer for routine cleaning of
809
809
dirty pages
810
810
</entry>
811
811
</row>
@@ -814,7 +814,7 @@ postgres: <replaceable>user</> <replaceable>database</> <replaceable>host</> <re
814
814
<entry><literal><function>pg_stat_get_bgwriter_maxwritten_clean</function>()</literal></entry>
815
815
<entry><type>bigint</type></entry>
816
816
<entry>
817
- The number of times thebgwriter has stopped its cleaning scan because
817
+ The number of times thebackground writer has stopped its cleaning scan because
818
818
it has written more buffers than specified in the
819
819
<varname>bgwriter_lru_maxpages</varname> parameter
820
820
</entry>
@@ -1180,7 +1180,7 @@ provider postgresql {
1180
1180
1181
1181
<para>
1182
1182
You should take care that the data types specified for the probe arguments
1183
- match thedatatypes of the variables used in the <literal>PG_TRACE</>
1183
+ match thedata types of the variables used in the <literal>PG_TRACE</>
1184
1184
macro. This is not checked at compile time. You can check that your newly
1185
1185
added trace point is available by recompiling, then running the new binary,
1186
1186
and as root, executing a DTrace command such as: