Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Activity ¶
type Indexes ¶
type Progress ¶
type Statements ¶
type Statements []struct { Total float64 `db:"total"` MeanTime float64 `db:"mean_time"` MinTime float64 `db:"min_time"` MaxTime float64 `db:"max_time"` StdDevTime float64 `db:"stddev_time"` Calls int `db:"calls"` HitPercent float64 `db:"hit_percent"` QueryID int64 `db:"queryid"` Query string `db:"query"` }
type TableStat ¶
type Tables ¶
type Tables []struct { Table string `db:"relname"` SeqScan int64 `db:"seq_scan"` IdxScan int64 `db:"idx_scan"` SeqRead int64 `db:"seq_tup_read"` IdxRead int64 `db:"idx_tup_fetch"` LastVacuum time.Time `db:"last_vacuum"` LastAutoVacuum time.Time `db:"last_autovacuum"` LastAnalyze time.Time `db:"last_analyze"` LastAutoAnalyze time.Time `db:"last_autoanalyze"` VacuumCount int `db:"vacuum_count"` AnalyzeCount int `db:"analyze_count"` LiveTup int64 `db:"n_live_tup"` DeadTup int64 `db:"n_dead_tup"` ModSinceAnalyze int64 `db:"n_mod_since_analyze"` TableSize int `db:"table_size"` IndexesSize int `db:"indexes_size"` }
Click to show internal directories.
Click to hide internal directories.