↑↓ select↵ open⌫ change scopeOpen full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Wiki / Statistics & Metrics

pg_stat_replication_slots.spill_bytes

Amount of decoded transaction data spilled to disk while performing decoding of changes from WAL for this slot. This and other spill counters can be used to gauge the I/O which occurred during logical decoding and allow tuning logical_decoding_work_mem.

Reading PG 18·Select a recorded version

View
pg_stat_replication_slots
Field
spill_bytes
SQL type
bigint
Units named in the field definition
Not specified
Reset observation
Time at which these statistics were last reset
documented
true
field
spill_bytes
manual path
/docs/18/monitoring-stats.html
signature
SELECT spill_bytes FROM pg_catalog.pg_stat_replication_slots;
source only
false
sql type
bigint
units mentioned
Unknown
view
pg_stat_replication_slots

Definition PG 18

Amount of decoded transaction data spilled to disk while performing decoding of changes from WAL for this slot. This and other spill counters can be used to gauge the I/O which occurred during logical decoding and allow tuning logical_decoding_work_mem.

Compare versions

Source references

Full definition and evidence JSON

Definition sources

center · PostgreSQL 18 · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f

Text language: en · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f