PostgreSQL Source Code  git master
PgStat_StatDBEntry Struct Reference

#include <pgstat.h>

Data Fields

PgStat_Counter n_xact_commit
 
PgStat_Counter n_xact_rollback
 
PgStat_Counter n_blocks_fetched
 
PgStat_Counter n_blocks_hit
 
PgStat_Counter n_tuples_returned
 
PgStat_Counter n_tuples_fetched
 
PgStat_Counter n_tuples_inserted
 
PgStat_Counter n_tuples_updated
 
PgStat_Counter n_tuples_deleted
 
TimestampTz last_autovac_time
 
PgStat_Counter n_conflict_tablespace
 
PgStat_Counter n_conflict_lock
 
PgStat_Counter n_conflict_snapshot
 
PgStat_Counter n_conflict_bufferpin
 
PgStat_Counter n_conflict_startup_deadlock
 
PgStat_Counter n_temp_files
 
PgStat_Counter n_temp_bytes
 
PgStat_Counter n_deadlocks
 
PgStat_Counter n_checksum_failures
 
TimestampTz last_checksum_failure
 
PgStat_Counter n_block_read_time
 
PgStat_Counter n_block_write_time
 
PgStat_Counter n_sessions
 
PgStat_Counter total_session_time
 
PgStat_Counter total_active_time
 
PgStat_Counter total_idle_in_xact_time
 
PgStat_Counter n_sessions_abandoned
 
PgStat_Counter n_sessions_fatal
 
PgStat_Counter n_sessions_killed
 
TimestampTz stat_reset_timestamp
 

Detailed Description

Definition at line 279 of file pgstat.h.

Field Documentation

◆ 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

◆ n_block_read_time

PgStat_Counter PgStat_StatDBEntry::n_block_read_time

Definition at line 301 of file pgstat.h.

Referenced by pg_stat_get_db_blk_read_time(), and pgstat_update_dbstats().

◆ n_block_write_time

PgStat_Counter PgStat_StatDBEntry::n_block_write_time

Definition at line 302 of file pgstat.h.

Referenced by pg_stat_get_db_blk_write_time(), and pgstat_update_dbstats().

◆ n_blocks_fetched

PgStat_Counter PgStat_StatDBEntry::n_blocks_fetched

Definition at line 283 of file pgstat.h.

Referenced by pg_stat_get_db_blocks_fetched(), and pgstat_relation_flush_cb().

◆ n_blocks_hit

PgStat_Counter PgStat_StatDBEntry::n_blocks_hit

Definition at line 284 of file pgstat.h.

Referenced by pg_stat_get_db_blocks_hit(), and pgstat_relation_flush_cb().

◆ n_checksum_failures

PgStat_Counter PgStat_StatDBEntry::n_checksum_failures

◆ n_conflict_bufferpin

PgStat_Counter PgStat_StatDBEntry::n_conflict_bufferpin

◆ n_conflict_lock

PgStat_Counter PgStat_StatDBEntry::n_conflict_lock

◆ n_conflict_snapshot

PgStat_Counter PgStat_StatDBEntry::n_conflict_snapshot

◆ n_conflict_startup_deadlock

PgStat_Counter PgStat_StatDBEntry::n_conflict_startup_deadlock

◆ n_conflict_tablespace

PgStat_Counter PgStat_StatDBEntry::n_conflict_tablespace

◆ n_deadlocks

PgStat_Counter PgStat_StatDBEntry::n_deadlocks

Definition at line 298 of file pgstat.h.

Referenced by pg_stat_get_db_deadlocks(), and pgstat_report_deadlock().

◆ n_sessions

PgStat_Counter PgStat_StatDBEntry::n_sessions

Definition at line 303 of file pgstat.h.

Referenced by pg_stat_get_db_sessions(), and pgstat_report_connect().

◆ n_sessions_abandoned

PgStat_Counter PgStat_StatDBEntry::n_sessions_abandoned

Definition at line 307 of file pgstat.h.

Referenced by pg_stat_get_db_sessions_abandoned(), and pgstat_report_disconnect().

◆ n_sessions_fatal

PgStat_Counter PgStat_StatDBEntry::n_sessions_fatal

Definition at line 308 of file pgstat.h.

Referenced by pg_stat_get_db_sessions_fatal(), and pgstat_report_disconnect().

◆ n_sessions_killed

PgStat_Counter PgStat_StatDBEntry::n_sessions_killed

Definition at line 309 of file pgstat.h.

Referenced by pg_stat_get_db_sessions_killed(), and pgstat_report_disconnect().

◆ n_temp_bytes

PgStat_Counter PgStat_StatDBEntry::n_temp_bytes

Definition at line 297 of file pgstat.h.

Referenced by pg_stat_get_db_temp_bytes(), and pgstat_report_tempfile().

◆ n_temp_files

PgStat_Counter PgStat_StatDBEntry::n_temp_files

Definition at line 296 of file pgstat.h.

Referenced by pg_stat_get_db_temp_files(), and pgstat_report_tempfile().

◆ n_tuples_deleted

PgStat_Counter PgStat_StatDBEntry::n_tuples_deleted

Definition at line 289 of file pgstat.h.

Referenced by pg_stat_get_db_tuples_deleted(), and pgstat_relation_flush_cb().

◆ n_tuples_fetched

PgStat_Counter PgStat_StatDBEntry::n_tuples_fetched

Definition at line 286 of file pgstat.h.

Referenced by pg_stat_get_db_tuples_fetched(), and pgstat_relation_flush_cb().

◆ n_tuples_inserted

PgStat_Counter PgStat_StatDBEntry::n_tuples_inserted

Definition at line 287 of file pgstat.h.

Referenced by pg_stat_get_db_tuples_inserted(), and pgstat_relation_flush_cb().

◆ n_tuples_returned

PgStat_Counter PgStat_StatDBEntry::n_tuples_returned

Definition at line 285 of file pgstat.h.

Referenced by pg_stat_get_db_tuples_returned(), and pgstat_relation_flush_cb().

◆ n_tuples_updated

PgStat_Counter PgStat_StatDBEntry::n_tuples_updated

Definition at line 288 of file pgstat.h.

Referenced by pg_stat_get_db_tuples_updated(), and pgstat_relation_flush_cb().

◆ n_xact_commit

PgStat_Counter PgStat_StatDBEntry::n_xact_commit

Definition at line 281 of file pgstat.h.

Referenced by pg_stat_get_db_xact_commit(), and pgstat_update_dbstats().

◆ n_xact_rollback

PgStat_Counter PgStat_StatDBEntry::n_xact_rollback

Definition at line 282 of file pgstat.h.

Referenced by pg_stat_get_db_xact_rollback(), and pgstat_update_dbstats().

◆ 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().

◆ total_active_time

PgStat_Counter PgStat_StatDBEntry::total_active_time

Definition at line 305 of file pgstat.h.

Referenced by pg_stat_get_db_active_time(), and pgstat_update_dbstats().

◆ total_idle_in_xact_time

PgStat_Counter PgStat_StatDBEntry::total_idle_in_xact_time

Definition at line 306 of file pgstat.h.

Referenced by pg_stat_get_db_idle_in_transaction_time(), and pgstat_update_dbstats().

◆ total_session_time

PgStat_Counter PgStat_StatDBEntry::total_session_time

Definition at line 304 of file pgstat.h.

Referenced by pg_stat_get_db_session_time(), and pgstat_update_dbstats().


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