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_logicalslot
 
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 323 of file pgstat.h.

Field Documentation

◆ active_time

PgStat_Counter PgStat_StatDBEntry::active_time

Definition at line 350 of file pgstat.h.

Referenced by pgstat_update_dbstats().

◆ blk_read_time

PgStat_Counter PgStat_StatDBEntry::blk_read_time

Definition at line 346 of file pgstat.h.

Referenced by pgstat_update_dbstats().

◆ blk_write_time

PgStat_Counter PgStat_StatDBEntry::blk_write_time

Definition at line 347 of file pgstat.h.

Referenced by pgstat_update_dbstats().

◆ blocks_fetched

PgStat_Counter PgStat_StatDBEntry::blocks_fetched

Definition at line 327 of file pgstat.h.

Referenced by pgstat_relation_flush_cb().

◆ blocks_hit

PgStat_Counter PgStat_StatDBEntry::blocks_hit

Definition at line 328 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 339 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 336 of file pgstat.h.

Referenced by pg_stat_get_db_conflict_all(), and pgstat_report_recovery_conflict().

◆ conflict_logicalslot

PgStat_Counter PgStat_StatDBEntry::conflict_logicalslot

Definition at line 338 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 337 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 340 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 335 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 343 of file pgstat.h.

Referenced by pgstat_report_deadlock().

◆ idle_in_transaction_time

PgStat_Counter PgStat_StatDBEntry::idle_in_transaction_time

Definition at line 351 of file pgstat.h.

Referenced by pgstat_update_dbstats().

◆ last_autovac_time

TimestampTz PgStat_StatDBEntry::last_autovac_time

Definition at line 334 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 349 of file pgstat.h.

Referenced by pgstat_update_dbstats().

◆ sessions

PgStat_Counter PgStat_StatDBEntry::sessions

Definition at line 348 of file pgstat.h.

Referenced by pgstat_report_connect().

◆ sessions_abandoned

PgStat_Counter PgStat_StatDBEntry::sessions_abandoned

Definition at line 352 of file pgstat.h.

Referenced by pgstat_report_disconnect().

◆ sessions_fatal

PgStat_Counter PgStat_StatDBEntry::sessions_fatal

Definition at line 353 of file pgstat.h.

Referenced by pgstat_report_disconnect().

◆ sessions_killed

PgStat_Counter PgStat_StatDBEntry::sessions_killed

Definition at line 354 of file pgstat.h.

Referenced by pgstat_report_disconnect().

◆ stat_reset_timestamp

TimestampTz PgStat_StatDBEntry::stat_reset_timestamp

Definition at line 356 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 342 of file pgstat.h.

Referenced by pgstat_report_tempfile().

◆ temp_files

PgStat_Counter PgStat_StatDBEntry::temp_files

Definition at line 341 of file pgstat.h.

Referenced by pgstat_report_tempfile().

◆ tuples_deleted

PgStat_Counter PgStat_StatDBEntry::tuples_deleted

Definition at line 333 of file pgstat.h.

Referenced by pgstat_relation_flush_cb().

◆ tuples_fetched

PgStat_Counter PgStat_StatDBEntry::tuples_fetched

Definition at line 330 of file pgstat.h.

Referenced by pgstat_relation_flush_cb().

◆ tuples_inserted

PgStat_Counter PgStat_StatDBEntry::tuples_inserted

Definition at line 331 of file pgstat.h.

Referenced by pgstat_relation_flush_cb().

◆ tuples_returned

PgStat_Counter PgStat_StatDBEntry::tuples_returned

Definition at line 329 of file pgstat.h.

Referenced by pgstat_relation_flush_cb().

◆ tuples_updated

PgStat_Counter PgStat_StatDBEntry::tuples_updated

Definition at line 332 of file pgstat.h.

Referenced by pgstat_relation_flush_cb().

◆ xact_commit

PgStat_Counter PgStat_StatDBEntry::xact_commit

Definition at line 325 of file pgstat.h.

Referenced by pgstat_update_dbstats().

◆ xact_rollback

PgStat_Counter PgStat_StatDBEntry::xact_rollback

Definition at line 326 of file pgstat.h.

Referenced by pgstat_update_dbstats().


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