バージョンごとのドキュメント一覧

31.8. 監視 #

<title>Monitoring</title>

Because logical replication is based on a similar architecture as <link linkend="streaming-replication">physical streaming replication</link>, the monitoring on a publication node is similar to monitoring of a physical replication primary (see <xref linkend="streaming-replication-monitoring"/>). 論理レプリケーションは物理ストリーミングレプリケーションと類似のアーキテクチャに基づいているので、パブリケーションノードの監視は、物理レプリケーションのプライマリ(27.2.5.2参照)の監視と似ています。

The monitoring information about subscription is visible in <link linkend="monitoring-pg-stat-subscription"> <structname>pg_stat_subscription</structname></link>. This view contains one row for every subscription worker. A subscription can have zero or more active subscription workers depending on its state. サブスクリプションに関する監視情報はpg_stat_subscriptionで見ることができます。 このビューは、個々のサブスクリプションワーカー毎に1つの行を含んでいます。 サブスクリプションは状態により、0以上のアクティブなサブスクリプションワーカーを持つことができます。

Normally, there is a single apply process running for an enabled subscription. A disabled subscription or a crashed subscription will have zero rows in this view. If the initial data synchronization of any table is in progress, there will be additional workers for the tables being synchronized. Moreover, if the <link linkend="sql-createsubscription-with-streaming"><literal>streaming</literal></link> transaction is applied in parallel, there may be additional parallel apply workers. 《マッチ度[57.201646]》有効なサブスクリプションのために通常は一つの適用プロセスが実行中です。 無効なサブスクリプション、あるいはクラッシュしたサブスクリプションはこのビュー中に0個の行を持ちます。 テーブルの初期データの同期が進行中なら、同期中のテーブルのための追加ワーカーが存在するでしょう。 《機械翻訳》通常、適用されたサブスクリプションに対しては1つの適用プロセスが実行されます。 無効なサブスクリプションまたはクラッシュしたサブスクリプションは、このビューに0行を持ちます。 表の初期データ同期が進行中である場合、同期される表に追加のワーカーが存在します。 さらに、streamingトランザクションが並列に適用される場合、追加のパラレル適用ワーカーが存在する可能性があります。