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_checkpointer

Read PG 18 manual ↗

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

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

Columns 11

ColumnTypeDescription / reference
num_timedbigintNumber of scheduled checkpoints due to timeout
num_requestedbigintNumber of requested checkpoints
num_donebigintNumber of checkpoints that have been performed
restartpoints_timedbigintNumber of scheduled restartpoints due to timeout or after a failed attempt to perform it
restartpoints_reqbigintNumber of requested restartpoints
restartpoints_donebigintNumber of restartpoints that have been performed
write_timedouble precisionTotal amount of time that has been spent in the portion of processing checkpoints and restartpoints where files are written to disk, in milliseconds
sync_timedouble precisionTotal amount of time that has been spent in the portion of processing checkpoints and restartpoints where files are synchronized to disk, in milliseconds
buffers_writtenbigintNumber of shared buffers written during checkpoints and restartpoints
slru_writtenbigintNumber of SLRU buffers written during checkpoints and restartpoints
stats_resettimestamp with time zoneTime at which these statistics were last reset
Column history across versions
Version history 2
  1. PG 17 → 18changed
  2. PG 16 → 17added

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