{% extends "base.html" %} {% block title %}database{% endblock %} {% block body %}

Database usage

{{ stats.total_bytes|bytes }}
Total size
{{ "{:,}".format(stats.total_rows) }}
Total rows (est.)
{{ stats.tables|length }}
Tables

Per table

{% for t in stats.tables %} {% endfor %}
TableRows (est.)DataIndexTotalShare
{{ t.name }} {{ "{:,}".format(t.rows) }} {{ t.data_bytes|bytes }} {{ t.index_bytes|bytes }} {{ t.total_bytes|bytes }}
{{ t.pct }}%

Row counts are the storage engine's estimate for InnoDB; sizes are exact on-disk bytes.

{% endblock %}