pub struct RelationCounts {
pub numscans: i64,
pub lastscan: Option<i64>,
pub written: Writes,
pub live_tuples: i64,
pub dead_tuples: i64,
pub mod_since_analyze: i64,
pub ins_since_vacuum: i64,
}Expand description
The counters of a relation in the statistics of the server, the part of PgStat_StatTabEntry that rupg keeps.
Fields§
§numscans: i64numscans: the count of the sequential scans of the relation.
lastscan: Option<i64>lastscan: the end of the last transaction that scanned the relation, in microseconds since 2000-01-01 UTC, or None before the first scan.
written: Writestuples_inserted, tuples_updated and tuples_deleted: the rows that the transactions wrote, also the transactions that rolled back.
live_tuples: i64live_tuples: the rows that the committed transactions inserted and did not delete.
dead_tuples: i64dead_tuples: the old versions of the rows that the committed updates and deletes left, and the rows that the rolled back transactions inserted or updated.
mod_since_analyze: i64mod_since_analyze: the rows that the committed transactions wrote.
ins_since_vacuum: i64ins_since_vacuum: the rows that the transactions inserted.