/tools

Vacuum and table health

Explore table maintenance and statistics from a local PostgreSQL export. No database connection or uploaded data.

Capture and interpretation

Run the read-only JSON export in your PostgreSQL client. It reads current-database relation statistics, catalog estimates, global settings, effective relation options, related TOAST rows and active vacuum progress. Catalogs, other databases and temporary schemas are outside the template’s scope. File-size collection has a cost on large catalogs.

Accepts JSON with rows or tables, a JSON relation array, or header-based CSV. Each row needs schemaname and relname. Include relkind, relpersistence, reltuples, counters, and effective_reloptions (JSON object or array) for effective formula calculations. Missing configuration and table options stay unknown; defaults are not guessed. Quote bigint values in JSON.

Version 14–17 and 18–19 use different threshold formulas. Formula exceedance is not a worker schedule. XID/MXID fractions are relative to captured configured age limits, not a clock deadline or actual wraparound boundary. Dead-row estimates are not measured bloat or reclaimable bytes. The page generates no maintenance commands.

Routine vacuuming · Vacuum settings · Table statistics · Version 17 formulas