select open change scope Open full search

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

SYSTEM CATALOGS / STATISTICS VIEWS

pg_stat_archiver

Read PG 18 manual ↗

The pg_stat_archiver view will always have a single row, containing data about the archiver process of the cluster.

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

Columns 7

ColumnTypeDescription / reference
archived_countbigintNumber of WAL files that have been successfully archived
last_archived_waltextName of the WAL file most recently successfully archived
last_archived_timetimestamp with time zoneTime of the most recent successful archive operation
failed_countbigintNumber of failed attempts for archiving WAL files
last_failed_waltextName of the WAL file of the most recent failed archival operation
last_failed_timetimestamp with time zoneTime of the most recent failed archival operation
stats_resettimestamp with time zoneTime at which these statistics were last reset
Column history across versions
Version history 7
  1. PG 14 → 15changed
  2. PG 12 → 13changed
  3. PG 11 → 12changed
  4. PG 9.6 → 10changed
  5. PG 9.5 → 9.6changed
  6. PG 9.4 → 9.5changed
  7. PG 9.3 → 9.4added

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