basiradocs
Dashboard

Tables & Indexes

Monitor table health, index usage, and identify unused indexes.

The Tables and Indexes pages help you understand storage patterns, maintenance state, and index effectiveness.

Tables

The tables list shows every table in your database ranked by size, with key health indicators.

Table Metrics

MetricDescriptionWhat to watch for
Table sizeOn-disk size of the table dataUnexpected growth
Index sizeTotal size of all indexes on the tableLarger than table size may indicate over-indexing
Live tuplesNumber of live rows
Dead tuplesRows deleted or updated but not yet vacuumedHigh count means autovacuum is behind
Seq scansFull sequential scans of the tableHigh on large tables means missing indexes
Index scansScans served by indexesShould dominate over seq scans on OLTP tables
Inserts / Updates / DeletesRow modification countsUseful for understanding write patterns
Last vacuumWhen the table was last manually vacuumed
Last autovacuumWhen autovacuum last processed the tableShould be recent for write-heavy tables
Last analyzeWhen statistics were last gatheredStale stats lead to poor query plans

Sorting

Sort tables by size, dead_tuples, seq_scans, live_tuples, or index_size to surface different problems.

Table Detail

Click a table to see its timeseries — how metrics change over time. Use this to correlate table health changes with deployments or workload shifts.

Indexes

The indexes list shows every index with usage statistics.

Index Metrics

MetricDescription
Index scansTimes this index was used for a query
Tuples readRows read from the index
Tuples fetchedRows fetched from the heap after index lookup
SizeOn-disk size of the index
DefinitionThe CREATE INDEX statement
Unique / PrimaryWhether it enforces a constraint

Unused Indexes

The Unused Indexes view filters to indexes with zero scans that are not primary keys, not unique constraints, and larger than 1 MB. These are candidates for removal.

Dropping unused indexes saves disk space and speeds up writes (every INSERT/UPDATE/DELETE must maintain every index). Before dropping, verify the index isn't used by an infrequent but critical query — check over a 30-day window.

Index Detail

Click an index to see its scan count and size over time.

On this page