PostgreSQL Source Code  git master
PgStat_Snapshot Struct Reference

#include <pgstat_internal.h>

Data Fields

PgStat_FetchConsistency mode
 
TimestampTz snapshot_timestamp
 
bool fixed_valid [PGSTAT_NUM_KINDS]
 
PgStat_ArchiverStats archiver
 
PgStat_BgWriterStats bgwriter
 
PgStat_CheckpointerStats checkpointer
 
PgStat_IO io
 
PgStat_SLRUStats slru [SLRU_NUM_ELEMENTS]
 
PgStat_WalStats wal
 
MemoryContext context
 
struct pgstat_snapshot_hash * stats
 

Detailed Description

Definition at line 442 of file pgstat_internal.h.

Field Documentation

◆ archiver

PgStat_ArchiverStats PgStat_Snapshot::archiver

◆ bgwriter

PgStat_BgWriterStats PgStat_Snapshot::bgwriter

◆ checkpointer

◆ context

MemoryContext PgStat_Snapshot::context

◆ fixed_valid

bool PgStat_Snapshot::fixed_valid[PGSTAT_NUM_KINDS]

◆ io

PgStat_IO PgStat_Snapshot::io

◆ mode

◆ slru

◆ snapshot_timestamp

TimestampTz PgStat_Snapshot::snapshot_timestamp

Definition at line 447 of file pgstat_internal.h.

Referenced by pgstat_build_snapshot(), and pgstat_get_stat_snapshot_timestamp().

◆ stats

struct pgstat_snapshot_hash* PgStat_Snapshot::stats

◆ wal

PgStat_WalStats PgStat_Snapshot::wal

The documentation for this struct was generated from the following file: