↑↓ 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.

Reading PG 18current·documented in 7 of 24 versions, 14 to 20

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

Columns 5

As listed in the PostgreSQL 18 manual.

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. 18 → 19 changed
  2. 17 → 18 changed
  3. 16 → 17 reworded
  4. 13 → 14 added

Definition snapshot: english-manuals:9e12acc0a30ab462ba2ca1ac326… · English manual source