select open change scope Open full search

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

SYSTEM CATALOGS / STATISTICS VIEWS

The pg_stat_wal view will always have a single row, containing data about WAL activity of the cluster.

Kind
Statistics views
Columns in this snapshot
5
Definition source
English manual

Columns 5

ColumnTypeDescription / reference
wal_recordsbigintTotal number of WAL records generated
wal_fpibigintTotal number of WAL full page images generated
wal_bytesnumericTotal amount of WAL generated in bytes
wal_buffers_fullbigintNumber of times WAL data was written to disk because WAL buffers became full
stats_resettimestamp with time zoneTime at which these statistics were last reset
Column history across versions
Version history 4
  1. PG 18 → 19changed
  2. PG 17 → 18changed
  3. PG 16 → 17changed
  4. PG 13 → 14added

Definition snapshot: english-manuals:d6eca639b42213f9148cdcf92a9… · English manual source