mirror of
https://github.com/postgres/postgres.git
synced 2025-06-16 06:01:02 +03:00
Update documentation to match pg_stat_activity changes.
This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/monitoring.sgml,v 1.79 2010/04/15 20:56:13 petere Exp $ -->
|
<!-- $PostgreSQL: pgsql/doc/src/sgml/monitoring.sgml,v 1.80 2010/04/26 19:56:55 tgl Exp $ -->
|
||||||
|
|
||||||
<chapter id="monitoring">
|
<chapter id="monitoring">
|
||||||
<title>Monitoring Database Activity</title>
|
<title>Monitoring Database Activity</title>
|
||||||
@ -235,9 +235,9 @@ postgres: <replaceable>user</> <replaceable>database</> <replaceable>host</> <re
|
|||||||
<entry><structname>pg_stat_activity</></entry>
|
<entry><structname>pg_stat_activity</></entry>
|
||||||
<entry>One row per server process, showing database OID, database
|
<entry>One row per server process, showing database OID, database
|
||||||
name, process <acronym>ID</>, user OID, user name, application name,
|
name, process <acronym>ID</>, user OID, user name, application name,
|
||||||
current query, query's waiting status, time at which the current
|
client's address and port number, times at which the server process,
|
||||||
transaction and current query began execution, time at which the
|
current transaction, and current query began execution, process's waiting
|
||||||
process was started, and client's address and port number.
|
status, and text of the current query.
|
||||||
The columns that report data on the current query are available unless
|
The columns that report data on the current query are available unless
|
||||||
the parameter <varname>track_activities</varname> has been turned off.
|
the parameter <varname>track_activities</varname> has been turned off.
|
||||||
Furthermore, these columns are only visible if the user examining
|
Furthermore, these columns are only visible if the user examining
|
||||||
@ -695,7 +695,7 @@ postgres: <replaceable>user</> <replaceable>database</> <replaceable>host</> <re
|
|||||||
<entry>
|
<entry>
|
||||||
Returns a record of information about the backend with the specified pid, or
|
Returns a record of information about the backend with the specified pid, or
|
||||||
one record for each active backend in the system if <symbol>NULL</symbol> is
|
one record for each active backend in the system if <symbol>NULL</symbol> is
|
||||||
specified. The fields returned are the same as in the
|
specified. The fields returned are a subset of those in the
|
||||||
<structname>pg_stat_activity</structname> view.
|
<structname>pg_stat_activity</structname> view.
|
||||||
</entry>
|
</entry>
|
||||||
</row>
|
</row>
|
||||||
|
Reference in New Issue
Block a user