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_KIND_BUILTIN_SIZE]
 
PgStat_ArchiverStats archiver
 
PgStat_BgWriterStats bgwriter
 
PgStat_CheckpointerStats checkpointer
 
PgStat_IO io
 
PgStat_SLRUStats slru [SLRU_NUM_ELEMENTS]
 
PgStat_WalStats wal
 
bool custom_valid [PGSTAT_KIND_CUSTOM_SIZE]
 
void * custom_data [PGSTAT_KIND_CUSTOM_SIZE]
 
MemoryContext context
 
struct pgstat_snapshot_hash * stats
 

Detailed Description

Definition at line 517 of file pgstat_internal.h.

Field Documentation

◆ archiver

PgStat_ArchiverStats PgStat_Snapshot::archiver

Definition at line 526 of file pgstat_internal.h.

Referenced by pgstat_archiver_snapshot_cb(), and pgstat_fetch_stat_archiver().

◆ bgwriter

PgStat_BgWriterStats PgStat_Snapshot::bgwriter

Definition at line 528 of file pgstat_internal.h.

Referenced by pgstat_bgwriter_snapshot_cb(), and pgstat_fetch_stat_bgwriter().

◆ checkpointer

PgStat_CheckpointerStats PgStat_Snapshot::checkpointer

◆ context

MemoryContext PgStat_Snapshot::context

◆ custom_data

void* PgStat_Snapshot::custom_data[PGSTAT_KIND_CUSTOM_SIZE]

◆ custom_valid

bool PgStat_Snapshot::custom_valid[PGSTAT_KIND_CUSTOM_SIZE]

◆ fixed_valid

bool PgStat_Snapshot::fixed_valid[PGSTAT_KIND_BUILTIN_SIZE]

◆ io

PgStat_IO PgStat_Snapshot::io

Definition at line 532 of file pgstat_internal.h.

Referenced by pgstat_fetch_stat_io(), and pgstat_io_snapshot_cb().

◆ mode

◆ slru

PgStat_SLRUStats PgStat_Snapshot::slru[SLRU_NUM_ELEMENTS]

Definition at line 534 of file pgstat_internal.h.

Referenced by pgstat_fetch_slru(), and pgstat_slru_snapshot_cb().

◆ snapshot_timestamp

TimestampTz PgStat_Snapshot::snapshot_timestamp

Definition at line 522 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

Definition at line 536 of file pgstat_internal.h.

Referenced by pgstat_fetch_stat_wal(), and pgstat_wal_snapshot_cb().


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