{% autoescape None %} {% extends ../../../templates/base.html %} {% block title %}[{{instance.hostname}}:{{instance.pg_port}}] - Maintenance{% end %} {% block head %} {% end %} {% block content %} {% include breadcrumb.html %}

Table: {{ table }}

Total
{{! table.total_size }}
~ {{! table.row_estimate }} rows (~ {{! table.n_dead_tup }} dead)
Heap  
{{! table.table_size }}
Bloat: {{! parseInt(table.bloat_bytes / table.table_bytes * 100) }}% ({{! table.bloat_size }})
Indexes  
{{! table.index_size }}
Bloat: {{! parseInt(table.index_bloat_bytes / table.index_bytes * 100) }}% ({{! table.index_bloat_size }})
  Toast
{{! table.toast_size }}
Fill Factor
{{! table.fillfactor }}%
Last ANALYZE: {{! getLatestAnalyze().date | relative_time }} N/A (auto) (~ {{! table.n_mod_since_analyze }} rows modified since then)
{{! table.analyze_count }} analyzes - {{! table.autoanalyze_count }} auto analyzes
Last VACUUM: {{! getLatestVacuum().date | relative_time }} N/A (auto)
{{! table.vacuum_count }} vacuums - {{! table.autovacuum_count }} auto vacuums
{% include includes/analyze_modal.html %} {% include includes/scheduled_analyze.html %}
{% include includes/vacuum_modal.html %} {% include includes/scheduled_vacuum.html %}
{% include includes/reindex_modal.html %} {% include includes/scheduled_reindex.html %}

The number of modified rows since last analyze is high, you should consider lauching an ANALYZE
Out of date analyzes can result in stats not being accurate, which eventually leads to slow queries.

The number of dead tuples is high, you should consider running a VACUUM.
Dead tuples waste space and slow down queries.

Overall table bloat is high. You should consider running a Full VACUUUM.
Table bloat wastes space and slows down queries.

Overall index bloat is high. You should consider running a Full VACUUUM or REINDEX.
Index bloat wastes space and slows down queries.

Indexes ({{! table.indexes.length }})

{% include includes/reindex_modal.html %}
{{! index.name }} ({{! index.type }}) in {{! index.tablespace }} {{! index.total_size }} {{! index.scans }} scans
{{! index.def }}
{% end %}