Document pg_stat_replication, bump catversion since that was overlooked.
Itagaki Takahiro, edited by me.
This commit is contained in:
parent
a9f72b4083
commit
9b4271deb9
@ -865,6 +865,16 @@ primary_conninfo = 'host=192.168.1.50 port=5432 user=foo password=foopass'
|
|||||||
process status of the WAL receiver process, displayed using the
|
process status of the WAL receiver process, displayed using the
|
||||||
<command>ps</> command (see <xref linkend="monitoring-ps"> for details).
|
<command>ps</> command (see <xref linkend="monitoring-ps"> for details).
|
||||||
</para>
|
</para>
|
||||||
|
<para>
|
||||||
|
You can retrieve a list of WAL sender processes via the
|
||||||
|
<link linkend="monitoring-stats-views-table">
|
||||||
|
<literal>pg_stat_replication</></link> view. Large differences between
|
||||||
|
<function>pg_current_xlog_location</> and <literal>sent_location</> field
|
||||||
|
might indicate that the master server is under heavy load, while
|
||||||
|
differences between <literal>sent_location</> and
|
||||||
|
<function>pg_last_xlog_receive_location</> on the standby might indicate
|
||||||
|
network delay, or that the the standby is under heavy load.
|
||||||
|
</para>
|
||||||
</sect3>
|
</sect3>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
@ -294,6 +294,15 @@ postgres: <replaceable>user</> <replaceable>database</> <replaceable>host</> <re
|
|||||||
</entry>
|
</entry>
|
||||||
</row>
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<entry><structname>pg_stat_replication</><indexterm><primary>pg_stat_replication</primary></indexterm></entry>
|
||||||
|
<entry>One row per WAL sender process, showing process <acronym>ID</>,
|
||||||
|
user OID, user name, application name, client's address and port number,
|
||||||
|
time at which the server process began execution, and transaction log
|
||||||
|
location.
|
||||||
|
</entry>
|
||||||
|
</row>
|
||||||
|
|
||||||
<row>
|
<row>
|
||||||
<entry><structname>pg_stat_all_tables</><indexterm><primary>pg_stat_all_tables</primary></indexterm></entry>
|
<entry><structname>pg_stat_all_tables</><indexterm><primary>pg_stat_all_tables</primary></indexterm></entry>
|
||||||
<entry>For each table in the current database (including TOAST tables),
|
<entry>For each table in the current database (including TOAST tables),
|
||||||
|
@ -53,6 +53,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/* yyyymmddN */
|
/* yyyymmddN */
|
||||||
#define CATALOG_VERSION_NO 201101051
|
#define CATALOG_VERSION_NO 201101071
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user