pg_stat_replication_slots.total_txns
Number of decoded transactions sent to the decoding output plugin for this slot. This counts top-level transactions only, and is not incremented for subtransactions. Note that this includes the transactions that are streamed and/or spilled.
Reading PG 18·Select a recorded version
- View
- pg_stat_replication_slots
- Field
- total_txns
- SQL type
- bigint
- Units named in the field definition
- transactions
- Reset observation
- Time at which these statistics were last reset
- documented
- true
- field
- total_txns
- manual path
- /docs/18/monitoring-stats.html
- signature
- SELECT total_txns FROM pg_catalog.pg_stat_replication_slots;
- source only
- false
- sql type
- bigint
- units mentioned
- transactions
- view
- pg_stat_replication_slots
Definition PG 18
Number of decoded transactions sent to the decoding output plugin for this slot. This counts top-level transactions only, and is not incremented for subtransactions. Note that this includes the transactions that are streamed and/or spilled.
Compare versions
Source references
Full definition and evidence JSON
Definition sources
center · PostgreSQL 18 · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f
Text language: en · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f