{% extends "admin/base_site.html" %} {% load humanize %} {% block content %} {% if skipped_dbs %}
Skipped databases (not PostgreSQL):
{% for alias, vendor in skipped_dbs.items %}
{{ alias }} ({{ vendor }}){% if not forloop.last %}, {% endif %}
{% endfor %}
= potentially stale? table
{% for db_name, infos in table_infos.items %}| Table Name | Engine | Rows ? | Data Length ? | Index Length ? | Total Size Share ? | Live Tuples ? | Dead Tuples ? | Dead Tuples Share? | Last ANALYZE ? | Last AUTOANALYZE ? | Last VACUUM ? | Last AUTOVACUUM ? | Comment ? |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ info.name }} | {{ info.engine }} | {{ info.rows|intcomma }} | {{ info.data_length|intcomma }} | {{ info.index_length|intcomma }} | {% if info.total_size_share %}{{ info.total_size_share|floatformat:1 }} %{% endif %} | {{ info.live_tuples|intcomma }} | {{ info.dead_tuples|intcomma }} | {{ info.dead_tuples_pct|floatformat:1 }} % | {{ info.last_analyze|default_if_none:"" }} | {{ info.last_autoanalyze|default_if_none:"" }} | {{ info.last_vacuum|default_if_none:"" }} | {{ info.last_autovacuum|default_if_none:"" }} | {{ info.comment|default_if_none:"" }} |