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

Field Documentation

◆ active_time

PgStat_Counter PgStat_StatDBEntry::active_time

Definition at line 384 of file pgstat.h.

Referenced by pgstat_update_dbstats().

◆ blk_read_time

PgStat_Counter PgStat_StatDBEntry::blk_read_time

Definition at line 380 of file pgstat.h.

Referenced by pgstat_update_dbstats().

◆ blk_write_time

PgStat_Counter PgStat_StatDBEntry::blk_write_time

Definition at line 381 of file pgstat.h.

Referenced by pgstat_update_dbstats().

◆ blocks_fetched

PgStat_Counter PgStat_StatDBEntry::blocks_fetched

Definition at line 361 of file pgstat.h.

Referenced by pgstat_relation_flush_cb().

◆ blocks_hit

PgStat_Counter PgStat_StatDBEntry::blocks_hit

Definition at line 362 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 373 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 370 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 372 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 371 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 374 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 369 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 377 of file pgstat.h.

Referenced by pgstat_report_deadlock().

◆ idle_in_transaction_time

PgStat_Counter PgStat_StatDBEntry::idle_in_transaction_time

Definition at line 385 of file pgstat.h.

Referenced by pgstat_update_dbstats().

◆ last_autovac_time

TimestampTz PgStat_StatDBEntry::last_autovac_time

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

Referenced by pgstat_update_dbstats().

◆ sessions

PgStat_Counter PgStat_StatDBEntry::sessions

Definition at line 382 of file pgstat.h.

Referenced by pgstat_report_connect().

◆ sessions_abandoned

PgStat_Counter PgStat_StatDBEntry::sessions_abandoned

Definition at line 386 of file pgstat.h.

Referenced by pgstat_report_disconnect().

◆ sessions_fatal

PgStat_Counter PgStat_StatDBEntry::sessions_fatal

Definition at line 387 of file pgstat.h.

Referenced by pgstat_report_disconnect().

◆ sessions_killed

PgStat_Counter PgStat_StatDBEntry::sessions_killed

Definition at line 388 of file pgstat.h.

Referenced by pgstat_report_disconnect().

◆ stat_reset_timestamp

TimestampTz PgStat_StatDBEntry::stat_reset_timestamp

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

Referenced by pgstat_report_tempfile().

◆ temp_files

PgStat_Counter PgStat_StatDBEntry::temp_files

Definition at line 375 of file pgstat.h.

Referenced by pgstat_report_tempfile().

◆ tuples_deleted

PgStat_Counter PgStat_StatDBEntry::tuples_deleted

Definition at line 367 of file pgstat.h.

Referenced by pgstat_relation_flush_cb().

◆ tuples_fetched

PgStat_Counter PgStat_StatDBEntry::tuples_fetched

Definition at line 364 of file pgstat.h.

Referenced by pgstat_relation_flush_cb().

◆ tuples_inserted

PgStat_Counter PgStat_StatDBEntry::tuples_inserted

Definition at line 365 of file pgstat.h.

Referenced by pgstat_relation_flush_cb().

◆ tuples_returned

PgStat_Counter PgStat_StatDBEntry::tuples_returned

Definition at line 363 of file pgstat.h.

Referenced by pgstat_relation_flush_cb().

◆ tuples_updated

PgStat_Counter PgStat_StatDBEntry::tuples_updated

Definition at line 366 of file pgstat.h.

Referenced by pgstat_relation_flush_cb().

◆ xact_commit

PgStat_Counter PgStat_StatDBEntry::xact_commit

Definition at line 359 of file pgstat.h.

Referenced by pgstat_update_dbstats().

◆ xact_rollback

PgStat_Counter PgStat_StatDBEntry::xact_rollback

Definition at line 360 of file pgstat.h.

Referenced by pgstat_update_dbstats().


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