Commit 9e0f87a4 authored by Amit Kapila's avatar Amit Kapila

Minor improvements in description of spilled counters in pg_stat_replication_slots view.

Per a suggestion by Justin Pryzby.

Discussion: https://postgr.es/m/CA+fd4k5_pPAYRTDrO2PbtTOe0eHQpBvuqmCr8ic39uTNmR49Eg@mail.gmail.com
parent 8d132b28
...@@ -2614,10 +2614,9 @@ SELECT pid, wait_event_type, wait_event FROM pg_stat_activity WHERE wait_event i ...@@ -2614,10 +2614,9 @@ SELECT pid, wait_event_type, wait_event FROM pg_stat_activity WHERE wait_event i
<structfield>spill_count</structfield> <type>bigint</type> <structfield>spill_count</structfield> <type>bigint</type>
</para> </para>
<para> <para>
Number of times transactions were spilled to disk while performing Number of times transactions were spilled to disk while decoding changes
decoding of changes from WAL for this slot. Transactions from WAL for this slot. Transactions may get spilled repeatedly, and
may get spilled repeatedly, and this counter gets incremented on every this counter gets incremented on every such invocation.
such invocation.
</para></entry> </para></entry>
</row> </row>
...@@ -2628,8 +2627,8 @@ SELECT pid, wait_event_type, wait_event FROM pg_stat_activity WHERE wait_event i ...@@ -2628,8 +2627,8 @@ SELECT pid, wait_event_type, wait_event FROM pg_stat_activity WHERE wait_event i
<para> <para>
Amount of decoded transaction data spilled to disk while performing Amount of decoded transaction data spilled to disk while performing
decoding of changes from WAL for this slot. This and other spill decoding of changes from WAL for this slot. This and other spill
counters can be used to gauge the I/O occurred during logical decoding counters can be used to gauge the I/O which occurred during logical
and accordingly can tune <literal>logical_decoding_work_mem</literal>. decoding and allow tuning <literal>logical_decoding_work_mem</literal>.
</para></entry> </para></entry>
</row> </row>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment