{{template "header.tpl" .}} {{template "server/navbar.tpl" .}} {{template "server/sidebar.tpl" .}}

{{if (eq .Table.RelKind "m")}}Materialized View{{else}}Table{{end}} {{.Table.SchemaName}}.{{.Table.Name}}

{{if (eq .Table.RelPersistence "u")}} {{else if (eq .Table.RelPersistence "t")}} {{end}} {{if .Table.ParentName}} {{end}} {{if .Table.PartitionCV}} {{end}} {{if .Table.TablespaceName}} {{end}} {{if .Table.AgeRelFrozenXid}} {{end}} {{if (ne .Size "0")}} {{end}} {{if .Bloat}} {{end}} {{if .Table.LastSeqScan}} {{end}} {{if .Table.LastIdxScan}} {{end}}
Persistence unlogged
Persistence temporary
Parent Table {{.Table.ParentName}}
Partition Constraint Value {{.Table.PartitionCV}}
Tablespace {{.Table.TablespaceName}}
Frozen Transaction ID Age {{.Table.AgeRelFrozenXid}}
Auto Vacuums {{if .Table.AutovacuumCount}} {{.Table.AutovacuumCount}}, last at {{else}} never {{end}}
Manual Vacuums {{if .Table.VacuumCount}} {{.Table.VacuumCount}}, last at {{else}} never {{end}}
Auto Analyze {{if .Table.AutoanalyzeCount}} {{.Table.AutoanalyzeCount}}, last at {{else}} never {{end}}
Manual Analyze {{if .Table.AnalyzeCount}} {{.Table.AnalyzeCount}}, last at {{else}} never {{end}}
Rows Modified Since Last Analyze (est.)
{{.Table.NModSinceAnalyze}}
{{progbar .RowsModPCT (printf "%s%% modified" .RowsModPCT) "resource"}}
Total Rows (est.)
{{.Table.NLiveTup}} live, {{.Table.NDeadTup}} dead
{{progbar .LivePCT (printf "%s%% live" .LivePCT) "efficiency"}}
Rows Changes {{.InsPCT}}% inserts, {{.UpdPCT}}% updates, {{.DelPCT}}% deletes
HOT Updates
{{.HotPCT}}% of updates
{{progbar .HotPCT (printf "%s%% HOT" .HotPCT) "efficiency"}}
Sequential Scans {{.Table.SeqScan}} @ {{.RPSSeq}} rows per scan
Index Scans {{.Table.IdxScan}} @ {{.RPSIdx}} rows per scan
Overall Cache Hits
{{.OCHPCT}}%
{{progbar .OCHPCT (printf "%s%% hits" .OCHPCT) "efficiency"}}
Index Cache Hits
{{.ICHPCT}}%
{{progbar .ICHPCT (printf "%s%% hits" .ICHPCT) "efficiency"}}
Size {{.Size}}
Bloat
{{.Bloat}} ({{.BloatPCT}}%)
{{progbar .BloatPCT (printf "%s%% bloat" .BloatPCT) "resource"}}
Last Sequential Scan
Last Index Scan

Privileges

{{if not .HasACLs}} {{else if not .ACL}}
No explicit privileges are set for this {{if (eq .Table.RelKind "m")}}materialized view{{else}}table{{end}}.
{{else}}
{{range .ACL}} {{end}}
Role Privileges Granted By
{{.Role}} {{commaJoin .Privs}} {{.Grantor}}
(g) = with GRANT option
{{end}}
{{range .Indexes}}
{{if .IndexType}} {{end}} {{if .Definition}} {{end}} {{if .Tablespace}} {{end}} {{if (ne .Size "0")}} {{end}} {{if .Bloat}} {{end}} {{if .LastIdxScan}} {{end}}
Index {{$.Table.SchemaName}}.{{.Name}}
Table {{$.Table.Name}}
Index Type {{.IndexType}}
Index Definition
{{.Definition}}
Tablespace {{.Tablespace}}
Cache Hits
{{.CacheHitPCT}}%
{{progbar .CacheHitPCT (printf "%s%% hits" .CacheHitPCT) "efficiency"}}
Scans {{.Scans}}
Rows Read per Scan {{.RowsReadPerScan}}
Rows Fetched per Scan {{.RowsFetchedPerScan}}
Size {{.Size}}
Bloat
{{.Bloat}} ({{.BloatPCT}}%)
{{progbar .BloatPCT (printf "%s%% bloat" .BloatPCT) "resource"}}
Last Index Scan
{{end}}
{{template "server/delete-modal.tpl" .}} {{template "server/sharing-modal.tpl" .}} {{template "footer-pre.tpl" .}} {{template "server/common-vars.tpl" .}} {{template "footer-post.tpl" .}}