@@ -317,7 +317,7 @@ postgres 27093 0.0 0.0 30096 2752 ? Ss 11:34 0:00 postgres: ser
317
317
<row>
318
318
<entry><structname>pg_stat_replication_slots</structname><indexterm><primary>pg_stat_replication_slots</primary></indexterm></entry>
319
319
<entry>One row per replication slot, showing statistics about
320
- replication slot usage.
320
+ the replication slot's usage.
321
321
See <link linkend="monitoring-pg-stat-replication-slots-view">
322
322
<structname>pg_stat_replication_slots</structname></link> for details.
323
323
</entry>
@@ -2604,10 +2604,10 @@ SELECT pid, wait_event_type, wait_event FROM pg_stat_activity WHERE wait_event i
2604
2604
<structfield>spill_txns</structfield> <type>bigint</type>
2605
2605
</para>
2606
2606
<para>
2607
- Number of transactions spilled to disk after the memory used by
2608
- logical decoding of changes from WAL for this slot exceeds
2607
+ Number of transactions spilled to disk once the memory used by
2608
+ logical decoding to decode changes from WAL has exceeded
2609
2609
<literal>logical_decoding_work_mem</literal>. The counter gets
2610
- incremented both for toplevel transactions and subtransactions.
2610
+ incremented for both toplevel transactions and subtransactions.
2611
2611
</para></entry>
2612
2612
</row>
2613
2613
@@ -2616,9 +2616,10 @@ SELECT pid, wait_event_type, wait_event FROM pg_stat_activity WHERE wait_event i
2616
2616
<structfield>spill_count</structfield> <type>bigint</type>
2617
2617
</para>
2618
2618
<para>
2619
- Number of times transactions were spilled to disk while decoding changes
2620
- from WAL for this slot. Transactions may get spilled repeatedly, and
2621
- this counter gets incremented on every such invocation.
2619
+ Number of times transactions were spilled to disk while decoding
2620
+ changes from WAL for this slot. This counter is incremented each time
2621
+ a transaction is spilled, and the same transaction may be spilled
2622
+ multiple times.
2622
2623
</para></entry>
2623
2624
</row>
2624
2625
@@ -2639,11 +2640,12 @@ SELECT pid, wait_event_type, wait_event FROM pg_stat_activity WHERE wait_event i
2639
2640
<structfield>stream_txns</structfield> <type>bigint</type>
2640
2641
</para>
2641
2642
<para>
2642
- Number of in-progress transactions streamed to the decoding output plugin
2643
- after the memory used by logical decoding of changes from WAL for this
2644
- slot exceeds <literal>logical_decoding_work_mem</literal>. Streaming only
2643
+ Number of in-progress transactions streamed to the decoding output
2644
+ plugin after the memory used by logical decoding to decode changes
2645
+ from WAL for this slot has exceeded
2646
+ <literal>logical_decoding_work_mem</literal>. Streaming only
2645
2647
works with toplevel transactions (subtransactions can't be streamed
2646
- independently), so the counter does not get incremented for subtransactions.
2648
+ independently), so the counter is not incremented for subtransactions.
2647
2649
</para></entry>
2648
2650
</row>
2649
2651
@@ -2653,9 +2655,9 @@ SELECT pid, wait_event_type, wait_event FROM pg_stat_activity WHERE wait_event i
2653
2655
</para>
2654
2656
<para>
2655
2657
Number of times in-progress transactions were streamed to the decoding
2656
- output plugin while decoding changes from WAL for this slot. Transactions
2657
- may get streamed repeatedly, and this counter gets incremented on every
2658
- such invocation .
2658
+ output plugin while decoding changes from WAL for this slot. This
2659
+ counter is incremented each time a transaction is streamed, and the
2660
+ same transaction may be streamed multiple times .
2659
2661
</para></entry>
2660
2662
</row>
2661
2663
@@ -5042,19 +5044,17 @@ SELECT pid, wait_event_type, wait_event FROM pg_stat_activity WHERE wait_event i
5042
5044
</row>
5043
5045
5044
5046
<row>
5045
- <entry role="func_table_entry"><para role="func_signature">
5047
+ <entry role="func_table_entry"><para role="func_signature">
5046
5048
<indexterm>
5047
5049
<primary>pg_stat_reset_replication_slot</primary>
5048
5050
</indexterm>
5049
5051
<function>pg_stat_reset_replication_slot</function> ( <type>text</type> )
5050
5052
<returnvalue>void</returnvalue>
5051
5053
</para>
5052
5054
<para>
5053
- Resets statistics to zero for a single replication slot, or for all
5054
- replication slots in the cluster. The argument can be either the name
5055
- of the slot to reset the stats or NULL. If the argument is NULL, all
5056
- counters shown in the <structname>pg_stat_replication_slots</structname>
5057
- view for all replication slots are reset.
5055
+ Resets statistics of the replication slot defined by the argument. If
5056
+ the argument is <literal>NULL</literal>, resets statistics for all
5057
+ the replication slots.
5058
5058
</para>
5059
5059
<para>
5060
5060
This function is restricted to superusers by default, but other users
0 commit comments