Skip to main content
Version: 2.x

gp_stat_archiver

The gp_stat_archiver view provides information about the WAL archiver process for each segment in the Apache Cloudberry cluster. It includes metrics such as the number of successfully archived WAL files, the name and time of the last archived WAL file, the number of failed archival attempts, and details of the last failure. This view is useful for monitoring and diagnosing WAL archiving across the cluster.

columntypereferencesdescription
gp_segment_idintegerUnique identifier of a segment (or coordinator) instance.
archived_countbigintNumber of WAL files that have been successfully archived.
last_archived_waltextName of the WAL file most recently successfully archived.
last_archived_time timestamp with time zoneTime of the most recent successful archive operation.
failed_countbigintNumber of failed attempts for archiving WAL files.
last_failed_waltimestamp with time zoneName of the WAL file of the most recent failed archival operation.
last_failed_timebigintTime of the most recent failed archival operation.
stats_resettimestamp with time zoneTime at which these statistics were last reset.

This system view is summarized in the gp_stat_archiver_summary system view.