Skip to content

Commit 3456cf1

Browse files
committed
Update documentation to match pg_stat_activity changes.
1 parent 132c404 commit 3456cf1

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

doc/src/sgml/monitoring.sgml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/monitoring.sgml,v 1.79 2010/04/15 20:56:13 petere Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/monitoring.sgml,v 1.80 2010/04/26 19:56:55 tgl Exp $ -->
22

33
<chapter id="monitoring">
44
<title>Monitoring Database Activity</title>
@@ -50,7 +50,7 @@
5050
$ ps auxww | grep ^postgres
5151
postgres 960 0.0 1.1 6104 1480 pts/1 SN 13:17 0:00 postgres -i
5252
postgres 963 0.0 1.1 7084 1472 pts/1 SN 13:17 0:00 postgres: writer process
53-
postgres 965 0.0 1.1 6152 1512 pts/1 SN 13:17 0:00 postgres: stats collector process
53+
postgres 965 0.0 1.1 6152 1512 pts/1 SN 13:17 0:00 postgres: stats collector process
5454
postgres 998 0.0 2.3 6532 2992 pts/1 SN 13:18 0:00 postgres: tgl runbug 127.0.0.1 idle
5555
postgres 1003 0.0 2.4 6532 3128 pts/1 SN 13:19 0:00 postgres: tgl regression [local] SELECT waiting
5656
postgres 1016 0.1 2.4 6532 3080 pts/1 SN 13:19 0:00 postgres: tgl regression [local] idle in transaction
@@ -165,7 +165,7 @@ postgres: <replaceable>user</> <replaceable>database</> <replaceable>host</> <re
165165
</para>
166166

167167
<para>
168-
The statistics collector communicates with the backends needing
168+
The statistics collector communicates with the backends needing
169169
information (including autovacuum) through temporary files.
170170
These files are stored in the <filename>pg_stat_tmp</filename> subdirectory.
171171
When the postmaster shuts down, a permanent copy of the statistics
@@ -235,9 +235,9 @@ postgres: <replaceable>user</> <replaceable>database</> <replaceable>host</> <re
235235
<entry><structname>pg_stat_activity</></entry>
236236
<entry>One row per server process, showing database OID, database
237237
name, process <acronym>ID</>, user OID, user name, application name,
238-
current query, query's waiting status, time at which the current
239-
transaction and current query began execution, time at which the
240-
process was started, and client's address and port number.
238+
client's address and port number, times at which the server process,
239+
current transaction, and current query began execution, process's waiting
240+
status, and text of the current query.
241241
The columns that report data on the current query are available unless
242242
the parameter <varname>track_activities</varname> has been turned off.
243243
Furthermore, these columns are only visible if the user examining
@@ -408,7 +408,7 @@ postgres: <replaceable>user</> <replaceable>database</> <replaceable>host</> <re
408408
Beginning in <productname>PostgreSQL</productname> 8.1, indexes can be
409409
used either directly or via <quote>bitmap scans</>. In a bitmap scan
410410
the output of several indexes can be combined via AND or OR rules;
411-
so it is difficult to associate individual heap row fetches
411+
so it is difficult to associate individual heap row fetches
412412
with specific indexes when a bitmap scan is used. Therefore, a bitmap
413413
scan increments the
414414
<structname>pg_stat_all_indexes</>.<structfield>idx_tup_read</>
@@ -695,7 +695,7 @@ postgres: <replaceable>user</> <replaceable>database</> <replaceable>host</> <re
695695
<entry>
696696
Returns a record of information about the backend with the specified pid, or
697697
one record for each active backend in the system if <symbol>NULL</symbol> is
698-
specified. The fields returned are the same as in the
698+
specified. The fields returned are a subset of those in the
699699
<structname>pg_stat_activity</structname> view.
700700
</entry>
701701
</row>

0 commit comments

Comments
 (0)