gooderp18绿色标准版
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
3.4KB

  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>30.6. Monitoring</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /><link rev="made" href="pgsql-docs@lists.postgresql.org" /><meta name="generator" content="DocBook XSL Stylesheets V1.79.1" /><link rel="prev" href="logical-replication-architecture.html" title="30.5. Architecture" /><link rel="next" href="logical-replication-security.html" title="30.7. Security" /></head><body><div xmlns="http://www.w3.org/TR/xhtml1/transitional" class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="5" align="center">30.6. Monitoring</th></tr><tr><td width="10%" align="left"><a accesskey="p" href="logical-replication-architecture.html" title="30.5. Architecture">Prev</a> </td><td width="10%" align="left"><a accesskey="u" href="logical-replication.html" title="Chapter 30. Logical Replication">Up</a></td><th width="60%" align="center">Chapter 30. Logical Replication</th><td width="10%" align="right"><a accesskey="h" href="index.html" title="PostgreSQL 12.4 Documentation">Home</a></td><td width="10%" align="right"> <a accesskey="n" href="logical-replication-security.html" title="30.7. Security">Next</a></td></tr></table><hr></hr></div><div class="sect1" id="LOGICAL-REPLICATION-MONITORING"><div class="titlepage"><div><div><h2 class="title" style="clear: both">30.6. Monitoring</h2></div></div></div><p>
  3. Because logical replication is based on a similar architecture as
  4. <a class="link" href="warm-standby.html#STREAMING-REPLICATION" title="26.2.5. Streaming Replication">physical streaming replication</a>,
  5. the monitoring on a publication node is similar to monitoring of a
  6. physical replication master
  7. (see <a class="xref" href="warm-standby.html#STREAMING-REPLICATION-MONITORING" title="26.2.5.2. Monitoring">Section 26.2.5.2</a>).
  8. </p><p>
  9. The monitoring information about subscription is visible in
  10. <a class="link" href="monitoring-stats.html#PG-STAT-SUBSCRIPTION" title="Table 27.7. pg_stat_subscription View"><code class="literal">pg_stat_subscription</code></a>.
  11. This view contains one row for every subscription worker. A subscription
  12. can have zero or more active subscription workers depending on its state.
  13. </p><p>
  14. Normally, there is a single apply process running for an enabled
  15. subscription. A disabled subscription or a crashed subscription will have
  16. zero rows in this view. If the initial data synchronization of any
  17. table is in progress, there will be additional workers for the tables
  18. being synchronized.
  19. </p></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="logical-replication-architecture.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="logical-replication.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="logical-replication-security.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">30.5. Architecture </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> 30.7. Security</td></tr></table></div></body></html>
上海开阖软件有限公司 沪ICP备12045867号-1