PostgreSQL Source Code  git master
PgStat_StatDBEntry Struct Reference

#include <pgstat.h>

Data Fields

PgStat_Counter xact_commit
 
PgStat_Counter xact_rollback
 
PgStat_Counter blocks_fetched
 
PgStat_Counter blocks_hit
 
PgStat_Counter tuples_returned
 
PgStat_Counter tuples_fetched
 
PgStat_Counter tuples_inserted
 
PgStat_Counter tuples_updated
 
PgStat_Counter tuples_deleted
 
TimestampTz last_autovac_time
 
PgStat_Counter conflict_tablespace
 
PgStat_Counter conflict_lock
 
PgStat_Counter conflict_snapshot
 
PgStat_Counter conflict_bufferpin
 
PgStat_Counter conflict_startup_deadlock
 
PgStat_Counter temp_files
 
PgStat_Counter temp_bytes
 
PgStat_Counter deadlocks
 
PgStat_Counter checksum_failures
 
TimestampTz last_checksum_failure
 
PgStat_Counter blk_read_time
 
PgStat_Counter blk_write_time
 
PgStat_Counter sessions
 
PgStat_Counter session_time
 
PgStat_Counter active_time
 
PgStat_Counter idle_in_transaction_time
 
PgStat_Counter sessions_abandoned
 
PgStat_Counter sessions_fatal
 
PgStat_Counter sessions_killed
 
TimestampTz stat_reset_timestamp
 

Detailed Description

Definition at line 279 of file pgstat.h.

Field Documentation

◆ active_time

PgStat_Counter PgStat_StatDBEntry::active_time

Definition at line 305 of file pgstat.h.

Referenced by pgstat_update_dbstats().

◆ blk_read_time

PgStat_Counter PgStat_StatDBEntry::blk_read_time

Definition at line 301 of file pgstat.h.

Referenced by pgstat_update_dbstats().

◆ blk_write_time

PgStat_Counter PgStat_StatDBEntry::blk_write_time

Definition at line 302 of file pgstat.h.

Referenced by pgstat_update_dbstats().

◆ blocks_fetched

PgStat_Counter PgStat_StatDBEntry::blocks_fetched

Definition at line 283 of file pgstat.h.

Referenced by pgstat_relation_flush_cb().

◆ blocks_hit

PgStat_Counter PgStat_StatDBEntry::blocks_hit

Definition at line 284 of file pgstat.h.

Referenced by pgstat_relation_flush_cb().

◆ checksum_failures

PgStat_Counter PgStat_StatDBEntry::checksum_failures

◆ conflict_bufferpin

PgStat_Counter PgStat_StatDBEntry::conflict_bufferpin

Definition at line 294 of file pgstat.h.

Referenced by pg_stat_get_db_conflict_all(), and pgstat_report_recovery_conflict().

◆ conflict_lock

PgStat_Counter PgStat_StatDBEntry::conflict_lock

Definition at line 292 of file pgstat.h.

Referenced by pg_stat_get_db_conflict_all(), and pgstat_report_recovery_conflict().

◆ conflict_snapshot

PgStat_Counter PgStat_StatDBEntry::conflict_snapshot

Definition at line 293 of file pgstat.h.

Referenced by pg_stat_get_db_conflict_all(), and pgstat_report_recovery_conflict().

◆ conflict_startup_deadlock

PgStat_Counter PgStat_StatDBEntry::conflict_startup_deadlock

Definition at line 295 of file pgstat.h.

Referenced by pg_stat_get_db_conflict_all(), and pgstat_report_recovery_conflict().

◆ conflict_tablespace

PgStat_Counter PgStat_StatDBEntry::conflict_tablespace

Definition at line 291 of file pgstat.h.

Referenced by pg_stat_get_db_conflict_all(), and pgstat_report_recovery_conflict().

◆ deadlocks

PgStat_Counter PgStat_StatDBEntry::deadlocks

Definition at line 298 of file pgstat.h.

Referenced by pgstat_report_deadlock().

◆ idle_in_transaction_time

PgStat_Counter PgStat_StatDBEntry::idle_in_transaction_time

Definition at line 306 of file pgstat.h.

Referenced by pgstat_update_dbstats().

◆ last_autovac_time

TimestampTz PgStat_StatDBEntry::last_autovac_time

Definition at line 290 of file pgstat.h.

Referenced by do_start_worker(), pgstat_database_flush_cb(), and pgstat_report_autovac().

◆ last_checksum_failure

TimestampTz PgStat_StatDBEntry::last_checksum_failure

◆ session_time

PgStat_Counter PgStat_StatDBEntry::session_time

Definition at line 304 of file pgstat.h.

Referenced by pgstat_update_dbstats().

◆ sessions

PgStat_Counter PgStat_StatDBEntry::sessions

Definition at line 303 of file pgstat.h.

Referenced by pgstat_report_connect().

◆ sessions_abandoned

PgStat_Counter PgStat_StatDBEntry::sessions_abandoned

Definition at line 307 of file pgstat.h.

Referenced by pgstat_report_disconnect().

◆ sessions_fatal

PgStat_Counter PgStat_StatDBEntry::sessions_fatal

Definition at line 308 of file pgstat.h.

Referenced by pgstat_report_disconnect().

◆ sessions_killed

PgStat_Counter PgStat_StatDBEntry::sessions_killed

Definition at line 309 of file pgstat.h.

Referenced by pgstat_report_disconnect().

◆ stat_reset_timestamp

TimestampTz PgStat_StatDBEntry::stat_reset_timestamp

Definition at line 311 of file pgstat.h.

Referenced by pg_stat_get_db_stat_reset_time(), and pgstat_reset_database_timestamp().

◆ temp_bytes

PgStat_Counter PgStat_StatDBEntry::temp_bytes

Definition at line 297 of file pgstat.h.

Referenced by pgstat_report_tempfile().

◆ temp_files

PgStat_Counter PgStat_StatDBEntry::temp_files

Definition at line 296 of file pgstat.h.

Referenced by pgstat_report_tempfile().

◆ tuples_deleted

PgStat_Counter PgStat_StatDBEntry::tuples_deleted

Definition at line 289 of file pgstat.h.

Referenced by pgstat_relation_flush_cb().

◆ tuples_fetched

PgStat_Counter PgStat_StatDBEntry::tuples_fetched

Definition at line 286 of file pgstat.h.

Referenced by pgstat_relation_flush_cb().

◆ tuples_inserted

PgStat_Counter PgStat_StatDBEntry::tuples_inserted

Definition at line 287 of file pgstat.h.

Referenced by pgstat_relation_flush_cb().

◆ tuples_returned

PgStat_Counter PgStat_StatDBEntry::tuples_returned

Definition at line 285 of file pgstat.h.

Referenced by pgstat_relation_flush_cb().

◆ tuples_updated

PgStat_Counter PgStat_StatDBEntry::tuples_updated

Definition at line 288 of file pgstat.h.

Referenced by pgstat_relation_flush_cb().

◆ xact_commit

PgStat_Counter PgStat_StatDBEntry::xact_commit

Definition at line 281 of file pgstat.h.

Referenced by pgstat_update_dbstats().

◆ xact_rollback

PgStat_Counter PgStat_StatDBEntry::xact_rollback

Definition at line 282 of file pgstat.h.

Referenced by pgstat_update_dbstats().


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